2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63 for sysstat 10.0.3.
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.3'
598 PACKAGE_STRING='sysstat 10.0.3'
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
728 program_transform_name
740 enable_option_checking
746 enable_compress_manpg
753 ac_precious_vars='build_alias
773 # Initialize some variables set by options.
775 ac_init_version=false
776 ac_unrecognized_opts=
778 # The variables have the same names as the options, with
779 # dashes changed to underlines.
787 program_transform_name=s,x,x,
795 # Installation directory options.
796 # These are left unexpanded so users can "make install exec_prefix=/foo"
797 # and all the variables that are supposed to be based on exec_prefix
798 # by default will actually change.
799 # Use braces instead of parens because sh, perl, etc. also accept them.
800 # (The list follows the same order as the GNU Coding Standards.)
801 bindir='${exec_prefix}/bin'
802 sbindir='${exec_prefix}/sbin'
803 libexecdir='${exec_prefix}/libexec'
804 datarootdir='${prefix}/share'
805 datadir='${datarootdir}'
806 sysconfdir='${prefix}/etc'
807 sharedstatedir='${prefix}/com'
808 localstatedir='${prefix}/var'
809 includedir='${prefix}/include'
810 oldincludedir='/usr/include'
811 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
812 infodir='${datarootdir}/info'
817 libdir='${exec_prefix}/lib'
818 localedir='${datarootdir}/locale'
819 mandir='${datarootdir}/man'
825 # If the previous option needs an argument, assign it.
826 if test -n "$ac_prev"; then
827 eval $ac_prev=\$ac_option
833 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
837 # Accept the important Cygnus configure options, so we can diagnose typos.
839 case $ac_dashdash$ac_option in
843 -bindir | --bindir | --bindi | --bind | --bin | --bi)
845 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
848 -build | --build | --buil | --bui | --bu)
849 ac_prev=build_alias ;;
850 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
851 build_alias=$ac_optarg ;;
853 -cache-file | --cache-file | --cache-fil | --cache-fi \
854 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
855 ac_prev=cache_file ;;
856 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
857 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
858 cache_file=$ac_optarg ;;
861 cache_file=config.cache ;;
863 -datadir | --datadir | --datadi | --datad)
865 -datadir=* | --datadir=* | --datadi=* | --datad=*)
866 datadir=$ac_optarg ;;
868 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
869 | --dataroo | --dataro | --datar)
870 ac_prev=datarootdir ;;
871 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
872 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
873 datarootdir=$ac_optarg ;;
875 -disable-* | --disable-*)
876 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
877 # Reject names that are not valid shell variable names.
878 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
879 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
880 { (exit 1); exit 1; }; }
881 ac_useropt_orig=$ac_useropt
882 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883 case $ac_user_opts in
887 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
888 ac_unrecognized_sep=', ';;
890 eval enable_$ac_useropt=no ;;
892 -docdir | --docdir | --docdi | --doc | --do)
894 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
897 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
899 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
902 -enable-* | --enable-*)
903 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
904 # Reject names that are not valid shell variable names.
905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
906 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
907 { (exit 1); exit 1; }; }
908 ac_useropt_orig=$ac_useropt
909 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
910 case $ac_user_opts in
914 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
915 ac_unrecognized_sep=', ';;
917 eval enable_$ac_useropt=\$ac_optarg ;;
919 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
920 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
921 | --exec | --exe | --ex)
922 ac_prev=exec_prefix ;;
923 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
924 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
925 | --exec=* | --exe=* | --ex=*)
926 exec_prefix=$ac_optarg ;;
928 -gas | --gas | --ga | --g)
929 # Obsolete; use --with-gas.
932 -help | --help | --hel | --he | -h)
934 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
935 ac_init_help=recursive ;;
936 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
937 ac_init_help=short ;;
939 -host | --host | --hos | --ho)
940 ac_prev=host_alias ;;
941 -host=* | --host=* | --hos=* | --ho=*)
942 host_alias=$ac_optarg ;;
944 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
946 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
948 htmldir=$ac_optarg ;;
950 -includedir | --includedir | --includedi | --included | --include \
951 | --includ | --inclu | --incl | --inc)
952 ac_prev=includedir ;;
953 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
954 | --includ=* | --inclu=* | --incl=* | --inc=*)
955 includedir=$ac_optarg ;;
957 -infodir | --infodir | --infodi | --infod | --info | --inf)
959 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
960 infodir=$ac_optarg ;;
962 -libdir | --libdir | --libdi | --libd)
964 -libdir=* | --libdir=* | --libdi=* | --libd=*)
967 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
968 | --libexe | --libex | --libe)
969 ac_prev=libexecdir ;;
970 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
971 | --libexe=* | --libex=* | --libe=*)
972 libexecdir=$ac_optarg ;;
974 -localedir | --localedir | --localedi | --localed | --locale)
976 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
977 localedir=$ac_optarg ;;
979 -localstatedir | --localstatedir | --localstatedi | --localstated \
980 | --localstate | --localstat | --localsta | --localst | --locals)
981 ac_prev=localstatedir ;;
982 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
983 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
984 localstatedir=$ac_optarg ;;
986 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
988 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
992 # Obsolete; use --without-fp.
995 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
996 | --no-cr | --no-c | -n)
999 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1000 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1003 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1004 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1005 | --oldin | --oldi | --old | --ol | --o)
1006 ac_prev=oldincludedir ;;
1007 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1008 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1009 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1010 oldincludedir=$ac_optarg ;;
1012 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1014 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1015 prefix=$ac_optarg ;;
1017 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1018 | --program-pre | --program-pr | --program-p)
1019 ac_prev=program_prefix ;;
1020 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1021 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1022 program_prefix=$ac_optarg ;;
1024 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1025 | --program-suf | --program-su | --program-s)
1026 ac_prev=program_suffix ;;
1027 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1028 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1029 program_suffix=$ac_optarg ;;
1031 -program-transform-name | --program-transform-name \
1032 | --program-transform-nam | --program-transform-na \
1033 | --program-transform-n | --program-transform- \
1034 | --program-transform | --program-transfor \
1035 | --program-transfo | --program-transf \
1036 | --program-trans | --program-tran \
1037 | --progr-tra | --program-tr | --program-t)
1038 ac_prev=program_transform_name ;;
1039 -program-transform-name=* | --program-transform-name=* \
1040 | --program-transform-nam=* | --program-transform-na=* \
1041 | --program-transform-n=* | --program-transform-=* \
1042 | --program-transform=* | --program-transfor=* \
1043 | --program-transfo=* | --program-transf=* \
1044 | --program-trans=* | --program-tran=* \
1045 | --progr-tra=* | --program-tr=* | --program-t=*)
1046 program_transform_name=$ac_optarg ;;
1048 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1050 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1051 pdfdir=$ac_optarg ;;
1053 -psdir | --psdir | --psdi | --psd | --ps)
1055 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1058 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1059 | -silent | --silent | --silen | --sile | --sil)
1062 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1064 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1066 sbindir=$ac_optarg ;;
1068 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1069 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1070 | --sharedst | --shareds | --shared | --share | --shar \
1072 ac_prev=sharedstatedir ;;
1073 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1074 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1075 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1077 sharedstatedir=$ac_optarg ;;
1079 -site | --site | --sit)
1081 -site=* | --site=* | --sit=*)
1084 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1086 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1087 srcdir=$ac_optarg ;;
1089 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1090 | --syscon | --sysco | --sysc | --sys | --sy)
1091 ac_prev=sysconfdir ;;
1092 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1093 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1094 sysconfdir=$ac_optarg ;;
1096 -target | --target | --targe | --targ | --tar | --ta | --t)
1097 ac_prev=target_alias ;;
1098 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1099 target_alias=$ac_optarg ;;
1101 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1104 -version | --version | --versio | --versi | --vers | -V)
1105 ac_init_version=: ;;
1108 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1109 # Reject names that are not valid shell variable names.
1110 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1111 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1112 { (exit 1); exit 1; }; }
1113 ac_useropt_orig=$ac_useropt
1114 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1115 case $ac_user_opts in
1119 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1120 ac_unrecognized_sep=', ';;
1122 eval with_$ac_useropt=\$ac_optarg ;;
1124 -without-* | --without-*)
1125 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1126 # Reject names that are not valid shell variable names.
1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1129 { (exit 1); exit 1; }; }
1130 ac_useropt_orig=$ac_useropt
1131 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1132 case $ac_user_opts in
1136 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1137 ac_unrecognized_sep=', ';;
1139 eval with_$ac_useropt=no ;;
1142 # Obsolete; use --with-x.
1145 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1146 | --x-incl | --x-inc | --x-in | --x-i)
1147 ac_prev=x_includes ;;
1148 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1149 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1150 x_includes=$ac_optarg ;;
1152 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1153 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1154 ac_prev=x_libraries ;;
1155 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1156 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1157 x_libraries=$ac_optarg ;;
1159 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1160 Try \`$0 --help' for more information." >&2
1161 { (exit 1); exit 1; }; }
1165 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1166 # Reject names that are not valid shell variable names.
1167 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1168 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1169 { (exit 1); exit 1; }; }
1170 eval $ac_envvar=\$ac_optarg
1171 export $ac_envvar ;;
1174 # FIXME: should be removed in autoconf 3.0.
1175 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1176 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1177 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1178 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1184 if test -n "$ac_prev"; then
1185 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1186 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1187 { (exit 1); exit 1; }; }
1190 if test -n "$ac_unrecognized_opts"; then
1191 case $enable_option_checking in
1193 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1194 { (exit 1); exit 1; }; } ;;
1195 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1199 # Check all directory arguments for consistency.
1200 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1201 datadir sysconfdir sharedstatedir localstatedir includedir \
1202 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1203 libdir localedir mandir
1205 eval ac_val=\$$ac_var
1206 # Remove trailing slashes.
1209 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1210 eval $ac_var=\$ac_val;;
1212 # Be sure to have absolute directory names.
1214 [\\/$]* | ?:[\\/]* ) continue;;
1215 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1217 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1218 { (exit 1); exit 1; }; }
1221 # There might be people who depend on the old broken behavior: `$host'
1222 # used to hold the argument of --host etc.
1223 # FIXME: To remove some day.
1226 target=$target_alias
1228 # FIXME: To remove some day.
1229 if test "x$host_alias" != x; then
1230 if test "x$build_alias" = x; then
1231 cross_compiling=maybe
1232 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1233 If a cross compiler is detected then cross compile mode will be used." >&2
1234 elif test "x$build_alias" != "x$host_alias"; then
1240 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1242 test "$silent" = yes && exec 6>/dev/null
1245 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1246 ac_ls_di=`ls -di .` &&
1247 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1248 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1249 { (exit 1); exit 1; }; }
1250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1251 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1252 { (exit 1); exit 1; }; }
1255 # Find the source files, if location was not specified.
1256 if test -z "$srcdir"; then
1257 ac_srcdir_defaulted=yes
1258 # Try the directory containing this script, then the parent directory.
1259 ac_confdir=`$as_dirname -- "$as_myself" ||
1260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1261 X"$as_myself" : 'X\(//\)[^/]' \| \
1262 X"$as_myself" : 'X\(//\)$' \| \
1263 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1264 $as_echo X"$as_myself" |
1265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1287 ac_srcdir_defaulted=no
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1290 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1291 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1292 { (exit 1); exit 1; }; }
1294 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1296 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1297 { (exit 1); exit 1; }; }
1299 # When building in place, set srcdir=.
1300 if test "$ac_abs_confdir" = "$ac_pwd"; then
1303 # Remove unnecessary trailing slashes from srcdir.
1304 # Double slashes in file names in object file debugging info
1305 # mess up M-x gdb in Emacs.
1307 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1309 for ac_var in $ac_precious_vars; do
1310 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1311 eval ac_env_${ac_var}_value=\$${ac_var}
1312 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1313 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1317 # Report the --help message.
1319 if test "$ac_init_help" = "long"; then
1320 # Omit some internal or obsolete options to make the list less imposing.
1321 # This message is too long to be a string in the A/UX 3.1 sh.
1323 \`configure' configures sysstat 10.0.3 to adapt to many kinds of systems.
1325 Usage: $0 [OPTION]... [VAR=VALUE]...
1327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1328 VAR=VALUE. See below for descriptions of some of the useful variables.
1330 Defaults for the options are specified in brackets.
1333 -h, --help display this help and exit
1334 --help=short display options specific to this package
1335 --help=recursive display the short help of all the included packages
1336 -V, --version display version information and exit
1337 -q, --quiet, --silent do not print \`checking...' messages
1338 --cache-file=FILE cache test results in FILE [disabled]
1339 -C, --config-cache alias for \`--cache-file=config.cache'
1340 -n, --no-create do not create output files
1341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1343 Installation directories:
1344 --prefix=PREFIX install architecture-independent files in PREFIX
1345 [$ac_default_prefix]
1346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1349 By default, \`make install' will install all the files in
1350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1352 for instance \`--prefix=\$HOME'.
1354 For better control, use the options below.
1356 Fine tuning of the installation directories:
1357 --bindir=DIR user executables [EPREFIX/bin]
1358 --sbindir=DIR system admin executables [EPREFIX/sbin]
1359 --libexecdir=DIR program executables [EPREFIX/libexec]
1360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1363 --libdir=DIR object code libraries [EPREFIX/lib]
1364 --includedir=DIR C header files [PREFIX/include]
1365 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1366 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1367 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1368 --infodir=DIR info documentation [DATAROOTDIR/info]
1369 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1370 --mandir=DIR man documentation [DATAROOTDIR/man]
1371 --docdir=DIR documentation root [DATAROOTDIR/doc/sysstat]
1372 --htmldir=DIR html documentation [DOCDIR]
1373 --dvidir=DIR dvi documentation [DOCDIR]
1374 --pdfdir=DIR pdf documentation [DOCDIR]
1375 --psdir=DIR ps documentation [DOCDIR]
1382 if test -n "$ac_init_help"; then
1383 case $ac_init_help in
1384 short | recursive ) echo "Configuration of sysstat 10.0.3:";;
1389 --disable-option-checking ignore unrecognized --enable/--with options
1390 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1391 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1392 --disable-sensors disable sensors support
1393 --disable-largefile omit support for large files
1394 --disable-nls disable National Language Support
1395 --enable-yesterday tell sa2 to use data file of the day before
1396 --disable-man-group ignore man_group variable value
1397 --enable-compress-manpg compress sysstat manual pages
1398 --enable-install-isag install isag script
1399 --enable-clean-sa-dir clean system activity directory
1400 --enable-install-cron install a crontab to start sar
1401 --disable-documentation do not install documentation
1402 --enable-debuginfo enable debug output (--debuginfo option)
1404 Some influential environment variables:
1405 CC C compiler command
1406 CFLAGS C compiler flags
1407 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1408 nonstandard directory <lib dir>
1409 LIBS libraries to pass to the linker, e.g. -l<library>
1410 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1411 you have headers in a nonstandard directory <include dir>
1413 rcdir run-commands directory
1414 sa_lib_dir sadc directory
1415 sa_dir system activity directory
1416 conf_dir sysstat configuration directory
1417 history number of daily data files to keep (default value is 7)
1419 number of days after which data files are compressed (default
1421 man_group group for manual pages
1422 cron_owner crontab owner
1426 Use these variables to override the choices made by `configure' or to help
1427 it to find libraries and programs with nonstandard names/locations.
1433 if test "$ac_init_help" = "recursive"; then
1434 # If there are subdirs, report their specific --help.
1435 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1436 test -d "$ac_dir" ||
1437 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1442 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1444 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1445 # A ".." for each directory in $ac_dir_suffix.
1446 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1447 case $ac_top_builddir_sub in
1448 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1449 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1452 ac_abs_top_builddir=$ac_pwd
1453 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1454 # for backward compatibility:
1455 ac_top_builddir=$ac_top_build_prefix
1458 .) # We are building in place.
1460 ac_top_srcdir=$ac_top_builddir_sub
1461 ac_abs_top_srcdir=$ac_pwd ;;
1462 [\\/]* | ?:[\\/]* ) # Absolute name.
1463 ac_srcdir=$srcdir$ac_dir_suffix;
1464 ac_top_srcdir=$srcdir
1465 ac_abs_top_srcdir=$srcdir ;;
1467 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1468 ac_top_srcdir=$ac_top_build_prefix$srcdir
1469 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1471 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1473 cd "$ac_dir" || { ac_status=$?; continue; }
1474 # Check for guested configure.
1475 if test -f "$ac_srcdir/configure.gnu"; then
1477 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1478 elif test -f "$ac_srcdir/configure"; then
1480 $SHELL "$ac_srcdir/configure" --help=recursive
1482 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1484 cd "$ac_pwd" || { ac_status=$?; break; }
1488 test -n "$ac_init_help" && exit $ac_status
1489 if $ac_init_version; then
1491 sysstat configure 10.0.3
1492 generated by GNU Autoconf 2.63
1494 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1495 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1496 This configure script is free software; the Free Software Foundation
1497 gives unlimited permission to copy, distribute and modify it.
1501 cat >config.log <<_ACEOF
1502 This file contains any messages produced by compilers while
1503 running configure, to aid debugging if configure makes a mistake.
1505 It was created by sysstat $as_me 10.0.3, which was
1506 generated by GNU Autoconf 2.63. Invocation command line was
1518 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1519 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1520 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1521 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1522 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1524 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1525 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1527 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1528 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1529 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1530 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1531 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1532 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1533 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1541 test -z "$as_dir" && as_dir=.
1542 $as_echo "PATH: $as_dir"
1558 # Keep a trace of the command line.
1559 # Strip out --no-create and --no-recursion so they do not pile up.
1560 # Strip out --silent because we don't want to record it for future runs.
1561 # Also quote any args containing shell meta-characters.
1562 # Make two passes to allow for proper duplicate-argument suppression.
1566 ac_must_keep_next=false
1572 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1573 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1574 | -silent | --silent | --silen | --sile | --sil)
1577 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1580 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1582 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1583 if test $ac_must_keep_next = true; then
1584 ac_must_keep_next=false # Got value, back to normal.
1587 *=* | --config-cache | -C | -disable-* | --disable-* \
1588 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1589 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1590 | -with-* | --with-* | -without-* | --without-* | --x)
1591 case "$ac_configure_args0 " in
1592 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1595 -* ) ac_must_keep_next=true ;;
1598 ac_configure_args="$ac_configure_args '$ac_arg'"
1603 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1604 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1606 # When interrupted or exit'd, cleanup temporary files, and complete
1607 # config.log. We remove comments because anyway the quotes in there
1608 # would cause problems or look ugly.
1609 # WARNING: Use '\'' to represent an apostrophe within the trap.
1610 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1611 trap 'exit_status=$?
1612 # Save into config.log some information that might help in debugging.
1617 ## ---------------- ##
1618 ## Cache variables. ##
1619 ## ---------------- ##
1622 # The following way of writing the cache mishandles newlines in values,
1624 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1625 eval ac_val=\$$ac_var
1629 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1630 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1633 _ | IFS | as_nl) ;; #(
1634 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1635 *) $as_unset $ac_var ;;
1640 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1641 *${as_nl}ac_space=\ *)
1643 "s/'\''/'\''\\\\'\'''\''/g;
1644 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1647 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1655 ## ----------------- ##
1656 ## Output variables. ##
1657 ## ----------------- ##
1660 for ac_var in $ac_subst_vars
1662 eval ac_val=\$$ac_var
1664 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1666 $as_echo "$ac_var='\''$ac_val'\''"
1670 if test -n "$ac_subst_files"; then
1672 ## ------------------- ##
1673 ## File substitutions. ##
1674 ## ------------------- ##
1677 for ac_var in $ac_subst_files
1679 eval ac_val=\$$ac_var
1681 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1683 $as_echo "$ac_var='\''$ac_val'\''"
1688 if test -s confdefs.h; then
1698 test "$ac_signal" != 0 &&
1699 $as_echo "$as_me: caught signal $ac_signal"
1700 $as_echo "$as_me: exit $exit_status"
1702 rm -f core *.core core.conftest.* &&
1703 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1706 for ac_signal in 1 2 13 15; do
1707 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1711 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1712 rm -f -r conftest* confdefs.h
1714 # Predefined preprocessor variables.
1716 cat >>confdefs.h <<_ACEOF
1717 #define PACKAGE_NAME "$PACKAGE_NAME"
1721 cat >>confdefs.h <<_ACEOF
1722 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1726 cat >>confdefs.h <<_ACEOF
1727 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1731 cat >>confdefs.h <<_ACEOF
1732 #define PACKAGE_STRING "$PACKAGE_STRING"
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1741 # Let the site file select an alternate cache file if it wants to.
1742 # Prefer an explicitly selected file to automatically selected ones.
1745 if test -n "$CONFIG_SITE"; then
1746 ac_site_file1=$CONFIG_SITE
1747 elif test "x$prefix" != xNONE; then
1748 ac_site_file1=$prefix/share/config.site
1749 ac_site_file2=$prefix/etc/config.site
1751 ac_site_file1=$ac_default_prefix/share/config.site
1752 ac_site_file2=$ac_default_prefix/etc/config.site
1754 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1756 test "x$ac_site_file" = xNONE && continue
1757 if test -r "$ac_site_file"; then
1758 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1759 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1760 sed 's/^/| /' "$ac_site_file" >&5
1765 if test -r "$cache_file"; then
1766 # Some versions of bash will fail to source /dev/null (special
1767 # files actually), so we avoid doing that.
1768 if test -f "$cache_file"; then
1769 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1770 $as_echo "$as_me: loading cache $cache_file" >&6;}
1772 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1773 *) . "./$cache_file";;
1777 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1778 $as_echo "$as_me: creating cache $cache_file" >&6;}
1782 # Check that the precious variables saved in the cache have kept the same
1784 ac_cache_corrupted=false
1785 for ac_var in $ac_precious_vars; do
1786 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1787 eval ac_new_set=\$ac_env_${ac_var}_set
1788 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1789 eval ac_new_val=\$ac_env_${ac_var}_value
1790 case $ac_old_set,$ac_new_set in
1792 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1793 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1794 ac_cache_corrupted=: ;;
1796 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1797 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1798 ac_cache_corrupted=: ;;
1801 if test "x$ac_old_val" != "x$ac_new_val"; then
1802 # differences in whitespace do not lead to failure.
1803 ac_old_val_w=`echo x $ac_old_val`
1804 ac_new_val_w=`echo x $ac_new_val`
1805 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1806 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1807 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1808 ac_cache_corrupted=:
1810 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1811 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1812 eval $ac_var=\$ac_old_val
1814 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1815 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1816 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1817 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1820 # Pass precious variables to config.status.
1821 if test "$ac_new_set" = set; then
1823 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1824 *) ac_arg=$ac_var=$ac_new_val ;;
1826 case " $ac_configure_args " in
1827 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1828 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1832 if $ac_cache_corrupted; then
1833 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1835 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1836 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1837 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1838 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1839 { (exit 1); exit 1; }; }
1867 ac_cpp='$CPP $CPPFLAGS'
1868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1874 # Ensure that a recent enough version of Autoconf is being used
1877 # Check whether the configure script is in the right dir
1882 echo Check programs:
1886 ac_cpp='$CPP $CPPFLAGS'
1887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1890 if test -n "$ac_tool_prefix"; then
1891 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1892 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1893 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1894 $as_echo_n "checking for $ac_word... " >&6; }
1895 if test "${ac_cv_prog_CC+set}" = set; then
1896 $as_echo_n "(cached) " >&6
1898 if test -n "$CC"; then
1899 ac_cv_prog_CC="$CC" # Let the user override the test.
1901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1905 test -z "$as_dir" && as_dir=.
1906 for ac_exec_ext in '' $ac_executable_extensions; do
1907 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1908 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1909 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919 if test -n "$CC"; then
1920 { $as_echo "$as_me:$LINENO: result: $CC" >&5
1921 $as_echo "$CC" >&6; }
1923 { $as_echo "$as_me:$LINENO: result: no" >&5
1924 $as_echo "no" >&6; }
1929 if test -z "$ac_cv_prog_CC"; then
1931 # Extract the first word of "gcc", so it can be a program name with args.
1932 set dummy gcc; ac_word=$2
1933 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1934 $as_echo_n "checking for $ac_word... " >&6; }
1935 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1936 $as_echo_n "(cached) " >&6
1938 if test -n "$ac_ct_CC"; then
1939 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1941 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1945 test -z "$as_dir" && as_dir=.
1946 for ac_exec_ext in '' $ac_executable_extensions; do
1947 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1948 ac_cv_prog_ac_ct_CC="gcc"
1949 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1959 if test -n "$ac_ct_CC"; then
1960 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1961 $as_echo "$ac_ct_CC" >&6; }
1963 { $as_echo "$as_me:$LINENO: result: no" >&5
1964 $as_echo "no" >&6; }
1967 if test "x$ac_ct_CC" = x; then
1970 case $cross_compiling:$ac_tool_warned in
1972 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
1973 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1974 ac_tool_warned=yes ;;
1982 if test -z "$CC"; then
1983 if test -n "$ac_tool_prefix"; then
1984 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1985 set dummy ${ac_tool_prefix}cc; ac_word=$2
1986 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
1987 $as_echo_n "checking for $ac_word... " >&6; }
1988 if test "${ac_cv_prog_CC+set}" = set; then
1989 $as_echo_n "(cached) " >&6
1991 if test -n "$CC"; then
1992 ac_cv_prog_CC="$CC" # Let the user override the test.
1994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1998 test -z "$as_dir" && as_dir=.
1999 for ac_exec_ext in '' $ac_executable_extensions; do
2000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2001 ac_cv_prog_CC="${ac_tool_prefix}cc"
2002 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2012 if test -n "$CC"; then
2013 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2014 $as_echo "$CC" >&6; }
2016 { $as_echo "$as_me:$LINENO: result: no" >&5
2017 $as_echo "no" >&6; }
2023 if test -z "$CC"; then
2024 # Extract the first word of "cc", so it can be a program name with args.
2025 set dummy cc; ac_word=$2
2026 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2027 $as_echo_n "checking for $ac_word... " >&6; }
2028 if test "${ac_cv_prog_CC+set}" = set; then
2029 $as_echo_n "(cached) " >&6
2031 if test -n "$CC"; then
2032 ac_cv_prog_CC="$CC" # Let the user override the test.
2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 test -z "$as_dir" && as_dir=.
2040 for ac_exec_ext in '' $ac_executable_extensions; do
2041 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2042 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2043 ac_prog_rejected=yes
2047 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2054 if test $ac_prog_rejected = yes; then
2055 # We found a bogon in the path, so make sure we never use it.
2056 set dummy $ac_cv_prog_CC
2058 if test $# != 0; then
2059 # We chose a different compiler from the bogus one.
2060 # However, it has the same basename, so the bogon will be chosen
2061 # first if we set CC to just the basename; use the full file name.
2063 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2069 if test -n "$CC"; then
2070 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2071 $as_echo "$CC" >&6; }
2073 { $as_echo "$as_me:$LINENO: result: no" >&5
2074 $as_echo "no" >&6; }
2079 if test -z "$CC"; then
2080 if test -n "$ac_tool_prefix"; then
2081 for ac_prog in cl.exe
2083 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2084 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2085 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2086 $as_echo_n "checking for $ac_word... " >&6; }
2087 if test "${ac_cv_prog_CC+set}" = set; then
2088 $as_echo_n "(cached) " >&6
2090 if test -n "$CC"; then
2091 ac_cv_prog_CC="$CC" # Let the user override the test.
2093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2097 test -z "$as_dir" && as_dir=.
2098 for ac_exec_ext in '' $ac_executable_extensions; do
2099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2100 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2101 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2111 if test -n "$CC"; then
2112 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2113 $as_echo "$CC" >&6; }
2115 { $as_echo "$as_me:$LINENO: result: no" >&5
2116 $as_echo "no" >&6; }
2120 test -n "$CC" && break
2123 if test -z "$CC"; then
2125 for ac_prog in cl.exe
2127 # Extract the first word of "$ac_prog", so it can be a program name with args.
2128 set dummy $ac_prog; ac_word=$2
2129 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2130 $as_echo_n "checking for $ac_word... " >&6; }
2131 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2132 $as_echo_n "(cached) " >&6
2134 if test -n "$ac_ct_CC"; then
2135 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir=.
2142 for ac_exec_ext in '' $ac_executable_extensions; do
2143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2144 ac_cv_prog_ac_ct_CC="$ac_prog"
2145 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2155 if test -n "$ac_ct_CC"; then
2156 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2157 $as_echo "$ac_ct_CC" >&6; }
2159 { $as_echo "$as_me:$LINENO: result: no" >&5
2160 $as_echo "no" >&6; }
2164 test -n "$ac_ct_CC" && break
2167 if test "x$ac_ct_CC" = x; then
2170 case $cross_compiling:$ac_tool_warned in
2172 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2174 ac_tool_warned=yes ;;
2183 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2185 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2186 See \`config.log' for more details." >&5
2187 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2188 See \`config.log' for more details." >&2;}
2189 { (exit 1); exit 1; }; }; }
2191 # Provide some information about the compiler.
2192 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2195 { (ac_try="$ac_compiler --version >&5"
2197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2198 *) ac_try_echo=$ac_try;;
2200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2201 $as_echo "$ac_try_echo") >&5
2202 (eval "$ac_compiler --version >&5") 2>&5
2204 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); }
2206 { (ac_try="$ac_compiler -v >&5"
2208 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2209 *) ac_try_echo=$ac_try;;
2211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2212 $as_echo "$ac_try_echo") >&5
2213 (eval "$ac_compiler -v >&5") 2>&5
2215 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2216 (exit $ac_status); }
2217 { (ac_try="$ac_compiler -V >&5"
2219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2220 *) ac_try_echo=$ac_try;;
2222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2223 $as_echo "$ac_try_echo") >&5
2224 (eval "$ac_compiler -V >&5") 2>&5
2226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227 (exit $ac_status); }
2229 cat >conftest.$ac_ext <<_ACEOF
2232 cat confdefs.h >>conftest.$ac_ext
2233 cat >>conftest.$ac_ext <<_ACEOF
2234 /* end confdefs.h. */
2244 ac_clean_files_save=$ac_clean_files
2245 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2246 # Try to create an executable without -o first, disregard a.out.
2247 # It will help us diagnose broken compilers, and finding out an intuition
2249 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2250 $as_echo_n "checking for C compiler default output file name... " >&6; }
2251 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2253 # The possible output files:
2254 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2257 for ac_file in $ac_files
2260 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2261 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2266 if { (ac_try="$ac_link_default"
2268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2269 *) ac_try_echo=$ac_try;;
2271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2272 $as_echo "$ac_try_echo") >&5
2273 (eval "$ac_link_default") 2>&5
2275 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2276 (exit $ac_status); }; then
2277 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2278 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2279 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2280 # so that the user can short-circuit this test for compilers unknown to
2282 for ac_file in $ac_files ''
2284 test -f "$ac_file" || continue
2286 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2289 # We found the default executable, but exeext='' is most
2293 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2295 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2297 # We set ac_cv_exeext here because the later test for it is not
2298 # safe: cross compilers may not add the suffix if given an `-o'
2299 # argument, so we may need to know it at that point already.
2300 # Even if this section looks crufty: it has the advantage of
2307 test "$ac_cv_exeext" = no && ac_cv_exeext=
2313 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2314 $as_echo "$ac_file" >&6; }
2315 if test -z "$ac_file"; then
2316 $as_echo "$as_me: failed program was:" >&5
2317 sed 's/^/| /' conftest.$ac_ext >&5
2319 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2320 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2321 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2322 See \`config.log' for more details." >&5
2323 $as_echo "$as_me: error: C compiler cannot create executables
2324 See \`config.log' for more details." >&2;}
2325 { (exit 77); exit 77; }; }; }
2328 ac_exeext=$ac_cv_exeext
2330 # Check that the compiler produces executables we can run. If not, either
2331 # the compiler is broken, or we cross compile.
2332 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2333 $as_echo_n "checking whether the C compiler works... " >&6; }
2334 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2335 # If not cross compiling, check that we can run a simple program.
2336 if test "$cross_compiling" != yes; then
2337 if { ac_try='./$ac_file'
2338 { (case "(($ac_try" in
2339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2340 *) ac_try_echo=$ac_try;;
2342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2343 $as_echo "$ac_try_echo") >&5
2344 (eval "$ac_try") 2>&5
2346 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347 (exit $ac_status); }; }; then
2350 if test "$cross_compiling" = maybe; then
2353 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2355 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2356 If you meant to cross compile, use \`--host'.
2357 See \`config.log' for more details." >&5
2358 $as_echo "$as_me: error: cannot run C compiled programs.
2359 If you meant to cross compile, use \`--host'.
2360 See \`config.log' for more details." >&2;}
2361 { (exit 1); exit 1; }; }; }
2365 { $as_echo "$as_me:$LINENO: result: yes" >&5
2366 $as_echo "yes" >&6; }
2368 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2369 ac_clean_files=$ac_clean_files_save
2370 # Check that the compiler produces executables we can run. If not, either
2371 # the compiler is broken, or we cross compile.
2372 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2373 $as_echo_n "checking whether we are cross compiling... " >&6; }
2374 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
2375 $as_echo "$cross_compiling" >&6; }
2377 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
2378 $as_echo_n "checking for suffix of executables... " >&6; }
2379 if { (ac_try="$ac_link"
2381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2382 *) ac_try_echo=$ac_try;;
2384 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2385 $as_echo "$ac_try_echo") >&5
2386 (eval "$ac_link") 2>&5
2388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2389 (exit $ac_status); }; then
2390 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2391 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2392 # work properly (i.e., refer to `conftest.exe'), while it won't with
2394 for ac_file in conftest.exe conftest conftest.*; do
2395 test -f "$ac_file" || continue
2397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2398 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2404 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2406 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2407 See \`config.log' for more details." >&5
2408 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2409 See \`config.log' for more details." >&2;}
2410 { (exit 1); exit 1; }; }; }
2413 rm -f conftest$ac_cv_exeext
2414 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2415 $as_echo "$ac_cv_exeext" >&6; }
2417 rm -f conftest.$ac_ext
2418 EXEEXT=$ac_cv_exeext
2420 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2421 $as_echo_n "checking for suffix of object files... " >&6; }
2422 if test "${ac_cv_objext+set}" = set; then
2423 $as_echo_n "(cached) " >&6
2425 cat >conftest.$ac_ext <<_ACEOF
2428 cat confdefs.h >>conftest.$ac_ext
2429 cat >>conftest.$ac_ext <<_ACEOF
2430 /* end confdefs.h. */
2440 rm -f conftest.o conftest.obj
2441 if { (ac_try="$ac_compile"
2443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2444 *) ac_try_echo=$ac_try;;
2446 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2447 $as_echo "$ac_try_echo") >&5
2448 (eval "$ac_compile") 2>&5
2450 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); }; then
2452 for ac_file in conftest.o conftest.obj conftest.*; do
2453 test -f "$ac_file" || continue;
2455 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2456 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2461 $as_echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.$ac_ext >&5
2464 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2466 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2467 See \`config.log' for more details." >&5
2468 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2469 See \`config.log' for more details." >&2;}
2470 { (exit 1); exit 1; }; }; }
2473 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2475 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2476 $as_echo "$ac_cv_objext" >&6; }
2477 OBJEXT=$ac_cv_objext
2479 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2480 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2481 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2482 $as_echo_n "(cached) " >&6
2484 cat >conftest.$ac_ext <<_ACEOF
2487 cat confdefs.h >>conftest.$ac_ext
2488 cat >>conftest.$ac_ext <<_ACEOF
2489 /* end confdefs.h. */
2502 rm -f conftest.$ac_objext
2503 if { (ac_try="$ac_compile"
2505 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2506 *) ac_try_echo=$ac_try;;
2508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2509 $as_echo "$ac_try_echo") >&5
2510 (eval "$ac_compile") 2>conftest.er1
2512 grep -v '^ *+' conftest.er1 >conftest.err
2514 cat conftest.err >&5
2515 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); } && {
2517 test -z "$ac_c_werror_flag" ||
2518 test ! -s conftest.err
2519 } && test -s conftest.$ac_objext; then
2522 $as_echo "$as_me: failed program was:" >&5
2523 sed 's/^/| /' conftest.$ac_ext >&5
2528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2529 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2532 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2533 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2534 if test $ac_compiler_gnu = yes; then
2539 ac_test_CFLAGS=${CFLAGS+set}
2540 ac_save_CFLAGS=$CFLAGS
2541 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2542 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2543 if test "${ac_cv_prog_cc_g+set}" = set; then
2544 $as_echo_n "(cached) " >&6
2546 ac_save_c_werror_flag=$ac_c_werror_flag
2547 ac_c_werror_flag=yes
2550 cat >conftest.$ac_ext <<_ACEOF
2553 cat confdefs.h >>conftest.$ac_ext
2554 cat >>conftest.$ac_ext <<_ACEOF
2555 /* end confdefs.h. */
2565 rm -f conftest.$ac_objext
2566 if { (ac_try="$ac_compile"
2568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2569 *) ac_try_echo=$ac_try;;
2571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2572 $as_echo "$ac_try_echo") >&5
2573 (eval "$ac_compile") 2>conftest.er1
2575 grep -v '^ *+' conftest.er1 >conftest.err
2577 cat conftest.err >&5
2578 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2579 (exit $ac_status); } && {
2580 test -z "$ac_c_werror_flag" ||
2581 test ! -s conftest.err
2582 } && test -s conftest.$ac_objext; then
2585 $as_echo "$as_me: failed program was:" >&5
2586 sed 's/^/| /' conftest.$ac_ext >&5
2589 cat >conftest.$ac_ext <<_ACEOF
2592 cat confdefs.h >>conftest.$ac_ext
2593 cat >>conftest.$ac_ext <<_ACEOF
2594 /* end confdefs.h. */
2604 rm -f conftest.$ac_objext
2605 if { (ac_try="$ac_compile"
2607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2608 *) ac_try_echo=$ac_try;;
2610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2611 $as_echo "$ac_try_echo") >&5
2612 (eval "$ac_compile") 2>conftest.er1
2614 grep -v '^ *+' conftest.er1 >conftest.err
2616 cat conftest.err >&5
2617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); } && {
2619 test -z "$ac_c_werror_flag" ||
2620 test ! -s conftest.err
2621 } && test -s conftest.$ac_objext; then
2624 $as_echo "$as_me: failed program was:" >&5
2625 sed 's/^/| /' conftest.$ac_ext >&5
2627 ac_c_werror_flag=$ac_save_c_werror_flag
2629 cat >conftest.$ac_ext <<_ACEOF
2632 cat confdefs.h >>conftest.$ac_ext
2633 cat >>conftest.$ac_ext <<_ACEOF
2634 /* end confdefs.h. */
2644 rm -f conftest.$ac_objext
2645 if { (ac_try="$ac_compile"
2647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2648 *) ac_try_echo=$ac_try;;
2650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2651 $as_echo "$ac_try_echo") >&5
2652 (eval "$ac_compile") 2>conftest.er1
2654 grep -v '^ *+' conftest.er1 >conftest.err
2656 cat conftest.err >&5
2657 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); } && {
2659 test -z "$ac_c_werror_flag" ||
2660 test ! -s conftest.err
2661 } && test -s conftest.$ac_objext; then
2664 $as_echo "$as_me: failed program was:" >&5
2665 sed 's/^/| /' conftest.$ac_ext >&5
2670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2677 ac_c_werror_flag=$ac_save_c_werror_flag
2679 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2680 $as_echo "$ac_cv_prog_cc_g" >&6; }
2681 if test "$ac_test_CFLAGS" = set; then
2682 CFLAGS=$ac_save_CFLAGS
2683 elif test $ac_cv_prog_cc_g = yes; then
2684 if test "$GCC" = yes; then
2690 if test "$GCC" = yes; then
2696 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2697 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2698 if test "${ac_cv_prog_cc_c89+set}" = set; then
2699 $as_echo_n "(cached) " >&6
2701 ac_cv_prog_cc_c89=no
2703 cat >conftest.$ac_ext <<_ACEOF
2706 cat confdefs.h >>conftest.$ac_ext
2707 cat >>conftest.$ac_ext <<_ACEOF
2708 /* end confdefs.h. */
2711 #include <sys/types.h>
2712 #include <sys/stat.h>
2713 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2714 struct buf { int x; };
2715 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2716 static char *e (p, i)
2722 static char *f (char * (*g) (char **, int), char **p, ...)
2727 s = g (p, va_arg (v,int));
2732 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2733 function prototypes and stuff, but not '\xHH' hex character constants.
2734 These don't provoke an error unfortunately, instead are silently treated
2735 as 'x'. The following induces an error, until -std is added to get
2736 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2737 array size at least. It's necessary to write '\x00'==0 to get something
2738 that's true only with -std. */
2739 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2741 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2742 inside strings and character constants. */
2744 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2746 int test (int i, double x);
2747 struct s1 {int (*f) (int a);};
2748 struct s2 {int (*f) (double a);};
2749 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2755 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2760 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2761 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2763 CC="$ac_save_CC $ac_arg"
2764 rm -f conftest.$ac_objext
2765 if { (ac_try="$ac_compile"
2767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2768 *) ac_try_echo=$ac_try;;
2770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2771 $as_echo "$ac_try_echo") >&5
2772 (eval "$ac_compile") 2>conftest.er1
2774 grep -v '^ *+' conftest.er1 >conftest.err
2776 cat conftest.err >&5
2777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2778 (exit $ac_status); } && {
2779 test -z "$ac_c_werror_flag" ||
2780 test ! -s conftest.err
2781 } && test -s conftest.$ac_objext; then
2782 ac_cv_prog_cc_c89=$ac_arg
2784 $as_echo "$as_me: failed program was:" >&5
2785 sed 's/^/| /' conftest.$ac_ext >&5
2790 rm -f core conftest.err conftest.$ac_objext
2791 test "x$ac_cv_prog_cc_c89" != "xno" && break
2793 rm -f conftest.$ac_ext
2798 case "x$ac_cv_prog_cc_c89" in
2800 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2801 $as_echo "none needed" >&6; } ;;
2803 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2804 $as_echo "unsupported" >&6; } ;;
2806 CC="$CC $ac_cv_prog_cc_c89"
2807 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2808 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2813 ac_cpp='$CPP $CPPFLAGS'
2814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2820 ac_cpp='$CPP $CPPFLAGS'
2821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2824 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2825 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2826 # On Suns, sometimes $CPP names a directory.
2827 if test -n "$CPP" && test -d "$CPP"; then
2830 if test -z "$CPP"; then
2831 if test "${ac_cv_prog_CPP+set}" = set; then
2832 $as_echo_n "(cached) " >&6
2834 # Double quotes because CPP needs to be expanded
2835 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2838 for ac_c_preproc_warn_flag in '' yes
2840 # Use a header file that comes with gcc, so configuring glibc
2841 # with a fresh cross-compiler works.
2842 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2843 # <limits.h> exists even on freestanding compilers.
2844 # On the NeXT, cc -E runs the code through the compiler's parser,
2845 # not just through cpp. "Syntax error" is here to catch this case.
2846 cat >conftest.$ac_ext <<_ACEOF
2849 cat confdefs.h >>conftest.$ac_ext
2850 cat >>conftest.$ac_ext <<_ACEOF
2851 /* end confdefs.h. */
2853 # include <limits.h>
2855 # include <assert.h>
2859 if { (ac_try="$ac_cpp conftest.$ac_ext"
2861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862 *) ac_try_echo=$ac_try;;
2864 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2865 $as_echo "$ac_try_echo") >&5
2866 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2868 grep -v '^ *+' conftest.er1 >conftest.err
2870 cat conftest.err >&5
2871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2872 (exit $ac_status); } >/dev/null && {
2873 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2874 test ! -s conftest.err
2878 $as_echo "$as_me: failed program was:" >&5
2879 sed 's/^/| /' conftest.$ac_ext >&5
2881 # Broken: fails on valid input.
2885 rm -f conftest.err conftest.$ac_ext
2887 # OK, works on sane cases. Now check whether nonexistent headers
2888 # can be detected and how.
2889 cat >conftest.$ac_ext <<_ACEOF
2892 cat confdefs.h >>conftest.$ac_ext
2893 cat >>conftest.$ac_ext <<_ACEOF
2894 /* end confdefs.h. */
2895 #include <ac_nonexistent.h>
2897 if { (ac_try="$ac_cpp conftest.$ac_ext"
2899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2900 *) ac_try_echo=$ac_try;;
2902 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2903 $as_echo "$ac_try_echo") >&5
2904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2906 grep -v '^ *+' conftest.er1 >conftest.err
2908 cat conftest.err >&5
2909 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } >/dev/null && {
2911 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2912 test ! -s conftest.err
2914 # Broken: success on invalid input.
2917 $as_echo "$as_me: failed program was:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2920 # Passes both tests.
2925 rm -f conftest.err conftest.$ac_ext
2928 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2929 rm -f conftest.err conftest.$ac_ext
2930 if $ac_preproc_ok; then
2942 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
2943 $as_echo "$CPP" >&6; }
2945 for ac_c_preproc_warn_flag in '' yes
2947 # Use a header file that comes with gcc, so configuring glibc
2948 # with a fresh cross-compiler works.
2949 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2950 # <limits.h> exists even on freestanding compilers.
2951 # On the NeXT, cc -E runs the code through the compiler's parser,
2952 # not just through cpp. "Syntax error" is here to catch this case.
2953 cat >conftest.$ac_ext <<_ACEOF
2956 cat confdefs.h >>conftest.$ac_ext
2957 cat >>conftest.$ac_ext <<_ACEOF
2958 /* end confdefs.h. */
2960 # include <limits.h>
2962 # include <assert.h>
2966 if { (ac_try="$ac_cpp conftest.$ac_ext"
2968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2969 *) ac_try_echo=$ac_try;;
2971 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2972 $as_echo "$ac_try_echo") >&5
2973 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2975 grep -v '^ *+' conftest.er1 >conftest.err
2977 cat conftest.err >&5
2978 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2979 (exit $ac_status); } >/dev/null && {
2980 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2981 test ! -s conftest.err
2985 $as_echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2988 # Broken: fails on valid input.
2992 rm -f conftest.err conftest.$ac_ext
2994 # OK, works on sane cases. Now check whether nonexistent headers
2995 # can be detected and how.
2996 cat >conftest.$ac_ext <<_ACEOF
2999 cat confdefs.h >>conftest.$ac_ext
3000 cat >>conftest.$ac_ext <<_ACEOF
3001 /* end confdefs.h. */
3002 #include <ac_nonexistent.h>
3004 if { (ac_try="$ac_cpp conftest.$ac_ext"
3006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3007 *) ac_try_echo=$ac_try;;
3009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3010 $as_echo "$ac_try_echo") >&5
3011 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3013 grep -v '^ *+' conftest.er1 >conftest.err
3015 cat conftest.err >&5
3016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3017 (exit $ac_status); } >/dev/null && {
3018 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3019 test ! -s conftest.err
3021 # Broken: success on invalid input.
3024 $as_echo "$as_me: failed program was:" >&5
3025 sed 's/^/| /' conftest.$ac_ext >&5
3027 # Passes both tests.
3032 rm -f conftest.err conftest.$ac_ext
3035 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3036 rm -f conftest.err conftest.$ac_ext
3037 if $ac_preproc_ok; then
3040 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3042 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3043 See \`config.log' for more details." >&5
3044 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3045 See \`config.log' for more details." >&2;}
3046 { (exit 1); exit 1; }; }; }
3050 ac_cpp='$CPP $CPPFLAGS'
3051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3056 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3057 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3058 if test "${ac_cv_path_GREP+set}" = set; then
3059 $as_echo_n "(cached) " >&6
3061 if test -z "$GREP"; then
3062 ac_path_GREP_found=false
3063 # Loop through the user's path and test for each of PROGNAME-LIST
3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3065 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3068 test -z "$as_dir" && as_dir=.
3069 for ac_prog in grep ggrep; do
3070 for ac_exec_ext in '' $ac_executable_extensions; do
3071 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3072 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3073 # Check for GNU ac_path_GREP and select it if it is found.
3074 # Check for GNU $ac_path_GREP
3075 case `"$ac_path_GREP" --version 2>&1` in
3077 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3080 $as_echo_n 0123456789 >"conftest.in"
3083 cat "conftest.in" "conftest.in" >"conftest.tmp"
3084 mv "conftest.tmp" "conftest.in"
3085 cp "conftest.in" "conftest.nl"
3086 $as_echo 'GREP' >> "conftest.nl"
3087 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3088 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3089 ac_count=`expr $ac_count + 1`
3090 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3091 # Best one so far, save it but keep looking for a better one
3092 ac_cv_path_GREP="$ac_path_GREP"
3093 ac_path_GREP_max=$ac_count
3095 # 10*(2^10) chars as input seems more than enough
3096 test $ac_count -gt 10 && break
3098 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3101 $ac_path_GREP_found && break 3
3106 if test -z "$ac_cv_path_GREP"; then
3107 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3108 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3109 { (exit 1); exit 1; }; }
3112 ac_cv_path_GREP=$GREP
3116 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3117 $as_echo "$ac_cv_path_GREP" >&6; }
3118 GREP="$ac_cv_path_GREP"
3121 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3122 $as_echo_n "checking for egrep... " >&6; }
3123 if test "${ac_cv_path_EGREP+set}" = set; then
3124 $as_echo_n "(cached) " >&6
3126 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3127 then ac_cv_path_EGREP="$GREP -E"
3129 if test -z "$EGREP"; then
3130 ac_path_EGREP_found=false
3131 # Loop through the user's path and test for each of PROGNAME-LIST
3132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3133 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3136 test -z "$as_dir" && as_dir=.
3137 for ac_prog in egrep; do
3138 for ac_exec_ext in '' $ac_executable_extensions; do
3139 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3140 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3141 # Check for GNU ac_path_EGREP and select it if it is found.
3142 # Check for GNU $ac_path_EGREP
3143 case `"$ac_path_EGREP" --version 2>&1` in
3145 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3148 $as_echo_n 0123456789 >"conftest.in"
3151 cat "conftest.in" "conftest.in" >"conftest.tmp"
3152 mv "conftest.tmp" "conftest.in"
3153 cp "conftest.in" "conftest.nl"
3154 $as_echo 'EGREP' >> "conftest.nl"
3155 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3156 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3157 ac_count=`expr $ac_count + 1`
3158 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3159 # Best one so far, save it but keep looking for a better one
3160 ac_cv_path_EGREP="$ac_path_EGREP"
3161 ac_path_EGREP_max=$ac_count
3163 # 10*(2^10) chars as input seems more than enough
3164 test $ac_count -gt 10 && break
3166 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3169 $ac_path_EGREP_found && break 3
3174 if test -z "$ac_cv_path_EGREP"; then
3175 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3176 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3177 { (exit 1); exit 1; }; }
3180 ac_cv_path_EGREP=$EGREP
3185 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3186 $as_echo "$ac_cv_path_EGREP" >&6; }
3187 EGREP="$ac_cv_path_EGREP"
3190 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3191 $as_echo_n "checking for ANSI C header files... " >&6; }
3192 if test "${ac_cv_header_stdc+set}" = set; then
3193 $as_echo_n "(cached) " >&6
3195 cat >conftest.$ac_ext <<_ACEOF
3198 cat confdefs.h >>conftest.$ac_ext
3199 cat >>conftest.$ac_ext <<_ACEOF
3200 /* end confdefs.h. */
3214 rm -f conftest.$ac_objext
3215 if { (ac_try="$ac_compile"
3217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218 *) ac_try_echo=$ac_try;;
3220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3221 $as_echo "$ac_try_echo") >&5
3222 (eval "$ac_compile") 2>conftest.er1
3224 grep -v '^ *+' conftest.er1 >conftest.err
3226 cat conftest.err >&5
3227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3228 (exit $ac_status); } && {
3229 test -z "$ac_c_werror_flag" ||
3230 test ! -s conftest.err
3231 } && test -s conftest.$ac_objext; then
3232 ac_cv_header_stdc=yes
3234 $as_echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3237 ac_cv_header_stdc=no
3240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3242 if test $ac_cv_header_stdc = yes; then
3243 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3244 cat >conftest.$ac_ext <<_ACEOF
3247 cat confdefs.h >>conftest.$ac_ext
3248 cat >>conftest.$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3254 $EGREP "memchr" >/dev/null 2>&1; then
3257 ac_cv_header_stdc=no
3263 if test $ac_cv_header_stdc = yes; then
3264 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3265 cat >conftest.$ac_ext <<_ACEOF
3268 cat confdefs.h >>conftest.$ac_ext
3269 cat >>conftest.$ac_ext <<_ACEOF
3270 /* end confdefs.h. */
3274 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3275 $EGREP "free" >/dev/null 2>&1; then
3278 ac_cv_header_stdc=no
3284 if test $ac_cv_header_stdc = yes; then
3285 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3286 if test "$cross_compiling" = yes; then
3289 cat >conftest.$ac_ext <<_ACEOF
3292 cat confdefs.h >>conftest.$ac_ext
3293 cat >>conftest.$ac_ext <<_ACEOF
3294 /* end confdefs.h. */
3297 #if ((' ' & 0x0FF) == 0x020)
3298 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3299 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3301 # define ISLOWER(c) \
3302 (('a' <= (c) && (c) <= 'i') \
3303 || ('j' <= (c) && (c) <= 'r') \
3304 || ('s' <= (c) && (c) <= 'z'))
3305 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3308 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3313 for (i = 0; i < 256; i++)
3314 if (XOR (islower (i), ISLOWER (i))
3315 || toupper (i) != TOUPPER (i))
3320 rm -f conftest$ac_exeext
3321 if { (ac_try="$ac_link"
3323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3327 $as_echo "$ac_try_echo") >&5
3328 (eval "$ac_link") 2>&5
3330 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3332 { (case "(($ac_try" in
3333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3334 *) ac_try_echo=$ac_try;;
3336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3337 $as_echo "$ac_try_echo") >&5
3338 (eval "$ac_try") 2>&5
3340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); }; }; then
3344 $as_echo "$as_me: program exited with status $ac_status" >&5
3345 $as_echo "$as_me: failed program was:" >&5
3346 sed 's/^/| /' conftest.$ac_ext >&5
3349 ac_cv_header_stdc=no
3351 rm -rf conftest.dSYM
3352 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3358 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3359 $as_echo "$ac_cv_header_stdc" >&6; }
3360 if test $ac_cv_header_stdc = yes; then
3362 cat >>confdefs.h <<\_ACEOF
3363 #define STDC_HEADERS 1
3368 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3378 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3379 inttypes.h stdint.h unistd.h
3381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3382 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3383 $as_echo_n "checking for $ac_header... " >&6; }
3384 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3385 $as_echo_n "(cached) " >&6
3387 cat >conftest.$ac_ext <<_ACEOF
3390 cat confdefs.h >>conftest.$ac_ext
3391 cat >>conftest.$ac_ext <<_ACEOF
3392 /* end confdefs.h. */
3393 $ac_includes_default
3395 #include <$ac_header>
3397 rm -f conftest.$ac_objext
3398 if { (ac_try="$ac_compile"
3400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3401 *) ac_try_echo=$ac_try;;
3403 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3404 $as_echo "$ac_try_echo") >&5
3405 (eval "$ac_compile") 2>conftest.er1
3407 grep -v '^ *+' conftest.er1 >conftest.err
3409 cat conftest.err >&5
3410 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); } && {
3412 test -z "$ac_c_werror_flag" ||
3413 test ! -s conftest.err
3414 } && test -s conftest.$ac_objext; then
3415 eval "$as_ac_Header=yes"
3417 $as_echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.$ac_ext >&5
3420 eval "$as_ac_Header=no"
3423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 ac_res=`eval 'as_val=${'$as_ac_Header'}
3426 $as_echo "$as_val"'`
3427 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
3428 $as_echo "$ac_res" >&6; }
3429 as_val=`eval 'as_val=${'$as_ac_Header'}
3430 $as_echo "$as_val"'`
3431 if test "x$as_val" = x""yes; then
3432 cat >>confdefs.h <<_ACEOF
3433 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3442 if test "${ac_cv_header_minix_config_h+set}" = set; then
3443 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3444 $as_echo_n "checking for minix/config.h... " >&6; }
3445 if test "${ac_cv_header_minix_config_h+set}" = set; then
3446 $as_echo_n "(cached) " >&6
3448 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3449 $as_echo "$ac_cv_header_minix_config_h" >&6; }
3451 # Is the header compilable?
3452 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
3453 $as_echo_n "checking minix/config.h usability... " >&6; }
3454 cat >conftest.$ac_ext <<_ACEOF
3457 cat confdefs.h >>conftest.$ac_ext
3458 cat >>conftest.$ac_ext <<_ACEOF
3459 /* end confdefs.h. */
3460 $ac_includes_default
3461 #include <minix/config.h>
3463 rm -f conftest.$ac_objext
3464 if { (ac_try="$ac_compile"
3466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467 *) ac_try_echo=$ac_try;;
3469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3470 $as_echo "$ac_try_echo") >&5
3471 (eval "$ac_compile") 2>conftest.er1
3473 grep -v '^ *+' conftest.er1 >conftest.err
3475 cat conftest.err >&5
3476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477 (exit $ac_status); } && {
3478 test -z "$ac_c_werror_flag" ||
3479 test ! -s conftest.err
3480 } && test -s conftest.$ac_objext; then
3481 ac_header_compiler=yes
3483 $as_echo "$as_me: failed program was:" >&5
3484 sed 's/^/| /' conftest.$ac_ext >&5
3486 ac_header_compiler=no
3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3491 $as_echo "$ac_header_compiler" >&6; }
3493 # Is the header present?
3494 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
3495 $as_echo_n "checking minix/config.h presence... " >&6; }
3496 cat >conftest.$ac_ext <<_ACEOF
3499 cat confdefs.h >>conftest.$ac_ext
3500 cat >>conftest.$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3502 #include <minix/config.h>
3504 if { (ac_try="$ac_cpp conftest.$ac_ext"
3506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3507 *) ac_try_echo=$ac_try;;
3509 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3510 $as_echo "$ac_try_echo") >&5
3511 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3513 grep -v '^ *+' conftest.er1 >conftest.err
3515 cat conftest.err >&5
3516 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } >/dev/null && {
3518 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3519 test ! -s conftest.err
3521 ac_header_preproc=yes
3523 $as_echo "$as_me: failed program was:" >&5
3524 sed 's/^/| /' conftest.$ac_ext >&5
3526 ac_header_preproc=no
3529 rm -f conftest.err conftest.$ac_ext
3530 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3531 $as_echo "$ac_header_preproc" >&6; }
3533 # So? What about this header?
3534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3536 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
3537 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3538 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
3539 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
3540 ac_header_preproc=yes
3543 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
3544 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
3545 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
3546 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
3547 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
3548 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
3549 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
3550 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
3551 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
3552 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
3553 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
3554 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
3558 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
3559 $as_echo_n "checking for minix/config.h... " >&6; }
3560 if test "${ac_cv_header_minix_config_h+set}" = set; then
3561 $as_echo_n "(cached) " >&6
3563 ac_cv_header_minix_config_h=$ac_header_preproc
3565 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
3566 $as_echo "$ac_cv_header_minix_config_h" >&6; }
3569 if test "x$ac_cv_header_minix_config_h" = x""yes; then
3576 if test "$MINIX" = yes; then
3578 cat >>confdefs.h <<\_ACEOF
3579 #define _POSIX_SOURCE 1
3583 cat >>confdefs.h <<\_ACEOF
3584 #define _POSIX_1_SOURCE 2
3588 cat >>confdefs.h <<\_ACEOF
3596 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
3597 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3598 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
3599 $as_echo_n "(cached) " >&6
3601 cat >conftest.$ac_ext <<_ACEOF
3604 cat confdefs.h >>conftest.$ac_ext
3605 cat >>conftest.$ac_ext <<_ACEOF
3606 /* end confdefs.h. */
3608 # define __EXTENSIONS__ 1
3609 $ac_includes_default
3618 rm -f conftest.$ac_objext
3619 if { (ac_try="$ac_compile"
3621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3622 *) ac_try_echo=$ac_try;;
3624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3625 $as_echo "$ac_try_echo") >&5
3626 (eval "$ac_compile") 2>conftest.er1
3628 grep -v '^ *+' conftest.er1 >conftest.err
3630 cat conftest.err >&5
3631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); } && {
3633 test -z "$ac_c_werror_flag" ||
3634 test ! -s conftest.err
3635 } && test -s conftest.$ac_objext; then
3636 ac_cv_safe_to_define___extensions__=yes
3638 $as_echo "$as_me: failed program was:" >&5
3639 sed 's/^/| /' conftest.$ac_ext >&5
3641 ac_cv_safe_to_define___extensions__=no
3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
3647 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3648 test $ac_cv_safe_to_define___extensions__ = yes &&
3649 cat >>confdefs.h <<\_ACEOF
3650 #define __EXTENSIONS__ 1
3653 cat >>confdefs.h <<\_ACEOF
3654 #define _ALL_SOURCE 1
3657 cat >>confdefs.h <<\_ACEOF
3658 #define _GNU_SOURCE 1
3661 cat >>confdefs.h <<\_ACEOF
3662 #define _POSIX_PTHREAD_SEMANTICS 1
3665 cat >>confdefs.h <<\_ACEOF
3666 #define _TANDEM_SOURCE 1
3670 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
3671 $as_echo_n "checking whether ln -s works... " >&6; }
3673 if test "$LN_S" = "ln -s"; then
3674 { $as_echo "$as_me:$LINENO: result: yes" >&5
3675 $as_echo "yes" >&6; }
3677 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3678 $as_echo "no, using $LN_S" >&6; }
3684 # Extract the first word of "chmod", so it can be a program name with args.
3685 set dummy chmod; ac_word=$2
3686 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3687 $as_echo_n "checking for $ac_word... " >&6; }
3688 if test "${ac_cv_prog_CHMOD+set}" = set; then
3689 $as_echo_n "(cached) " >&6
3691 if test -n "$CHMOD"; then
3692 ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3698 test -z "$as_dir" && as_dir=.
3699 for ac_exec_ext in '' $ac_executable_extensions; do
3700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3701 ac_cv_prog_CHMOD="chmod"
3702 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3711 CHMOD=$ac_cv_prog_CHMOD
3712 if test -n "$CHMOD"; then
3713 { $as_echo "$as_me:$LINENO: result: $CHMOD" >&5
3714 $as_echo "$CHMOD" >&6; }
3716 { $as_echo "$as_me:$LINENO: result: no" >&5
3717 $as_echo "no" >&6; }
3721 # Extract the first word of "chown", so it can be a program name with args.
3722 set dummy chown; ac_word=$2
3723 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3724 $as_echo_n "checking for $ac_word... " >&6; }
3725 if test "${ac_cv_prog_CHOWN+set}" = set; then
3726 $as_echo_n "(cached) " >&6
3728 if test -n "$CHOWN"; then
3729 ac_cv_prog_CHOWN="$CHOWN" # Let the user override the test.
3731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3735 test -z "$as_dir" && as_dir=.
3736 for ac_exec_ext in '' $ac_executable_extensions; do
3737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3738 ac_cv_prog_CHOWN="chown"
3739 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3748 CHOWN=$ac_cv_prog_CHOWN
3749 if test -n "$CHOWN"; then
3750 { $as_echo "$as_me:$LINENO: result: $CHOWN" >&5
3751 $as_echo "$CHOWN" >&6; }
3753 { $as_echo "$as_me:$LINENO: result: no" >&5
3754 $as_echo "no" >&6; }
3758 # Extract the first word of "ar", so it can be a program name with args.
3759 set dummy ar; ac_word=$2
3760 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3761 $as_echo_n "checking for $ac_word... " >&6; }
3762 if test "${ac_cv_prog_AR+set}" = set; then
3763 $as_echo_n "(cached) " >&6
3765 if test -n "$AR"; then
3766 ac_cv_prog_AR="$AR" # Let the user override the test.
3768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3772 test -z "$as_dir" && as_dir=.
3773 for ac_exec_ext in '' $ac_executable_extensions; do
3774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3776 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3786 if test -n "$AR"; then
3787 { $as_echo "$as_me:$LINENO: result: $AR" >&5
3788 $as_echo "$AR" >&6; }
3790 { $as_echo "$as_me:$LINENO: result: no" >&5
3791 $as_echo "no" >&6; }
3795 # Extract the first word of "install", so it can be a program name with args.
3796 set dummy install; ac_word=$2
3797 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if test "${ac_cv_prog_INSTALL+set}" = set; then
3800 $as_echo_n "(cached) " >&6
3802 if test -n "$INSTALL"; then
3803 ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir=.
3810 for ac_exec_ext in '' $ac_executable_extensions; do
3811 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3812 ac_cv_prog_INSTALL="install"
3813 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3822 INSTALL=$ac_cv_prog_INSTALL
3823 if test -n "$INSTALL"; then
3824 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
3825 $as_echo "$INSTALL" >&6; }
3827 { $as_echo "$as_me:$LINENO: result: no" >&5
3828 $as_echo "no" >&6; }
3832 # Extract the first word of "msgfmt", so it can be a program name with args.
3833 set dummy msgfmt; ac_word=$2
3834 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3835 $as_echo_n "checking for $ac_word... " >&6; }
3836 if test "${ac_cv_prog_MSGFMT+set}" = set; then
3837 $as_echo_n "(cached) " >&6
3839 if test -n "$MSGFMT"; then
3840 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3846 test -z "$as_dir" && as_dir=.
3847 for ac_exec_ext in '' $ac_executable_extensions; do
3848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3849 ac_cv_prog_MSGFMT="msgfmt"
3850 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3859 MSGFMT=$ac_cv_prog_MSGFMT
3860 if test -n "$MSGFMT"; then
3861 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
3862 $as_echo "$MSGFMT" >&6; }
3864 { $as_echo "$as_me:$LINENO: result: no" >&5
3865 $as_echo "no" >&6; }
3869 # Extract the first word of "xgettext", so it can be a program name with args.
3870 set dummy xgettext; ac_word=$2
3871 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3872 $as_echo_n "checking for $ac_word... " >&6; }
3873 if test "${ac_cv_prog_XGETTEXT+set}" = set; then
3874 $as_echo_n "(cached) " >&6
3876 if test -n "$XGETTEXT"; then
3877 ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test.
3879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883 test -z "$as_dir" && as_dir=.
3884 for ac_exec_ext in '' $ac_executable_extensions; do
3885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3886 ac_cv_prog_XGETTEXT="xgettext"
3887 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3896 XGETTEXT=$ac_cv_prog_XGETTEXT
3897 if test -n "$XGETTEXT"; then
3898 { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
3899 $as_echo "$XGETTEXT" >&6; }
3901 { $as_echo "$as_me:$LINENO: result: no" >&5
3902 $as_echo "no" >&6; }
3906 # Extract the first word of "msgmerge", so it can be a program name with args.
3907 set dummy msgmerge; ac_word=$2
3908 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3909 $as_echo_n "checking for $ac_word... " >&6; }
3910 if test "${ac_cv_prog_MSGMERGE+set}" = set; then
3911 $as_echo_n "(cached) " >&6
3913 if test -n "$MSGMERGE"; then
3914 ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test.
3916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3920 test -z "$as_dir" && as_dir=.
3921 for ac_exec_ext in '' $ac_executable_extensions; do
3922 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3923 ac_cv_prog_MSGMERGE="msgmerge"
3924 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3933 MSGMERGE=$ac_cv_prog_MSGMERGE
3934 if test -n "$MSGMERGE"; then
3935 { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5
3936 $as_echo "$MSGMERGE" >&6; }
3938 { $as_echo "$as_me:$LINENO: result: no" >&5
3939 $as_echo "no" >&6; }
3943 for ac_prog in bzip2 gzip
3945 # Extract the first word of "$ac_prog", so it can be a program name with args.
3946 set dummy $ac_prog; ac_word=$2
3947 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if test "${ac_cv_prog_ZIP+set}" = set; then
3950 $as_echo_n "(cached) " >&6
3952 if test -n "$ZIP"; then
3953 ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3959 test -z "$as_dir" && as_dir=.
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3962 ac_cv_prog_ZIP="$ac_prog"
3963 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3973 if test -n "$ZIP"; then
3974 { $as_echo "$as_me:$LINENO: result: $ZIP" >&5
3975 $as_echo "$ZIP" >&6; }
3977 { $as_echo "$as_me:$LINENO: result: no" >&5
3978 $as_echo "no" >&6; }
3982 test -n "$ZIP" && break
3984 test -n "$ZIP" || ZIP="gzip"
3986 INSTALL_DATA="\${INSTALL} -m 644"
3988 INSTALL_BIN="\${INSTALL} -m 755"
3993 # Extract the first word of "$ac_prog", so it can be a program name with args.
3994 set dummy $ac_prog; ac_word=$2
3995 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3996 $as_echo_n "checking for $ac_word... " >&6; }
3997 if test "${ac_cv_path_PATH_CP+set}" = set; then
3998 $as_echo_n "(cached) " >&6
4002 ac_cv_path_PATH_CP="$PATH_CP" # Let the user override the test with a path.
4005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4006 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
4009 test -z "$as_dir" && as_dir=.
4010 for ac_exec_ext in '' $ac_executable_extensions; do
4011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4012 ac_cv_path_PATH_CP="$as_dir/$ac_word$ac_exec_ext"
4013 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4023 PATH_CP=$ac_cv_path_PATH_CP
4024 if test -n "$PATH_CP"; then
4025 { $as_echo "$as_me:$LINENO: result: $PATH_CP" >&5
4026 $as_echo "$PATH_CP" >&6; }
4028 { $as_echo "$as_me:$LINENO: result: no" >&5
4029 $as_echo "no" >&6; }
4033 test -n "$PATH_CP" && break
4035 test -n "$PATH_CP" || PATH_CP="cp"
4037 for ac_prog in chkconfig
4039 # Extract the first word of "$ac_prog", so it can be a program name with args.
4040 set dummy $ac_prog; ac_word=$2
4041 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4042 $as_echo_n "checking for $ac_word... " >&6; }
4043 if test "${ac_cv_path_PATH_CHKCONFIG+set}" = set; then
4044 $as_echo_n "(cached) " >&6
4046 case $PATH_CHKCONFIG in
4048 ac_cv_path_PATH_CHKCONFIG="$PATH_CHKCONFIG" # Let the user override the test with a path.
4051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
4055 test -z "$as_dir" && as_dir=.
4056 for ac_exec_ext in '' $ac_executable_extensions; do
4057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4058 ac_cv_path_PATH_CHKCONFIG="$as_dir/$ac_word$ac_exec_ext"
4059 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4069 PATH_CHKCONFIG=$ac_cv_path_PATH_CHKCONFIG
4070 if test -n "$PATH_CHKCONFIG"; then
4071 { $as_echo "$as_me:$LINENO: result: $PATH_CHKCONFIG" >&5
4072 $as_echo "$PATH_CHKCONFIG" >&6; }
4074 { $as_echo "$as_me:$LINENO: result: no" >&5
4075 $as_echo "no" >&6; }
4079 test -n "$PATH_CHKCONFIG" && break
4081 test -n "$PATH_CHKCONFIG" || PATH_CHKCONFIG="chkconfig"
4086 # Check header files
4088 echo Check header files:
4092 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4093 $as_echo_n "checking for ANSI C header files... " >&6; }
4094 if test "${ac_cv_header_stdc+set}" = set; then
4095 $as_echo_n "(cached) " >&6
4097 cat >conftest.$ac_ext <<_ACEOF
4100 cat confdefs.h >>conftest.$ac_ext
4101 cat >>conftest.$ac_ext <<_ACEOF
4102 /* end confdefs.h. */
4116 rm -f conftest.$ac_objext
4117 if { (ac_try="$ac_compile"
4119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4120 *) ac_try_echo=$ac_try;;
4122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4123 $as_echo "$ac_try_echo") >&5
4124 (eval "$ac_compile") 2>conftest.er1
4126 grep -v '^ *+' conftest.er1 >conftest.err
4128 cat conftest.err >&5
4129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); } && {
4131 test -z "$ac_c_werror_flag" ||
4132 test ! -s conftest.err
4133 } && test -s conftest.$ac_objext; then
4134 ac_cv_header_stdc=yes
4136 $as_echo "$as_me: failed program was:" >&5
4137 sed 's/^/| /' conftest.$ac_ext >&5
4139 ac_cv_header_stdc=no
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144 if test $ac_cv_header_stdc = yes; then
4145 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4146 cat >conftest.$ac_ext <<_ACEOF
4149 cat confdefs.h >>conftest.$ac_ext
4150 cat >>conftest.$ac_ext <<_ACEOF
4151 /* end confdefs.h. */
4155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4156 $EGREP "memchr" >/dev/null 2>&1; then
4159 ac_cv_header_stdc=no
4165 if test $ac_cv_header_stdc = yes; then
4166 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4167 cat >conftest.$ac_ext <<_ACEOF
4170 cat confdefs.h >>conftest.$ac_ext
4171 cat >>conftest.$ac_ext <<_ACEOF
4172 /* end confdefs.h. */
4176 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4177 $EGREP "free" >/dev/null 2>&1; then
4180 ac_cv_header_stdc=no
4186 if test $ac_cv_header_stdc = yes; then
4187 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4188 if test "$cross_compiling" = yes; then
4191 cat >conftest.$ac_ext <<_ACEOF
4194 cat confdefs.h >>conftest.$ac_ext
4195 cat >>conftest.$ac_ext <<_ACEOF
4196 /* end confdefs.h. */
4199 #if ((' ' & 0x0FF) == 0x020)
4200 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4201 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4203 # define ISLOWER(c) \
4204 (('a' <= (c) && (c) <= 'i') \
4205 || ('j' <= (c) && (c) <= 'r') \
4206 || ('s' <= (c) && (c) <= 'z'))
4207 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4210 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4215 for (i = 0; i < 256; i++)
4216 if (XOR (islower (i), ISLOWER (i))
4217 || toupper (i) != TOUPPER (i))
4222 rm -f conftest$ac_exeext
4223 if { (ac_try="$ac_link"
4225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4226 *) ac_try_echo=$ac_try;;
4228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4229 $as_echo "$ac_try_echo") >&5
4230 (eval "$ac_link") 2>&5
4232 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4233 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4234 { (case "(($ac_try" in
4235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4236 *) ac_try_echo=$ac_try;;
4238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4239 $as_echo "$ac_try_echo") >&5
4240 (eval "$ac_try") 2>&5
4242 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; }; then
4246 $as_echo "$as_me: program exited with status $ac_status" >&5
4247 $as_echo "$as_me: failed program was:" >&5
4248 sed 's/^/| /' conftest.$ac_ext >&5
4251 ac_cv_header_stdc=no
4253 rm -rf conftest.dSYM
4254 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4260 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4261 $as_echo "$ac_cv_header_stdc" >&6; }
4262 if test $ac_cv_header_stdc = yes; then
4264 cat >>confdefs.h <<\_ACEOF
4265 #define STDC_HEADERS 1
4276 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4277 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4278 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
4279 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4280 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4281 $as_echo_n "(cached) " >&6
4283 cat >conftest.$ac_ext <<_ACEOF
4286 cat confdefs.h >>conftest.$ac_ext
4287 cat >>conftest.$ac_ext <<_ACEOF
4288 /* end confdefs.h. */
4289 #include <sys/types.h>
4301 rm -f conftest.$ac_objext
4302 if { (ac_try="$ac_compile"
4304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4305 *) ac_try_echo=$ac_try;;
4307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4308 $as_echo "$ac_try_echo") >&5
4309 (eval "$ac_compile") 2>conftest.er1
4311 grep -v '^ *+' conftest.er1 >conftest.err
4313 cat conftest.err >&5
4314 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); } && {
4316 test -z "$ac_c_werror_flag" ||
4317 test ! -s conftest.err
4318 } && test -s conftest.$ac_objext; then
4319 eval "$as_ac_Header=yes"
4321 $as_echo "$as_me: failed program was:" >&5
4322 sed 's/^/| /' conftest.$ac_ext >&5
4324 eval "$as_ac_Header=no"
4327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4329 ac_res=`eval 'as_val=${'$as_ac_Header'}
4330 $as_echo "$as_val"'`
4331 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4332 $as_echo "$ac_res" >&6; }
4333 as_val=`eval 'as_val=${'$as_ac_Header'}
4334 $as_echo "$as_val"'`
4335 if test "x$as_val" = x""yes; then
4336 cat >>confdefs.h <<_ACEOF
4337 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4340 ac_header_dirent=$ac_hdr; break
4344 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4345 if test $ac_header_dirent = dirent.h; then
4346 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4347 $as_echo_n "checking for library containing opendir... " >&6; }
4348 if test "${ac_cv_search_opendir+set}" = set; then
4349 $as_echo_n "(cached) " >&6
4351 ac_func_search_save_LIBS=$LIBS
4352 cat >conftest.$ac_ext <<_ACEOF
4355 cat confdefs.h >>conftest.$ac_ext
4356 cat >>conftest.$ac_ext <<_ACEOF
4357 /* end confdefs.h. */
4359 /* Override any GCC internal prototype to avoid an error.
4360 Use char because int might match the return type of a GCC
4361 builtin and then its argument prototype would still apply. */
4374 for ac_lib in '' dir; do
4375 if test -z "$ac_lib"; then
4376 ac_res="none required"
4379 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4381 rm -f conftest.$ac_objext conftest$ac_exeext
4382 if { (ac_try="$ac_link"
4384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4385 *) ac_try_echo=$ac_try;;
4387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4388 $as_echo "$ac_try_echo") >&5
4389 (eval "$ac_link") 2>conftest.er1
4391 grep -v '^ *+' conftest.er1 >conftest.err
4393 cat conftest.err >&5
4394 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); } && {
4396 test -z "$ac_c_werror_flag" ||
4397 test ! -s conftest.err
4398 } && test -s conftest$ac_exeext && {
4399 test "$cross_compiling" = yes ||
4400 $as_test_x conftest$ac_exeext
4402 ac_cv_search_opendir=$ac_res
4404 $as_echo "$as_me: failed program was:" >&5
4405 sed 's/^/| /' conftest.$ac_ext >&5
4410 rm -rf conftest.dSYM
4411 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4413 if test "${ac_cv_search_opendir+set}" = set; then
4417 if test "${ac_cv_search_opendir+set}" = set; then
4420 ac_cv_search_opendir=no
4423 LIBS=$ac_func_search_save_LIBS
4425 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4426 $as_echo "$ac_cv_search_opendir" >&6; }
4427 ac_res=$ac_cv_search_opendir
4428 if test "$ac_res" != no; then
4429 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4434 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
4435 $as_echo_n "checking for library containing opendir... " >&6; }
4436 if test "${ac_cv_search_opendir+set}" = set; then
4437 $as_echo_n "(cached) " >&6
4439 ac_func_search_save_LIBS=$LIBS
4440 cat >conftest.$ac_ext <<_ACEOF
4443 cat confdefs.h >>conftest.$ac_ext
4444 cat >>conftest.$ac_ext <<_ACEOF
4445 /* end confdefs.h. */
4447 /* Override any GCC internal prototype to avoid an error.
4448 Use char because int might match the return type of a GCC
4449 builtin and then its argument prototype would still apply. */
4462 for ac_lib in '' x; do
4463 if test -z "$ac_lib"; then
4464 ac_res="none required"
4467 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4469 rm -f conftest.$ac_objext conftest$ac_exeext
4470 if { (ac_try="$ac_link"
4472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4473 *) ac_try_echo=$ac_try;;
4475 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4476 $as_echo "$ac_try_echo") >&5
4477 (eval "$ac_link") 2>conftest.er1
4479 grep -v '^ *+' conftest.er1 >conftest.err
4481 cat conftest.err >&5
4482 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); } && {
4484 test -z "$ac_c_werror_flag" ||
4485 test ! -s conftest.err
4486 } && test -s conftest$ac_exeext && {
4487 test "$cross_compiling" = yes ||
4488 $as_test_x conftest$ac_exeext
4490 ac_cv_search_opendir=$ac_res
4492 $as_echo "$as_me: failed program was:" >&5
4493 sed 's/^/| /' conftest.$ac_ext >&5
4498 rm -rf conftest.dSYM
4499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4501 if test "${ac_cv_search_opendir+set}" = set; then
4505 if test "${ac_cv_search_opendir+set}" = set; then
4508 ac_cv_search_opendir=no
4511 LIBS=$ac_func_search_save_LIBS
4513 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
4514 $as_echo "$ac_cv_search_opendir" >&6; }
4515 ac_res=$ac_cv_search_opendir
4516 if test "$ac_res" != no; then
4517 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4524 for ac_header in ctype.h
4526 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4527 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4528 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4529 $as_echo_n "checking for $ac_header... " >&6; }
4530 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4531 $as_echo_n "(cached) " >&6
4533 ac_res=`eval 'as_val=${'$as_ac_Header'}
4534 $as_echo "$as_val"'`
4535 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4536 $as_echo "$ac_res" >&6; }
4538 # Is the header compilable?
4539 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4540 $as_echo_n "checking $ac_header usability... " >&6; }
4541 cat >conftest.$ac_ext <<_ACEOF
4544 cat confdefs.h >>conftest.$ac_ext
4545 cat >>conftest.$ac_ext <<_ACEOF
4546 /* end confdefs.h. */
4547 $ac_includes_default
4548 #include <$ac_header>
4550 rm -f conftest.$ac_objext
4551 if { (ac_try="$ac_compile"
4553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4554 *) ac_try_echo=$ac_try;;
4556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4557 $as_echo "$ac_try_echo") >&5
4558 (eval "$ac_compile") 2>conftest.er1
4560 grep -v '^ *+' conftest.er1 >conftest.err
4562 cat conftest.err >&5
4563 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4564 (exit $ac_status); } && {
4565 test -z "$ac_c_werror_flag" ||
4566 test ! -s conftest.err
4567 } && test -s conftest.$ac_objext; then
4568 ac_header_compiler=yes
4570 $as_echo "$as_me: failed program was:" >&5
4571 sed 's/^/| /' conftest.$ac_ext >&5
4573 ac_header_compiler=no
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4578 $as_echo "$ac_header_compiler" >&6; }
4580 # Is the header present?
4581 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4582 $as_echo_n "checking $ac_header presence... " >&6; }
4583 cat >conftest.$ac_ext <<_ACEOF
4586 cat confdefs.h >>conftest.$ac_ext
4587 cat >>conftest.$ac_ext <<_ACEOF
4588 /* end confdefs.h. */
4589 #include <$ac_header>
4591 if { (ac_try="$ac_cpp conftest.$ac_ext"
4593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4594 *) ac_try_echo=$ac_try;;
4596 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4597 $as_echo "$ac_try_echo") >&5
4598 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4600 grep -v '^ *+' conftest.er1 >conftest.err
4602 cat conftest.err >&5
4603 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4604 (exit $ac_status); } >/dev/null && {
4605 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4606 test ! -s conftest.err
4608 ac_header_preproc=yes
4610 $as_echo "$as_me: failed program was:" >&5
4611 sed 's/^/| /' conftest.$ac_ext >&5
4613 ac_header_preproc=no
4616 rm -f conftest.err conftest.$ac_ext
4617 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4618 $as_echo "$ac_header_preproc" >&6; }
4620 # So? What about this header?
4621 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4623 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4624 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4625 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4626 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4627 ac_header_preproc=yes
4630 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4631 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4632 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4633 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4634 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4635 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4636 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4637 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4638 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4639 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4640 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4641 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4645 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4646 $as_echo_n "checking for $ac_header... " >&6; }
4647 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4648 $as_echo_n "(cached) " >&6
4650 eval "$as_ac_Header=\$ac_header_preproc"
4652 ac_res=`eval 'as_val=${'$as_ac_Header'}
4653 $as_echo "$as_val"'`
4654 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4655 $as_echo "$ac_res" >&6; }
4658 as_val=`eval 'as_val=${'$as_ac_Header'}
4659 $as_echo "$as_val"'`
4660 if test "x$as_val" = x""yes; then
4661 cat >>confdefs.h <<_ACEOF
4662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4670 for ac_header in errno.h
4672 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4673 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4674 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4675 $as_echo_n "checking for $ac_header... " >&6; }
4676 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4677 $as_echo_n "(cached) " >&6
4679 ac_res=`eval 'as_val=${'$as_ac_Header'}
4680 $as_echo "$as_val"'`
4681 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4682 $as_echo "$ac_res" >&6; }
4684 # Is the header compilable?
4685 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4686 $as_echo_n "checking $ac_header usability... " >&6; }
4687 cat >conftest.$ac_ext <<_ACEOF
4690 cat confdefs.h >>conftest.$ac_ext
4691 cat >>conftest.$ac_ext <<_ACEOF
4692 /* end confdefs.h. */
4693 $ac_includes_default
4694 #include <$ac_header>
4696 rm -f conftest.$ac_objext
4697 if { (ac_try="$ac_compile"
4699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4700 *) ac_try_echo=$ac_try;;
4702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4703 $as_echo "$ac_try_echo") >&5
4704 (eval "$ac_compile") 2>conftest.er1
4706 grep -v '^ *+' conftest.er1 >conftest.err
4708 cat conftest.err >&5
4709 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4710 (exit $ac_status); } && {
4711 test -z "$ac_c_werror_flag" ||
4712 test ! -s conftest.err
4713 } && test -s conftest.$ac_objext; then
4714 ac_header_compiler=yes
4716 $as_echo "$as_me: failed program was:" >&5
4717 sed 's/^/| /' conftest.$ac_ext >&5
4719 ac_header_compiler=no
4722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4723 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4724 $as_echo "$ac_header_compiler" >&6; }
4726 # Is the header present?
4727 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4728 $as_echo_n "checking $ac_header presence... " >&6; }
4729 cat >conftest.$ac_ext <<_ACEOF
4732 cat confdefs.h >>conftest.$ac_ext
4733 cat >>conftest.$ac_ext <<_ACEOF
4734 /* end confdefs.h. */
4735 #include <$ac_header>
4737 if { (ac_try="$ac_cpp conftest.$ac_ext"
4739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4740 *) ac_try_echo=$ac_try;;
4742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4743 $as_echo "$ac_try_echo") >&5
4744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4746 grep -v '^ *+' conftest.er1 >conftest.err
4748 cat conftest.err >&5
4749 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4750 (exit $ac_status); } >/dev/null && {
4751 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4752 test ! -s conftest.err
4754 ac_header_preproc=yes
4756 $as_echo "$as_me: failed program was:" >&5
4757 sed 's/^/| /' conftest.$ac_ext >&5
4759 ac_header_preproc=no
4762 rm -f conftest.err conftest.$ac_ext
4763 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4764 $as_echo "$ac_header_preproc" >&6; }
4766 # So? What about this header?
4767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4769 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4770 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4771 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4772 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4773 ac_header_preproc=yes
4776 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4777 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4778 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4779 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4780 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4781 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4782 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4783 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4784 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4785 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4786 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4787 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4791 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4792 $as_echo_n "checking for $ac_header... " >&6; }
4793 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4794 $as_echo_n "(cached) " >&6
4796 eval "$as_ac_Header=\$ac_header_preproc"
4798 ac_res=`eval 'as_val=${'$as_ac_Header'}
4799 $as_echo "$as_val"'`
4800 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4801 $as_echo "$ac_res" >&6; }
4804 as_val=`eval 'as_val=${'$as_ac_Header'}
4805 $as_echo "$as_val"'`
4806 if test "x$as_val" = x""yes; then
4807 cat >>confdefs.h <<_ACEOF
4808 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4816 for ac_header in libintl.h
4818 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4819 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4820 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4821 $as_echo_n "checking for $ac_header... " >&6; }
4822 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4823 $as_echo_n "(cached) " >&6
4825 ac_res=`eval 'as_val=${'$as_ac_Header'}
4826 $as_echo "$as_val"'`
4827 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4828 $as_echo "$ac_res" >&6; }
4830 # Is the header compilable?
4831 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4832 $as_echo_n "checking $ac_header usability... " >&6; }
4833 cat >conftest.$ac_ext <<_ACEOF
4836 cat confdefs.h >>conftest.$ac_ext
4837 cat >>conftest.$ac_ext <<_ACEOF
4838 /* end confdefs.h. */
4839 $ac_includes_default
4840 #include <$ac_header>
4842 rm -f conftest.$ac_objext
4843 if { (ac_try="$ac_compile"
4845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4846 *) ac_try_echo=$ac_try;;
4848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4849 $as_echo "$ac_try_echo") >&5
4850 (eval "$ac_compile") 2>conftest.er1
4852 grep -v '^ *+' conftest.er1 >conftest.err
4854 cat conftest.err >&5
4855 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 (exit $ac_status); } && {
4857 test -z "$ac_c_werror_flag" ||
4858 test ! -s conftest.err
4859 } && test -s conftest.$ac_objext; then
4860 ac_header_compiler=yes
4862 $as_echo "$as_me: failed program was:" >&5
4863 sed 's/^/| /' conftest.$ac_ext >&5
4865 ac_header_compiler=no
4868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4869 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4870 $as_echo "$ac_header_compiler" >&6; }
4872 # Is the header present?
4873 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
4874 $as_echo_n "checking $ac_header presence... " >&6; }
4875 cat >conftest.$ac_ext <<_ACEOF
4878 cat confdefs.h >>conftest.$ac_ext
4879 cat >>conftest.$ac_ext <<_ACEOF
4880 /* end confdefs.h. */
4881 #include <$ac_header>
4883 if { (ac_try="$ac_cpp conftest.$ac_ext"
4885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4886 *) ac_try_echo=$ac_try;;
4888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4889 $as_echo "$ac_try_echo") >&5
4890 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4892 grep -v '^ *+' conftest.er1 >conftest.err
4894 cat conftest.err >&5
4895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); } >/dev/null && {
4897 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4898 test ! -s conftest.err
4900 ac_header_preproc=yes
4902 $as_echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.$ac_ext >&5
4905 ac_header_preproc=no
4908 rm -f conftest.err conftest.$ac_ext
4909 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4910 $as_echo "$ac_header_preproc" >&6; }
4912 # So? What about this header?
4913 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4915 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4916 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4917 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4918 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4919 ac_header_preproc=yes
4922 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4923 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4924 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4925 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4926 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4927 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4928 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4929 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4930 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4931 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4932 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4933 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4937 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4938 $as_echo_n "checking for $ac_header... " >&6; }
4939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4940 $as_echo_n "(cached) " >&6
4942 eval "$as_ac_Header=\$ac_header_preproc"
4944 ac_res=`eval 'as_val=${'$as_ac_Header'}
4945 $as_echo "$as_val"'`
4946 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4947 $as_echo "$ac_res" >&6; }
4950 as_val=`eval 'as_val=${'$as_ac_Header'}
4951 $as_echo "$as_val"'`
4952 if test "x$as_val" = x""yes; then
4953 cat >>confdefs.h <<_ACEOF
4954 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4962 for ac_header in locale.h
4964 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4965 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4966 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4967 $as_echo_n "checking for $ac_header... " >&6; }
4968 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4969 $as_echo_n "(cached) " >&6
4971 ac_res=`eval 'as_val=${'$as_ac_Header'}
4972 $as_echo "$as_val"'`
4973 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4974 $as_echo "$ac_res" >&6; }
4976 # Is the header compilable?
4977 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
4978 $as_echo_n "checking $ac_header usability... " >&6; }
4979 cat >conftest.$ac_ext <<_ACEOF
4982 cat confdefs.h >>conftest.$ac_ext
4983 cat >>conftest.$ac_ext <<_ACEOF
4984 /* end confdefs.h. */
4985 $ac_includes_default
4986 #include <$ac_header>
4988 rm -f conftest.$ac_objext
4989 if { (ac_try="$ac_compile"
4991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4992 *) ac_try_echo=$ac_try;;
4994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4995 $as_echo "$ac_try_echo") >&5
4996 (eval "$ac_compile") 2>conftest.er1
4998 grep -v '^ *+' conftest.er1 >conftest.err
5000 cat conftest.err >&5
5001 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5002 (exit $ac_status); } && {
5003 test -z "$ac_c_werror_flag" ||
5004 test ! -s conftest.err
5005 } && test -s conftest.$ac_objext; then
5006 ac_header_compiler=yes
5008 $as_echo "$as_me: failed program was:" >&5
5009 sed 's/^/| /' conftest.$ac_ext >&5
5011 ac_header_compiler=no
5014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5015 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5016 $as_echo "$ac_header_compiler" >&6; }
5018 # Is the header present?
5019 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5020 $as_echo_n "checking $ac_header presence... " >&6; }
5021 cat >conftest.$ac_ext <<_ACEOF
5024 cat confdefs.h >>conftest.$ac_ext
5025 cat >>conftest.$ac_ext <<_ACEOF
5026 /* end confdefs.h. */
5027 #include <$ac_header>
5029 if { (ac_try="$ac_cpp conftest.$ac_ext"
5031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5032 *) ac_try_echo=$ac_try;;
5034 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5035 $as_echo "$ac_try_echo") >&5
5036 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5038 grep -v '^ *+' conftest.er1 >conftest.err
5040 cat conftest.err >&5
5041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042 (exit $ac_status); } >/dev/null && {
5043 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5044 test ! -s conftest.err
5046 ac_header_preproc=yes
5048 $as_echo "$as_me: failed program was:" >&5
5049 sed 's/^/| /' conftest.$ac_ext >&5
5051 ac_header_preproc=no
5054 rm -f conftest.err conftest.$ac_ext
5055 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5056 $as_echo "$ac_header_preproc" >&6; }
5058 # So? What about this header?
5059 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5061 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5062 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5063 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5064 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5065 ac_header_preproc=yes
5068 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5069 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5070 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5071 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5072 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5073 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5074 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5075 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5076 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5077 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5078 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5079 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5083 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5084 $as_echo_n "checking for $ac_header... " >&6; }
5085 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5086 $as_echo_n "(cached) " >&6
5088 eval "$as_ac_Header=\$ac_header_preproc"
5090 ac_res=`eval 'as_val=${'$as_ac_Header'}
5091 $as_echo "$as_val"'`
5092 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5093 $as_echo "$ac_res" >&6; }
5096 as_val=`eval 'as_val=${'$as_ac_Header'}
5097 $as_echo "$as_val"'`
5098 if test "x$as_val" = x""yes; then
5099 cat >>confdefs.h <<_ACEOF
5100 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5108 for ac_header in net/if.h
5110 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5111 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5112 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5113 $as_echo_n "checking for $ac_header... " >&6; }
5114 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5115 $as_echo_n "(cached) " >&6
5117 ac_res=`eval 'as_val=${'$as_ac_Header'}
5118 $as_echo "$as_val"'`
5119 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5120 $as_echo "$ac_res" >&6; }
5122 # Is the header compilable?
5123 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5124 $as_echo_n "checking $ac_header usability... " >&6; }
5125 cat >conftest.$ac_ext <<_ACEOF
5128 cat confdefs.h >>conftest.$ac_ext
5129 cat >>conftest.$ac_ext <<_ACEOF
5130 /* end confdefs.h. */
5131 $ac_includes_default
5132 #include <$ac_header>
5134 rm -f conftest.$ac_objext
5135 if { (ac_try="$ac_compile"
5137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5138 *) ac_try_echo=$ac_try;;
5140 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5141 $as_echo "$ac_try_echo") >&5
5142 (eval "$ac_compile") 2>conftest.er1
5144 grep -v '^ *+' conftest.er1 >conftest.err
5146 cat conftest.err >&5
5147 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5148 (exit $ac_status); } && {
5149 test -z "$ac_c_werror_flag" ||
5150 test ! -s conftest.err
5151 } && test -s conftest.$ac_objext; then
5152 ac_header_compiler=yes
5154 $as_echo "$as_me: failed program was:" >&5
5155 sed 's/^/| /' conftest.$ac_ext >&5
5157 ac_header_compiler=no
5160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5161 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5162 $as_echo "$ac_header_compiler" >&6; }
5164 # Is the header present?
5165 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5166 $as_echo_n "checking $ac_header presence... " >&6; }
5167 cat >conftest.$ac_ext <<_ACEOF
5170 cat confdefs.h >>conftest.$ac_ext
5171 cat >>conftest.$ac_ext <<_ACEOF
5172 /* end confdefs.h. */
5173 #include <$ac_header>
5175 if { (ac_try="$ac_cpp conftest.$ac_ext"
5177 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5178 *) ac_try_echo=$ac_try;;
5180 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5181 $as_echo "$ac_try_echo") >&5
5182 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5184 grep -v '^ *+' conftest.er1 >conftest.err
5186 cat conftest.err >&5
5187 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5188 (exit $ac_status); } >/dev/null && {
5189 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5190 test ! -s conftest.err
5192 ac_header_preproc=yes
5194 $as_echo "$as_me: failed program was:" >&5
5195 sed 's/^/| /' conftest.$ac_ext >&5
5197 ac_header_preproc=no
5200 rm -f conftest.err conftest.$ac_ext
5201 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5202 $as_echo "$ac_header_preproc" >&6; }
5204 # So? What about this header?
5205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5207 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5208 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5209 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5210 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5211 ac_header_preproc=yes
5214 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5215 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5216 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5217 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5218 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5219 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5220 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5221 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5222 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5223 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5224 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5225 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5229 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5230 $as_echo_n "checking for $ac_header... " >&6; }
5231 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5232 $as_echo_n "(cached) " >&6
5234 eval "$as_ac_Header=\$ac_header_preproc"
5236 ac_res=`eval 'as_val=${'$as_ac_Header'}
5237 $as_echo "$as_val"'`
5238 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5239 $as_echo "$ac_res" >&6; }
5242 as_val=`eval 'as_val=${'$as_ac_Header'}
5243 $as_echo "$as_val"'`
5244 if test "x$as_val" = x""yes; then
5245 cat >>confdefs.h <<_ACEOF
5246 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5254 for ac_header in regex.h
5256 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5257 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5258 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5259 $as_echo_n "checking for $ac_header... " >&6; }
5260 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5261 $as_echo_n "(cached) " >&6
5263 ac_res=`eval 'as_val=${'$as_ac_Header'}
5264 $as_echo "$as_val"'`
5265 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5266 $as_echo "$ac_res" >&6; }
5268 # Is the header compilable?
5269 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5270 $as_echo_n "checking $ac_header usability... " >&6; }
5271 cat >conftest.$ac_ext <<_ACEOF
5274 cat confdefs.h >>conftest.$ac_ext
5275 cat >>conftest.$ac_ext <<_ACEOF
5276 /* end confdefs.h. */
5277 $ac_includes_default
5278 #include <$ac_header>
5280 rm -f conftest.$ac_objext
5281 if { (ac_try="$ac_compile"
5283 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5284 *) ac_try_echo=$ac_try;;
5286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5287 $as_echo "$ac_try_echo") >&5
5288 (eval "$ac_compile") 2>conftest.er1
5290 grep -v '^ *+' conftest.er1 >conftest.err
5292 cat conftest.err >&5
5293 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5294 (exit $ac_status); } && {
5295 test -z "$ac_c_werror_flag" ||
5296 test ! -s conftest.err
5297 } && test -s conftest.$ac_objext; then
5298 ac_header_compiler=yes
5300 $as_echo "$as_me: failed program was:" >&5
5301 sed 's/^/| /' conftest.$ac_ext >&5
5303 ac_header_compiler=no
5306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5307 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5308 $as_echo "$ac_header_compiler" >&6; }
5310 # Is the header present?
5311 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5312 $as_echo_n "checking $ac_header presence... " >&6; }
5313 cat >conftest.$ac_ext <<_ACEOF
5316 cat confdefs.h >>conftest.$ac_ext
5317 cat >>conftest.$ac_ext <<_ACEOF
5318 /* end confdefs.h. */
5319 #include <$ac_header>
5321 if { (ac_try="$ac_cpp conftest.$ac_ext"
5323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5324 *) ac_try_echo=$ac_try;;
5326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5327 $as_echo "$ac_try_echo") >&5
5328 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5330 grep -v '^ *+' conftest.er1 >conftest.err
5332 cat conftest.err >&5
5333 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5334 (exit $ac_status); } >/dev/null && {
5335 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5336 test ! -s conftest.err
5338 ac_header_preproc=yes
5340 $as_echo "$as_me: failed program was:" >&5
5341 sed 's/^/| /' conftest.$ac_ext >&5
5343 ac_header_preproc=no
5346 rm -f conftest.err conftest.$ac_ext
5347 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5348 $as_echo "$ac_header_preproc" >&6; }
5350 # So? What about this header?
5351 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5353 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5354 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5355 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5356 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5357 ac_header_preproc=yes
5360 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5361 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5362 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5363 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5364 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5365 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5366 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5367 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5368 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5369 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5370 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5371 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5375 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5376 $as_echo_n "checking for $ac_header... " >&6; }
5377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5378 $as_echo_n "(cached) " >&6
5380 eval "$as_ac_Header=\$ac_header_preproc"
5382 ac_res=`eval 'as_val=${'$as_ac_Header'}
5383 $as_echo "$as_val"'`
5384 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5385 $as_echo "$ac_res" >&6; }
5388 as_val=`eval 'as_val=${'$as_ac_Header'}
5389 $as_echo "$as_val"'`
5390 if test "x$as_val" = x""yes; then
5391 cat >>confdefs.h <<_ACEOF
5392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5400 for ac_header in signal.h
5402 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5403 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5404 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5405 $as_echo_n "checking for $ac_header... " >&6; }
5406 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5407 $as_echo_n "(cached) " >&6
5409 ac_res=`eval 'as_val=${'$as_ac_Header'}
5410 $as_echo "$as_val"'`
5411 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5412 $as_echo "$ac_res" >&6; }
5414 # Is the header compilable?
5415 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5416 $as_echo_n "checking $ac_header usability... " >&6; }
5417 cat >conftest.$ac_ext <<_ACEOF
5420 cat confdefs.h >>conftest.$ac_ext
5421 cat >>conftest.$ac_ext <<_ACEOF
5422 /* end confdefs.h. */
5423 $ac_includes_default
5424 #include <$ac_header>
5426 rm -f conftest.$ac_objext
5427 if { (ac_try="$ac_compile"
5429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5430 *) ac_try_echo=$ac_try;;
5432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5433 $as_echo "$ac_try_echo") >&5
5434 (eval "$ac_compile") 2>conftest.er1
5436 grep -v '^ *+' conftest.er1 >conftest.err
5438 cat conftest.err >&5
5439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5440 (exit $ac_status); } && {
5441 test -z "$ac_c_werror_flag" ||
5442 test ! -s conftest.err
5443 } && test -s conftest.$ac_objext; then
5444 ac_header_compiler=yes
5446 $as_echo "$as_me: failed program was:" >&5
5447 sed 's/^/| /' conftest.$ac_ext >&5
5449 ac_header_compiler=no
5452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5453 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5454 $as_echo "$ac_header_compiler" >&6; }
5456 # Is the header present?
5457 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5458 $as_echo_n "checking $ac_header presence... " >&6; }
5459 cat >conftest.$ac_ext <<_ACEOF
5462 cat confdefs.h >>conftest.$ac_ext
5463 cat >>conftest.$ac_ext <<_ACEOF
5464 /* end confdefs.h. */
5465 #include <$ac_header>
5467 if { (ac_try="$ac_cpp conftest.$ac_ext"
5469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5470 *) ac_try_echo=$ac_try;;
5472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5473 $as_echo "$ac_try_echo") >&5
5474 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5476 grep -v '^ *+' conftest.er1 >conftest.err
5478 cat conftest.err >&5
5479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5480 (exit $ac_status); } >/dev/null && {
5481 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5482 test ! -s conftest.err
5484 ac_header_preproc=yes
5486 $as_echo "$as_me: failed program was:" >&5
5487 sed 's/^/| /' conftest.$ac_ext >&5
5489 ac_header_preproc=no
5492 rm -f conftest.err conftest.$ac_ext
5493 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5494 $as_echo "$ac_header_preproc" >&6; }
5496 # So? What about this header?
5497 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5499 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5500 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5501 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5502 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5503 ac_header_preproc=yes
5506 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5507 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5508 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5509 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5510 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5511 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5512 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5513 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5514 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5515 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5516 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5517 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5521 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5522 $as_echo_n "checking for $ac_header... " >&6; }
5523 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5524 $as_echo_n "(cached) " >&6
5526 eval "$as_ac_Header=\$ac_header_preproc"
5528 ac_res=`eval 'as_val=${'$as_ac_Header'}
5529 $as_echo "$as_val"'`
5530 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5531 $as_echo "$ac_res" >&6; }
5534 as_val=`eval 'as_val=${'$as_ac_Header'}
5535 $as_echo "$as_val"'`
5536 if test "x$as_val" = x""yes; then
5537 cat >>confdefs.h <<_ACEOF
5538 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5546 for ac_header in stdio.h
5548 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5549 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5550 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5551 $as_echo_n "checking for $ac_header... " >&6; }
5552 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5553 $as_echo_n "(cached) " >&6
5555 ac_res=`eval 'as_val=${'$as_ac_Header'}
5556 $as_echo "$as_val"'`
5557 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5558 $as_echo "$ac_res" >&6; }
5560 # Is the header compilable?
5561 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5562 $as_echo_n "checking $ac_header usability... " >&6; }
5563 cat >conftest.$ac_ext <<_ACEOF
5566 cat confdefs.h >>conftest.$ac_ext
5567 cat >>conftest.$ac_ext <<_ACEOF
5568 /* end confdefs.h. */
5569 $ac_includes_default
5570 #include <$ac_header>
5572 rm -f conftest.$ac_objext
5573 if { (ac_try="$ac_compile"
5575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5576 *) ac_try_echo=$ac_try;;
5578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5579 $as_echo "$ac_try_echo") >&5
5580 (eval "$ac_compile") 2>conftest.er1
5582 grep -v '^ *+' conftest.er1 >conftest.err
5584 cat conftest.err >&5
5585 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 (exit $ac_status); } && {
5587 test -z "$ac_c_werror_flag" ||
5588 test ! -s conftest.err
5589 } && test -s conftest.$ac_objext; then
5590 ac_header_compiler=yes
5592 $as_echo "$as_me: failed program was:" >&5
5593 sed 's/^/| /' conftest.$ac_ext >&5
5595 ac_header_compiler=no
5598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5599 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5600 $as_echo "$ac_header_compiler" >&6; }
5602 # Is the header present?
5603 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5604 $as_echo_n "checking $ac_header presence... " >&6; }
5605 cat >conftest.$ac_ext <<_ACEOF
5608 cat confdefs.h >>conftest.$ac_ext
5609 cat >>conftest.$ac_ext <<_ACEOF
5610 /* end confdefs.h. */
5611 #include <$ac_header>
5613 if { (ac_try="$ac_cpp conftest.$ac_ext"
5615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5616 *) ac_try_echo=$ac_try;;
5618 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5619 $as_echo "$ac_try_echo") >&5
5620 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5622 grep -v '^ *+' conftest.er1 >conftest.err
5624 cat conftest.err >&5
5625 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5626 (exit $ac_status); } >/dev/null && {
5627 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5628 test ! -s conftest.err
5630 ac_header_preproc=yes
5632 $as_echo "$as_me: failed program was:" >&5
5633 sed 's/^/| /' conftest.$ac_ext >&5
5635 ac_header_preproc=no
5638 rm -f conftest.err conftest.$ac_ext
5639 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5640 $as_echo "$ac_header_preproc" >&6; }
5642 # So? What about this header?
5643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5645 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5646 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5647 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5648 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5649 ac_header_preproc=yes
5652 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5653 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5654 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5655 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5656 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5657 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5658 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5659 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5660 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5661 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5662 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5663 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5667 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5668 $as_echo_n "checking for $ac_header... " >&6; }
5669 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5670 $as_echo_n "(cached) " >&6
5672 eval "$as_ac_Header=\$ac_header_preproc"
5674 ac_res=`eval 'as_val=${'$as_ac_Header'}
5675 $as_echo "$as_val"'`
5676 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5677 $as_echo "$ac_res" >&6; }
5680 as_val=`eval 'as_val=${'$as_ac_Header'}
5681 $as_echo "$as_val"'`
5682 if test "x$as_val" = x""yes; then
5683 cat >>confdefs.h <<_ACEOF
5684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5692 for ac_header in sys/file.h
5694 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5695 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5696 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5697 $as_echo_n "checking for $ac_header... " >&6; }
5698 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5699 $as_echo_n "(cached) " >&6
5701 ac_res=`eval 'as_val=${'$as_ac_Header'}
5702 $as_echo "$as_val"'`
5703 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5704 $as_echo "$ac_res" >&6; }
5706 # Is the header compilable?
5707 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5708 $as_echo_n "checking $ac_header usability... " >&6; }
5709 cat >conftest.$ac_ext <<_ACEOF
5712 cat confdefs.h >>conftest.$ac_ext
5713 cat >>conftest.$ac_ext <<_ACEOF
5714 /* end confdefs.h. */
5715 $ac_includes_default
5716 #include <$ac_header>
5718 rm -f conftest.$ac_objext
5719 if { (ac_try="$ac_compile"
5721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5722 *) ac_try_echo=$ac_try;;
5724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5725 $as_echo "$ac_try_echo") >&5
5726 (eval "$ac_compile") 2>conftest.er1
5728 grep -v '^ *+' conftest.er1 >conftest.err
5730 cat conftest.err >&5
5731 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5732 (exit $ac_status); } && {
5733 test -z "$ac_c_werror_flag" ||
5734 test ! -s conftest.err
5735 } && test -s conftest.$ac_objext; then
5736 ac_header_compiler=yes
5738 $as_echo "$as_me: failed program was:" >&5
5739 sed 's/^/| /' conftest.$ac_ext >&5
5741 ac_header_compiler=no
5744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5745 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5746 $as_echo "$ac_header_compiler" >&6; }
5748 # Is the header present?
5749 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5750 $as_echo_n "checking $ac_header presence... " >&6; }
5751 cat >conftest.$ac_ext <<_ACEOF
5754 cat confdefs.h >>conftest.$ac_ext
5755 cat >>conftest.$ac_ext <<_ACEOF
5756 /* end confdefs.h. */
5757 #include <$ac_header>
5759 if { (ac_try="$ac_cpp conftest.$ac_ext"
5761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5762 *) ac_try_echo=$ac_try;;
5764 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5765 $as_echo "$ac_try_echo") >&5
5766 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5768 grep -v '^ *+' conftest.er1 >conftest.err
5770 cat conftest.err >&5
5771 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5772 (exit $ac_status); } >/dev/null && {
5773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5774 test ! -s conftest.err
5776 ac_header_preproc=yes
5778 $as_echo "$as_me: failed program was:" >&5
5779 sed 's/^/| /' conftest.$ac_ext >&5
5781 ac_header_preproc=no
5784 rm -f conftest.err conftest.$ac_ext
5785 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5786 $as_echo "$ac_header_preproc" >&6; }
5788 # So? What about this header?
5789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5791 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5792 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5793 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5794 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5795 ac_header_preproc=yes
5798 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5799 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5800 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5801 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5802 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5803 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5804 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5805 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5806 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5807 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5808 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5809 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5813 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5814 $as_echo_n "checking for $ac_header... " >&6; }
5815 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5816 $as_echo_n "(cached) " >&6
5818 eval "$as_ac_Header=\$ac_header_preproc"
5820 ac_res=`eval 'as_val=${'$as_ac_Header'}
5821 $as_echo "$as_val"'`
5822 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5823 $as_echo "$ac_res" >&6; }
5826 as_val=`eval 'as_val=${'$as_ac_Header'}
5827 $as_echo "$as_val"'`
5828 if test "x$as_val" = x""yes; then
5829 cat >>confdefs.h <<_ACEOF
5830 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5838 for ac_header in sys/ioctl.h
5840 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5841 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5842 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5843 $as_echo_n "checking for $ac_header... " >&6; }
5844 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5845 $as_echo_n "(cached) " >&6
5847 ac_res=`eval 'as_val=${'$as_ac_Header'}
5848 $as_echo "$as_val"'`
5849 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5850 $as_echo "$ac_res" >&6; }
5852 # Is the header compilable?
5853 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
5854 $as_echo_n "checking $ac_header usability... " >&6; }
5855 cat >conftest.$ac_ext <<_ACEOF
5858 cat confdefs.h >>conftest.$ac_ext
5859 cat >>conftest.$ac_ext <<_ACEOF
5860 /* end confdefs.h. */
5861 $ac_includes_default
5862 #include <$ac_header>
5864 rm -f conftest.$ac_objext
5865 if { (ac_try="$ac_compile"
5867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5868 *) ac_try_echo=$ac_try;;
5870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5871 $as_echo "$ac_try_echo") >&5
5872 (eval "$ac_compile") 2>conftest.er1
5874 grep -v '^ *+' conftest.er1 >conftest.err
5876 cat conftest.err >&5
5877 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5878 (exit $ac_status); } && {
5879 test -z "$ac_c_werror_flag" ||
5880 test ! -s conftest.err
5881 } && test -s conftest.$ac_objext; then
5882 ac_header_compiler=yes
5884 $as_echo "$as_me: failed program was:" >&5
5885 sed 's/^/| /' conftest.$ac_ext >&5
5887 ac_header_compiler=no
5890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5891 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5892 $as_echo "$ac_header_compiler" >&6; }
5894 # Is the header present?
5895 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
5896 $as_echo_n "checking $ac_header presence... " >&6; }
5897 cat >conftest.$ac_ext <<_ACEOF
5900 cat confdefs.h >>conftest.$ac_ext
5901 cat >>conftest.$ac_ext <<_ACEOF
5902 /* end confdefs.h. */
5903 #include <$ac_header>
5905 if { (ac_try="$ac_cpp conftest.$ac_ext"
5907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5908 *) ac_try_echo=$ac_try;;
5910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5911 $as_echo "$ac_try_echo") >&5
5912 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5914 grep -v '^ *+' conftest.er1 >conftest.err
5916 cat conftest.err >&5
5917 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5918 (exit $ac_status); } >/dev/null && {
5919 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5920 test ! -s conftest.err
5922 ac_header_preproc=yes
5924 $as_echo "$as_me: failed program was:" >&5
5925 sed 's/^/| /' conftest.$ac_ext >&5
5927 ac_header_preproc=no
5930 rm -f conftest.err conftest.$ac_ext
5931 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5932 $as_echo "$ac_header_preproc" >&6; }
5934 # So? What about this header?
5935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5937 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5938 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5939 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5940 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5941 ac_header_preproc=yes
5944 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5945 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5946 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5947 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5948 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5949 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5950 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5951 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5952 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5953 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5954 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5955 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5959 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5960 $as_echo_n "checking for $ac_header... " >&6; }
5961 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5962 $as_echo_n "(cached) " >&6
5964 eval "$as_ac_Header=\$ac_header_preproc"
5966 ac_res=`eval 'as_val=${'$as_ac_Header'}
5967 $as_echo "$as_val"'`
5968 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5969 $as_echo "$ac_res" >&6; }
5972 as_val=`eval 'as_val=${'$as_ac_Header'}
5973 $as_echo "$as_val"'`
5974 if test "x$as_val" = x""yes; then
5975 cat >>confdefs.h <<_ACEOF
5976 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5984 for ac_header in sys/stat.h
5986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5987 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5988 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
5989 $as_echo_n "checking for $ac_header... " >&6; }
5990 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5991 $as_echo_n "(cached) " >&6
5993 ac_res=`eval 'as_val=${'$as_ac_Header'}
5994 $as_echo "$as_val"'`
5995 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
5996 $as_echo "$ac_res" >&6; }
5998 # Is the header compilable?
5999 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
6000 $as_echo_n "checking $ac_header usability... " >&6; }
6001 cat >conftest.$ac_ext <<_ACEOF
6004 cat confdefs.h >>conftest.$ac_ext
6005 cat >>conftest.$ac_ext <<_ACEOF
6006 /* end confdefs.h. */
6007 $ac_includes_default
6008 #include <$ac_header>
6010 rm -f conftest.$ac_objext
6011 if { (ac_try="$ac_compile"
6013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6014 *) ac_try_echo=$ac_try;;
6016 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6017 $as_echo "$ac_try_echo") >&5
6018 (eval "$ac_compile") 2>conftest.er1
6020 grep -v '^ *+' conftest.er1 >conftest.err
6022 cat conftest.err >&5
6023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6024 (exit $ac_status); } && {
6025 test -z "$ac_c_werror_flag" ||
6026 test ! -s conftest.err
6027 } && test -s conftest.$ac_objext; then
6028 ac_header_compiler=yes
6030 $as_echo "$as_me: failed program was:" >&5
6031 sed 's/^/| /' conftest.$ac_ext >&5
6033 ac_header_compiler=no
6036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6037 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6038 $as_echo "$ac_header_compiler" >&6; }
6040 # Is the header present?
6041 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
6042 $as_echo_n "checking $ac_header presence... " >&6; }
6043 cat >conftest.$ac_ext <<_ACEOF
6046 cat confdefs.h >>conftest.$ac_ext
6047 cat >>conftest.$ac_ext <<_ACEOF
6048 /* end confdefs.h. */
6049 #include <$ac_header>
6051 if { (ac_try="$ac_cpp conftest.$ac_ext"
6053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6054 *) ac_try_echo=$ac_try;;
6056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6057 $as_echo "$ac_try_echo") >&5
6058 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6060 grep -v '^ *+' conftest.er1 >conftest.err
6062 cat conftest.err >&5
6063 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6064 (exit $ac_status); } >/dev/null && {
6065 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6066 test ! -s conftest.err
6068 ac_header_preproc=yes
6070 $as_echo "$as_me: failed program was:" >&5
6071 sed 's/^/| /' conftest.$ac_ext >&5
6073 ac_header_preproc=no
6076 rm -f conftest.err conftest.$ac_ext
6077 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6078 $as_echo "$ac_header_preproc" >&6; }
6080 # So? What about this header?
6081 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6083 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6084 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6085 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6086 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6087 ac_header_preproc=yes
6090 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6091 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6092 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6093 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6094 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6095 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6096 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6097 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6098 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6099 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6100 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6101 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6105 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6106 $as_echo_n "checking for $ac_header... " >&6; }
6107 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6108 $as_echo_n "(cached) " >&6
6110 eval "$as_ac_Header=\$ac_header_preproc"
6112 ac_res=`eval 'as_val=${'$as_ac_Header'}
6113 $as_echo "$as_val"'`
6114 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6115 $as_echo "$ac_res" >&6; }
6118 as_val=`eval 'as_val=${'$as_ac_Header'}
6119 $as_echo "$as_val"'`
6120 if test "x$as_val" = x""yes; then
6121 cat >>confdefs.h <<_ACEOF
6122 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6131 echo Check typedefs, structures and compiler characteristics:
6133 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
6134 $as_echo_n "checking return type of signal handlers... " >&6; }
6135 if test "${ac_cv_type_signal+set}" = set; then
6136 $as_echo_n "(cached) " >&6
6138 cat >conftest.$ac_ext <<_ACEOF
6141 cat confdefs.h >>conftest.$ac_ext
6142 cat >>conftest.$ac_ext <<_ACEOF
6143 /* end confdefs.h. */
6144 #include <sys/types.h>
6150 return *(signal (0, 0)) (0) == 1;
6155 rm -f conftest.$ac_objext
6156 if { (ac_try="$ac_compile"
6158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6159 *) ac_try_echo=$ac_try;;
6161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6162 $as_echo "$ac_try_echo") >&5
6163 (eval "$ac_compile") 2>conftest.er1
6165 grep -v '^ *+' conftest.er1 >conftest.err
6167 cat conftest.err >&5
6168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6169 (exit $ac_status); } && {
6170 test -z "$ac_c_werror_flag" ||
6171 test ! -s conftest.err
6172 } && test -s conftest.$ac_objext; then
6173 ac_cv_type_signal=int
6175 $as_echo "$as_me: failed program was:" >&5
6176 sed 's/^/| /' conftest.$ac_ext >&5
6178 ac_cv_type_signal=void
6181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6183 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
6184 $as_echo "$ac_cv_type_signal" >&6; }
6186 cat >>confdefs.h <<_ACEOF
6187 #define RETSIGTYPE $ac_cv_type_signal
6191 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
6192 $as_echo_n "checking for size_t... " >&6; }
6193 if test "${ac_cv_type_size_t+set}" = set; then
6194 $as_echo_n "(cached) " >&6
6196 ac_cv_type_size_t=no
6197 cat >conftest.$ac_ext <<_ACEOF
6200 cat confdefs.h >>conftest.$ac_ext
6201 cat >>conftest.$ac_ext <<_ACEOF
6202 /* end confdefs.h. */
6203 $ac_includes_default
6207 if (sizeof (size_t))
6213 rm -f conftest.$ac_objext
6214 if { (ac_try="$ac_compile"
6216 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6217 *) ac_try_echo=$ac_try;;
6219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6220 $as_echo "$ac_try_echo") >&5
6221 (eval "$ac_compile") 2>conftest.er1
6223 grep -v '^ *+' conftest.er1 >conftest.err
6225 cat conftest.err >&5
6226 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6227 (exit $ac_status); } && {
6228 test -z "$ac_c_werror_flag" ||
6229 test ! -s conftest.err
6230 } && test -s conftest.$ac_objext; then
6231 cat >conftest.$ac_ext <<_ACEOF
6234 cat confdefs.h >>conftest.$ac_ext
6235 cat >>conftest.$ac_ext <<_ACEOF
6236 /* end confdefs.h. */
6237 $ac_includes_default
6241 if (sizeof ((size_t)))
6247 rm -f conftest.$ac_objext
6248 if { (ac_try="$ac_compile"
6250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6251 *) ac_try_echo=$ac_try;;
6253 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6254 $as_echo "$ac_try_echo") >&5
6255 (eval "$ac_compile") 2>conftest.er1
6257 grep -v '^ *+' conftest.er1 >conftest.err
6259 cat conftest.err >&5
6260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6261 (exit $ac_status); } && {
6262 test -z "$ac_c_werror_flag" ||
6263 test ! -s conftest.err
6264 } && test -s conftest.$ac_objext; then
6267 $as_echo "$as_me: failed program was:" >&5
6268 sed 's/^/| /' conftest.$ac_ext >&5
6270 ac_cv_type_size_t=yes
6273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6275 $as_echo "$as_me: failed program was:" >&5
6276 sed 's/^/| /' conftest.$ac_ext >&5
6281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6283 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
6284 $as_echo "$ac_cv_type_size_t" >&6; }
6285 if test "x$ac_cv_type_size_t" = x""yes; then
6289 cat >>confdefs.h <<_ACEOF
6290 #define size_t unsigned int
6295 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
6296 $as_echo_n "checking for off_t... " >&6; }
6297 if test "${ac_cv_type_off_t+set}" = set; then
6298 $as_echo_n "(cached) " >&6
6301 cat >conftest.$ac_ext <<_ACEOF
6304 cat confdefs.h >>conftest.$ac_ext
6305 cat >>conftest.$ac_ext <<_ACEOF
6306 /* end confdefs.h. */
6307 $ac_includes_default
6317 rm -f conftest.$ac_objext
6318 if { (ac_try="$ac_compile"
6320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6321 *) ac_try_echo=$ac_try;;
6323 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6324 $as_echo "$ac_try_echo") >&5
6325 (eval "$ac_compile") 2>conftest.er1
6327 grep -v '^ *+' conftest.er1 >conftest.err
6329 cat conftest.err >&5
6330 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); } && {
6332 test -z "$ac_c_werror_flag" ||
6333 test ! -s conftest.err
6334 } && test -s conftest.$ac_objext; then
6335 cat >conftest.$ac_ext <<_ACEOF
6338 cat confdefs.h >>conftest.$ac_ext
6339 cat >>conftest.$ac_ext <<_ACEOF
6340 /* end confdefs.h. */
6341 $ac_includes_default
6345 if (sizeof ((off_t)))
6351 rm -f conftest.$ac_objext
6352 if { (ac_try="$ac_compile"
6354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6355 *) ac_try_echo=$ac_try;;
6357 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6358 $as_echo "$ac_try_echo") >&5
6359 (eval "$ac_compile") 2>conftest.er1
6361 grep -v '^ *+' conftest.er1 >conftest.err
6363 cat conftest.err >&5
6364 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6365 (exit $ac_status); } && {
6366 test -z "$ac_c_werror_flag" ||
6367 test ! -s conftest.err
6368 } && test -s conftest.$ac_objext; then
6371 $as_echo "$as_me: failed program was:" >&5
6372 sed 's/^/| /' conftest.$ac_ext >&5
6374 ac_cv_type_off_t=yes
6377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6379 $as_echo "$as_me: failed program was:" >&5
6380 sed 's/^/| /' conftest.$ac_ext >&5
6385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6387 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
6388 $as_echo "$ac_cv_type_off_t" >&6; }
6389 if test "x$ac_cv_type_off_t" = x""yes; then
6393 cat >>confdefs.h <<_ACEOF
6394 #define off_t long int
6401 echo Check library functions:
6404 for ac_func in strchr
6406 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6407 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6408 $as_echo_n "checking for $ac_func... " >&6; }
6409 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6410 $as_echo_n "(cached) " >&6
6412 cat >conftest.$ac_ext <<_ACEOF
6415 cat confdefs.h >>conftest.$ac_ext
6416 cat >>conftest.$ac_ext <<_ACEOF
6417 /* end confdefs.h. */
6418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6420 #define $ac_func innocuous_$ac_func
6422 /* System header to define __stub macros and hopefully few prototypes,
6423 which can conflict with char $ac_func (); below.
6424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6425 <limits.h> exists even on freestanding compilers. */
6428 # include <limits.h>
6430 # include <assert.h>
6435 /* Override any GCC internal prototype to avoid an error.
6436 Use char because int might match the return type of a GCC
6437 builtin and then its argument prototype would still apply. */
6442 /* The GNU C library defines this for functions which it implements
6443 to always fail with ENOSYS. Some functions are actually named
6444 something starting with __ and the normal name is an alias. */
6445 #if defined __stub_$ac_func || defined __stub___$ac_func
6457 rm -f conftest.$ac_objext conftest$ac_exeext
6458 if { (ac_try="$ac_link"
6460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6461 *) ac_try_echo=$ac_try;;
6463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6464 $as_echo "$ac_try_echo") >&5
6465 (eval "$ac_link") 2>conftest.er1
6467 grep -v '^ *+' conftest.er1 >conftest.err
6469 cat conftest.err >&5
6470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6471 (exit $ac_status); } && {
6472 test -z "$ac_c_werror_flag" ||
6473 test ! -s conftest.err
6474 } && test -s conftest$ac_exeext && {
6475 test "$cross_compiling" = yes ||
6476 $as_test_x conftest$ac_exeext
6478 eval "$as_ac_var=yes"
6480 $as_echo "$as_me: failed program was:" >&5
6481 sed 's/^/| /' conftest.$ac_ext >&5
6483 eval "$as_ac_var=no"
6486 rm -rf conftest.dSYM
6487 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6488 conftest$ac_exeext conftest.$ac_ext
6490 ac_res=`eval 'as_val=${'$as_ac_var'}
6491 $as_echo "$as_val"'`
6492 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6493 $as_echo "$ac_res" >&6; }
6494 as_val=`eval 'as_val=${'$as_ac_var'}
6495 $as_echo "$as_val"'`
6496 if test "x$as_val" = x""yes; then
6497 cat >>confdefs.h <<_ACEOF
6498 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6505 for ac_func in strcspn
6507 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6508 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6509 $as_echo_n "checking for $ac_func... " >&6; }
6510 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6511 $as_echo_n "(cached) " >&6
6513 cat >conftest.$ac_ext <<_ACEOF
6516 cat confdefs.h >>conftest.$ac_ext
6517 cat >>conftest.$ac_ext <<_ACEOF
6518 /* end confdefs.h. */
6519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6521 #define $ac_func innocuous_$ac_func
6523 /* System header to define __stub macros and hopefully few prototypes,
6524 which can conflict with char $ac_func (); below.
6525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6526 <limits.h> exists even on freestanding compilers. */
6529 # include <limits.h>
6531 # include <assert.h>
6536 /* Override any GCC internal prototype to avoid an error.
6537 Use char because int might match the return type of a GCC
6538 builtin and then its argument prototype would still apply. */
6543 /* The GNU C library defines this for functions which it implements
6544 to always fail with ENOSYS. Some functions are actually named
6545 something starting with __ and the normal name is an alias. */
6546 #if defined __stub_$ac_func || defined __stub___$ac_func
6558 rm -f conftest.$ac_objext conftest$ac_exeext
6559 if { (ac_try="$ac_link"
6561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6562 *) ac_try_echo=$ac_try;;
6564 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6565 $as_echo "$ac_try_echo") >&5
6566 (eval "$ac_link") 2>conftest.er1
6568 grep -v '^ *+' conftest.er1 >conftest.err
6570 cat conftest.err >&5
6571 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6572 (exit $ac_status); } && {
6573 test -z "$ac_c_werror_flag" ||
6574 test ! -s conftest.err
6575 } && test -s conftest$ac_exeext && {
6576 test "$cross_compiling" = yes ||
6577 $as_test_x conftest$ac_exeext
6579 eval "$as_ac_var=yes"
6581 $as_echo "$as_me: failed program was:" >&5
6582 sed 's/^/| /' conftest.$ac_ext >&5
6584 eval "$as_ac_var=no"
6587 rm -rf conftest.dSYM
6588 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6589 conftest$ac_exeext conftest.$ac_ext
6591 ac_res=`eval 'as_val=${'$as_ac_var'}
6592 $as_echo "$as_val"'`
6593 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6594 $as_echo "$ac_res" >&6; }
6595 as_val=`eval 'as_val=${'$as_ac_var'}
6596 $as_echo "$as_val"'`
6597 if test "x$as_val" = x""yes; then
6598 cat >>confdefs.h <<_ACEOF
6599 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6606 for ac_func in strspn
6608 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6609 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6610 $as_echo_n "checking for $ac_func... " >&6; }
6611 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6612 $as_echo_n "(cached) " >&6
6614 cat >conftest.$ac_ext <<_ACEOF
6617 cat confdefs.h >>conftest.$ac_ext
6618 cat >>conftest.$ac_ext <<_ACEOF
6619 /* end confdefs.h. */
6620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6622 #define $ac_func innocuous_$ac_func
6624 /* System header to define __stub macros and hopefully few prototypes,
6625 which can conflict with char $ac_func (); below.
6626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6627 <limits.h> exists even on freestanding compilers. */
6630 # include <limits.h>
6632 # include <assert.h>
6637 /* Override any GCC internal prototype to avoid an error.
6638 Use char because int might match the return type of a GCC
6639 builtin and then its argument prototype would still apply. */
6644 /* The GNU C library defines this for functions which it implements
6645 to always fail with ENOSYS. Some functions are actually named
6646 something starting with __ and the normal name is an alias. */
6647 #if defined __stub_$ac_func || defined __stub___$ac_func
6659 rm -f conftest.$ac_objext conftest$ac_exeext
6660 if { (ac_try="$ac_link"
6662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6663 *) ac_try_echo=$ac_try;;
6665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6666 $as_echo "$ac_try_echo") >&5
6667 (eval "$ac_link") 2>conftest.er1
6669 grep -v '^ *+' conftest.er1 >conftest.err
6671 cat conftest.err >&5
6672 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6673 (exit $ac_status); } && {
6674 test -z "$ac_c_werror_flag" ||
6675 test ! -s conftest.err
6676 } && test -s conftest$ac_exeext && {
6677 test "$cross_compiling" = yes ||
6678 $as_test_x conftest$ac_exeext
6680 eval "$as_ac_var=yes"
6682 $as_echo "$as_me: failed program was:" >&5
6683 sed 's/^/| /' conftest.$ac_ext >&5
6685 eval "$as_ac_var=no"
6688 rm -rf conftest.dSYM
6689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6690 conftest$ac_exeext conftest.$ac_ext
6692 ac_res=`eval 'as_val=${'$as_ac_var'}
6693 $as_echo "$as_val"'`
6694 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6695 $as_echo "$ac_res" >&6; }
6696 as_val=`eval 'as_val=${'$as_ac_var'}
6697 $as_echo "$as_val"'`
6698 if test "x$as_val" = x""yes; then
6699 cat >>confdefs.h <<_ACEOF
6700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6707 for ac_func in strstr
6709 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
6710 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
6711 $as_echo_n "checking for $ac_func... " >&6; }
6712 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
6713 $as_echo_n "(cached) " >&6
6715 cat >conftest.$ac_ext <<_ACEOF
6718 cat confdefs.h >>conftest.$ac_ext
6719 cat >>conftest.$ac_ext <<_ACEOF
6720 /* end confdefs.h. */
6721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6723 #define $ac_func innocuous_$ac_func
6725 /* System header to define __stub macros and hopefully few prototypes,
6726 which can conflict with char $ac_func (); below.
6727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6728 <limits.h> exists even on freestanding compilers. */
6731 # include <limits.h>
6733 # include <assert.h>
6738 /* Override any GCC internal prototype to avoid an error.
6739 Use char because int might match the return type of a GCC
6740 builtin and then its argument prototype would still apply. */
6745 /* The GNU C library defines this for functions which it implements
6746 to always fail with ENOSYS. Some functions are actually named
6747 something starting with __ and the normal name is an alias. */
6748 #if defined __stub_$ac_func || defined __stub___$ac_func
6760 rm -f conftest.$ac_objext conftest$ac_exeext
6761 if { (ac_try="$ac_link"
6763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6764 *) ac_try_echo=$ac_try;;
6766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6767 $as_echo "$ac_try_echo") >&5
6768 (eval "$ac_link") 2>conftest.er1
6770 grep -v '^ *+' conftest.er1 >conftest.err
6772 cat conftest.err >&5
6773 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6774 (exit $ac_status); } && {
6775 test -z "$ac_c_werror_flag" ||
6776 test ! -s conftest.err
6777 } && test -s conftest$ac_exeext && {
6778 test "$cross_compiling" = yes ||
6779 $as_test_x conftest$ac_exeext
6781 eval "$as_ac_var=yes"
6783 $as_echo "$as_me: failed program was:" >&5
6784 sed 's/^/| /' conftest.$ac_ext >&5
6786 eval "$as_ac_var=no"
6789 rm -rf conftest.dSYM
6790 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6791 conftest$ac_exeext conftest.$ac_ext
6793 ac_res=`eval 'as_val=${'$as_ac_var'}
6794 $as_echo "$as_val"'`
6795 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
6796 $as_echo "$ac_res" >&6; }
6797 as_val=`eval 'as_val=${'$as_ac_var'}
6798 $as_echo "$as_val"'`
6799 if test "x$as_val" = x""yes; then
6800 cat >>confdefs.h <<_ACEOF
6801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
6808 # Should we check for lm_sensors?
6809 { $as_echo "$as_me:$LINENO: checking for sensors support" >&5
6810 $as_echo_n "checking for sensors support... " >&6; }
6811 # Check whether --enable-sensors was given.
6812 if test "${enable_sensors+set}" = set; then
6813 enableval=$enable_sensors; SENSORS=$enableval
6818 if test $SENSORS != "yes"; then
6823 { $as_echo "$as_me:$LINENO: result: $SENSORS" >&5
6824 $as_echo "$SENSORS" >&6; }
6826 # Check for lm_sensors
6830 { $as_echo "$as_me:$LINENO: checking for sensors_get_detected_chips in -lsensors" >&5
6831 $as_echo_n "checking for sensors_get_detected_chips in -lsensors... " >&6; }
6832 if test "${ac_cv_lib_sensors_sensors_get_detected_chips+set}" = set; then
6833 $as_echo_n "(cached) " >&6
6835 ac_check_lib_save_LIBS=$LIBS
6836 LIBS="-lsensors $LIBS"
6837 cat >conftest.$ac_ext <<_ACEOF
6840 cat confdefs.h >>conftest.$ac_ext
6841 cat >>conftest.$ac_ext <<_ACEOF
6842 /* end confdefs.h. */
6844 /* Override any GCC internal prototype to avoid an error.
6845 Use char because int might match the return type of a GCC
6846 builtin and then its argument prototype would still apply. */
6850 char sensors_get_detected_chips ();
6854 return sensors_get_detected_chips ();
6859 rm -f conftest.$ac_objext conftest$ac_exeext
6860 if { (ac_try="$ac_link"
6862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6863 *) ac_try_echo=$ac_try;;
6865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6866 $as_echo "$ac_try_echo") >&5
6867 (eval "$ac_link") 2>conftest.er1
6869 grep -v '^ *+' conftest.er1 >conftest.err
6871 cat conftest.err >&5
6872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6873 (exit $ac_status); } && {
6874 test -z "$ac_c_werror_flag" ||
6875 test ! -s conftest.err
6876 } && test -s conftest$ac_exeext && {
6877 test "$cross_compiling" = yes ||
6878 $as_test_x conftest$ac_exeext
6880 ac_cv_lib_sensors_sensors_get_detected_chips=yes
6882 $as_echo "$as_me: failed program was:" >&5
6883 sed 's/^/| /' conftest.$ac_ext >&5
6885 ac_cv_lib_sensors_sensors_get_detected_chips=no
6888 rm -rf conftest.dSYM
6889 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6890 conftest$ac_exeext conftest.$ac_ext
6891 LIBS=$ac_check_lib_save_LIBS
6893 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_sensors_sensors_get_detected_chips" >&5
6894 $as_echo "$ac_cv_lib_sensors_sensors_get_detected_chips" >&6; }
6895 if test "x$ac_cv_lib_sensors_sensors_get_detected_chips" = x""yes; then
6896 LFSENSORS="-lsensors"
6901 { $as_echo "$as_me:$LINENO: checking for sensors lib" >&5
6902 $as_echo_n "checking for sensors lib... " >&6; }
6903 cat >conftest.$ac_ext <<_ACEOF
6906 cat confdefs.h >>conftest.$ac_ext
6907 cat >>conftest.$ac_ext <<_ACEOF
6908 /* end confdefs.h. */
6909 #include <sensors/sensors.h>
6910 #include <sensors/error.h>
6920 rm -f conftest.$ac_objext
6921 if { (ac_try="$ac_compile"
6923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6924 *) ac_try_echo=$ac_try;;
6926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6927 $as_echo "$ac_try_echo") >&5
6928 (eval "$ac_compile") 2>conftest.er1
6930 grep -v '^ *+' conftest.er1 >conftest.err
6932 cat conftest.err >&5
6933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6934 (exit $ac_status); } && {
6935 test -z "$ac_c_werror_flag" ||
6936 test ! -s conftest.err
6937 } && test -s conftest.$ac_objext; then
6938 SENSORS=yes; DFSENSORS="-DHAVE_SENSORS"
6940 $as_echo "$as_me: failed program was:" >&5
6941 sed 's/^/| /' conftest.$ac_ext >&5
6943 HAVE_SENSORS="n"; SENSORS=no
6946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6947 { $as_echo "$as_me:$LINENO: result: $SENSORS" >&5
6948 $as_echo "$SENSORS" >&6; }
6954 echo Check system services:
6956 # Check whether --enable-largefile was given.
6957 if test "${enable_largefile+set}" = set; then
6958 enableval=$enable_largefile;
6961 if test "$enable_largefile" != no; then
6963 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
6964 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6965 if test "${ac_cv_sys_largefile_CC+set}" = set; then
6966 $as_echo_n "(cached) " >&6
6968 ac_cv_sys_largefile_CC=no
6969 if test "$GCC" != yes; then
6972 # IRIX 6.2 and later do not support large files by default,
6973 # so use the C compiler's -n32 option if that helps.
6974 cat >conftest.$ac_ext <<_ACEOF
6977 cat confdefs.h >>conftest.$ac_ext
6978 cat >>conftest.$ac_ext <<_ACEOF
6979 /* end confdefs.h. */
6980 #include <sys/types.h>
6981 /* Check that off_t can represent 2**63 - 1 correctly.
6982 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6983 since some C++ compilers masquerading as C compilers
6984 incorrectly reject 9223372036854775807. */
6985 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
6986 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6987 && LARGE_OFF_T % 2147483647 == 1)
6997 rm -f conftest.$ac_objext
6998 if { (ac_try="$ac_compile"
7000 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7001 *) ac_try_echo=$ac_try;;
7003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7004 $as_echo "$ac_try_echo") >&5
7005 (eval "$ac_compile") 2>conftest.er1
7007 grep -v '^ *+' conftest.er1 >conftest.err
7009 cat conftest.err >&5
7010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7011 (exit $ac_status); } && {
7012 test -z "$ac_c_werror_flag" ||
7013 test ! -s conftest.err
7014 } && test -s conftest.$ac_objext; then
7017 $as_echo "$as_me: failed program was:" >&5
7018 sed 's/^/| /' conftest.$ac_ext >&5
7023 rm -f core conftest.err conftest.$ac_objext
7025 rm -f conftest.$ac_objext
7026 if { (ac_try="$ac_compile"
7028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7029 *) ac_try_echo=$ac_try;;
7031 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7032 $as_echo "$ac_try_echo") >&5
7033 (eval "$ac_compile") 2>conftest.er1
7035 grep -v '^ *+' conftest.er1 >conftest.err
7037 cat conftest.err >&5
7038 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7039 (exit $ac_status); } && {
7040 test -z "$ac_c_werror_flag" ||
7041 test ! -s conftest.err
7042 } && test -s conftest.$ac_objext; then
7043 ac_cv_sys_largefile_CC=' -n32'; break
7045 $as_echo "$as_me: failed program was:" >&5
7046 sed 's/^/| /' conftest.$ac_ext >&5
7051 rm -f core conftest.err conftest.$ac_objext
7055 rm -f conftest.$ac_ext
7058 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
7059 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
7060 if test "$ac_cv_sys_largefile_CC" != no; then
7061 CC=$CC$ac_cv_sys_largefile_CC
7064 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7065 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7066 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
7067 $as_echo_n "(cached) " >&6
7070 cat >conftest.$ac_ext <<_ACEOF
7073 cat confdefs.h >>conftest.$ac_ext
7074 cat >>conftest.$ac_ext <<_ACEOF
7075 /* end confdefs.h. */
7076 #include <sys/types.h>
7077 /* Check that off_t can represent 2**63 - 1 correctly.
7078 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7079 since some C++ compilers masquerading as C compilers
7080 incorrectly reject 9223372036854775807. */
7081 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7082 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7083 && LARGE_OFF_T % 2147483647 == 1)
7093 rm -f conftest.$ac_objext
7094 if { (ac_try="$ac_compile"
7096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7097 *) ac_try_echo=$ac_try;;
7099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7100 $as_echo "$ac_try_echo") >&5
7101 (eval "$ac_compile") 2>conftest.er1
7103 grep -v '^ *+' conftest.er1 >conftest.err
7105 cat conftest.err >&5
7106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107 (exit $ac_status); } && {
7108 test -z "$ac_c_werror_flag" ||
7109 test ! -s conftest.err
7110 } && test -s conftest.$ac_objext; then
7111 ac_cv_sys_file_offset_bits=no; break
7113 $as_echo "$as_me: failed program was:" >&5
7114 sed 's/^/| /' conftest.$ac_ext >&5
7119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7120 cat >conftest.$ac_ext <<_ACEOF
7123 cat confdefs.h >>conftest.$ac_ext
7124 cat >>conftest.$ac_ext <<_ACEOF
7125 /* end confdefs.h. */
7126 #define _FILE_OFFSET_BITS 64
7127 #include <sys/types.h>
7128 /* Check that off_t can represent 2**63 - 1 correctly.
7129 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7130 since some C++ compilers masquerading as C compilers
7131 incorrectly reject 9223372036854775807. */
7132 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7133 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7134 && LARGE_OFF_T % 2147483647 == 1)
7144 rm -f conftest.$ac_objext
7145 if { (ac_try="$ac_compile"
7147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7148 *) ac_try_echo=$ac_try;;
7150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7151 $as_echo "$ac_try_echo") >&5
7152 (eval "$ac_compile") 2>conftest.er1
7154 grep -v '^ *+' conftest.er1 >conftest.err
7156 cat conftest.err >&5
7157 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7158 (exit $ac_status); } && {
7159 test -z "$ac_c_werror_flag" ||
7160 test ! -s conftest.err
7161 } && test -s conftest.$ac_objext; then
7162 ac_cv_sys_file_offset_bits=64; break
7164 $as_echo "$as_me: failed program was:" >&5
7165 sed 's/^/| /' conftest.$ac_ext >&5
7170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7171 ac_cv_sys_file_offset_bits=unknown
7175 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
7176 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
7177 case $ac_cv_sys_file_offset_bits in #(
7180 cat >>confdefs.h <<_ACEOF
7181 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
7186 if test $ac_cv_sys_file_offset_bits = unknown; then
7187 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
7188 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7189 if test "${ac_cv_sys_large_files+set}" = set; then
7190 $as_echo_n "(cached) " >&6
7193 cat >conftest.$ac_ext <<_ACEOF
7196 cat confdefs.h >>conftest.$ac_ext
7197 cat >>conftest.$ac_ext <<_ACEOF
7198 /* end confdefs.h. */
7199 #include <sys/types.h>
7200 /* Check that off_t can represent 2**63 - 1 correctly.
7201 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7202 since some C++ compilers masquerading as C compilers
7203 incorrectly reject 9223372036854775807. */
7204 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7205 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7206 && LARGE_OFF_T % 2147483647 == 1)
7216 rm -f conftest.$ac_objext
7217 if { (ac_try="$ac_compile"
7219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7220 *) ac_try_echo=$ac_try;;
7222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7223 $as_echo "$ac_try_echo") >&5
7224 (eval "$ac_compile") 2>conftest.er1
7226 grep -v '^ *+' conftest.er1 >conftest.err
7228 cat conftest.err >&5
7229 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); } && {
7231 test -z "$ac_c_werror_flag" ||
7232 test ! -s conftest.err
7233 } && test -s conftest.$ac_objext; then
7234 ac_cv_sys_large_files=no; break
7236 $as_echo "$as_me: failed program was:" >&5
7237 sed 's/^/| /' conftest.$ac_ext >&5
7242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7243 cat >conftest.$ac_ext <<_ACEOF
7246 cat confdefs.h >>conftest.$ac_ext
7247 cat >>conftest.$ac_ext <<_ACEOF
7248 /* end confdefs.h. */
7249 #define _LARGE_FILES 1
7250 #include <sys/types.h>
7251 /* Check that off_t can represent 2**63 - 1 correctly.
7252 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7253 since some C++ compilers masquerading as C compilers
7254 incorrectly reject 9223372036854775807. */
7255 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
7256 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7257 && LARGE_OFF_T % 2147483647 == 1)
7267 rm -f conftest.$ac_objext
7268 if { (ac_try="$ac_compile"
7270 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7271 *) ac_try_echo=$ac_try;;
7273 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7274 $as_echo "$ac_try_echo") >&5
7275 (eval "$ac_compile") 2>conftest.er1
7277 grep -v '^ *+' conftest.er1 >conftest.err
7279 cat conftest.err >&5
7280 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7281 (exit $ac_status); } && {
7282 test -z "$ac_c_werror_flag" ||
7283 test ! -s conftest.err
7284 } && test -s conftest.$ac_objext; then
7285 ac_cv_sys_large_files=1; break
7287 $as_echo "$as_me: failed program was:" >&5
7288 sed 's/^/| /' conftest.$ac_ext >&5
7293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7294 ac_cv_sys_large_files=unknown
7298 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
7299 $as_echo "$ac_cv_sys_large_files" >&6; }
7300 case $ac_cv_sys_large_files in #(
7303 cat >>confdefs.h <<_ACEOF
7304 #define _LARGE_FILES $ac_cv_sys_large_files
7314 echo Check configuration:
7316 # Check arguments used
7318 # Optional Features:
7319 # --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
7320 # --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
7321 # --disable-largefile omit support for large files
7322 # --disable-nls disable National Language Support
7323 # --enable-yesterday tell sa2 to use "yesterday" data files
7324 # --disable-man-group ignore man_group variable value
7325 # --enable-install-cron tell sysstat to install cron scripts
7326 # --enable-clean-sa-dir clean system activity directory
7327 # --enable-compress-manpg compress manual pages
7328 # --enable-install-isag install isag script
7329 # --enable-debuginfo enable debug output (--debuginfo option)
7330 # --disable-documentation do not install documentation (man pages...)
7331 # --disable-sensors do not link against libsensors even if available
7333 # Some influential environment variables:
7334 # rcdir directory where startup scripts are installed
7335 # sa_lib_dir sadc, sa1 and sa2 directory
7336 # sa_dir system activity daily datafiles directory
7337 # conf_dir sysstat configuration directory (default is /etc/sysconfig)
7338 # history number of daily datafiles to keep (default value is 7)
7339 # compressafter number of days after which datafiles are compressed
7340 # man_group group for man pages
7341 # cron_owner crontab owner
7342 # cron_interval crontab sampling interval
7344 # Fine tuning the installation directories:
7345 # --mandir=DIR man documentation directory [PREFIX/man]
7346 # --docdir=DIR other documentation directory [PREFIX/share/doc]
7348 # Installation directories:
7349 # --prefix=PREFIX install architecture-independent files in PREFIX
7351 # --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
7355 if test -d /etc/init.d && test ! -L /etc/init.d; then
7356 if test -d /etc/init.d/rc2.d; then
7363 INIT_DIR=/etc/init.d
7364 elif test -d /sbin/init.d; then
7366 INIT_DIR=/sbin/init.d
7370 INIT_DIR=/etc/rc.d/init.d
7374 { $as_echo "$as_me:$LINENO: checking run-commands directory" >&5
7375 $as_echo_n "checking run-commands directory... " >&6; }
7377 if test x$rcdir != x""; then
7378 # Override previous rc directories values
7380 INIT_DIR=$rcdir/init.d
7383 { $as_echo "$as_me:$LINENO: result: $RC_DIR" >&5
7384 $as_echo "$RC_DIR" >&6; }
7385 if test ! -d $RC_DIR; then
7386 echo "INFO: Directory ${RC_DIR} doesn't exist."
7387 echo "INFO: Startup scripts won't be installed."
7394 # Set sadc directory
7395 if test $prefix != "NONE"; then
7398 AuxPrefix=/usr/local
7401 if test -d $AuxPrefix/lib; then
7402 SADC_DIR=$AuxPrefix/lib
7403 elif test -d $AuxPrefix/lib64; then
7404 SADC_DIR=$AuxPrefix/lib64
7406 SADC_DIR=$AuxPrefix/lib
7409 { $as_echo "$as_me:$LINENO: checking sadc directory" >&5
7410 $as_echo_n "checking sadc directory... " >&6; }
7412 if test x$sa_lib_dir != x""; then
7413 SA_LIB_DIR=$sa_lib_dir
7415 SA_LIB_DIR=$SADC_DIR/sa
7417 { $as_echo "$as_me:$LINENO: result: $SA_LIB_DIR" >&5
7418 $as_echo "$SA_LIB_DIR" >&6; }
7419 if test ! -d $SA_LIB_DIR; then
7420 echo "INFO: Directory ${SA_LIB_DIR} will be created during installation stage."
7424 # Set system activity directory
7425 { $as_echo "$as_me:$LINENO: checking system activity directory" >&5
7426 $as_echo_n "checking system activity directory... " >&6; }
7428 if test x$sa_dir != x""; then
7433 { $as_echo "$as_me:$LINENO: result: $SA_DIR" >&5
7434 $as_echo "$SA_DIR" >&6; }
7435 if test ! -d $SA_DIR; then
7436 echo "INFO: Directory ${SA_DIR} will be created during installation stage."
7440 # Set configuration directory
7441 { $as_echo "$as_me:$LINENO: checking sysstat configuration directory" >&5
7442 $as_echo_n "checking sysstat configuration directory... " >&6; }
7444 if test x$conf_dir != x""; then
7445 SYSCONFIG_DIR=$conf_dir
7447 SYSCONFIG_DIR=/etc/sysconfig
7449 { $as_echo "$as_me:$LINENO: result: $SYSCONFIG_DIR" >&5
7450 $as_echo "$SYSCONFIG_DIR" >&6; }
7451 if test ! -d $SYSCONFIG_DIR; then
7452 echo "INFO: Directory ${SYSCONFIG_DIR} will be created during installation stage."
7456 # National Language Support
7457 { $as_echo "$as_me:$LINENO: checking National Language Support" >&5
7458 $as_echo_n "checking National Language Support... " >&6; }
7459 # Check whether --enable-nls was given.
7460 if test "${enable_nls+set}" = set; then
7461 enableval=$enable_nls; AUX_NLS=$enableval
7466 if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
7473 { $as_echo "$as_me:$LINENO: result: $AUX_NLS" >&5
7474 $as_echo "$AUX_NLS" >&6; }
7476 if test $AUX_NLS = "yes" && test x$MSGFMT != x"msgfmt"; then
7477 echo "WARNING: msgfmt command not found!"
7479 if test $AUX_NLS = "yes" && test x$XGETTEXT != x"xgettext"; then
7480 echo "WARNING: xgettext command not found!"
7482 if test $AUX_NLS = "yes" && test x$MSGMERGE != x"msgmerge"; then
7483 echo "WARNING: msgmerge command not found!"
7486 # Check whether sa2 should process data file of the day before
7487 { $as_echo "$as_me:$LINENO: checking whether sa2 should process data file of the day before" >&5
7488 $as_echo_n "checking whether sa2 should process data file of the day before... " >&6; }
7489 # Check whether --enable-yesterday was given.
7490 if test "${enable_yesterday+set}" = set; then
7491 enableval=$enable_yesterday; AUX_YESTERDAY=$enableval
7496 if test $AUX_YESTERDAY = "yes"; then
7497 YESTERDAY="--date=yesterday"
7498 { $as_echo "$as_me:$LINENO: result: yes" >&5
7499 $as_echo "yes" >&6; }
7502 { $as_echo "$as_me:$LINENO: result: no" >&5
7503 $as_echo "no" >&6; }
7507 # Data history to keep by sa2
7508 { $as_echo "$as_me:$LINENO: checking number of daily data files to keep" >&5
7509 $as_echo_n "checking number of daily data files to keep... " >&6; }
7511 if test x$history = x""; then
7516 { $as_echo "$as_me:$LINENO: result: $HISTORY" >&5
7517 $as_echo "$HISTORY" >&6; }
7520 # Number of days after which datafiles are compressed
7521 { $as_echo "$as_me:$LINENO: checking number of days after which data files are compressed" >&5
7522 $as_echo_n "checking number of days after which data files are compressed... " >&6; }
7524 if test x$compressafter = x""; then
7527 COMPRESSAFTER=$compressafter
7529 { $as_echo "$as_me:$LINENO: result: $COMPRESSAFTER" >&5
7530 $as_echo "$COMPRESSAFTER" >&6; }
7534 if `grep ^man: /etc/group >/dev/null 2>&1`; then
7540 { $as_echo "$as_me:$LINENO: checking group for manual pages" >&5
7541 $as_echo_n "checking group for manual pages... " >&6; }
7543 if test x$man_group = x""; then
7545 { $as_echo "$as_me:$LINENO: result: $MAN_GROUP" >&5
7546 $as_echo "$MAN_GROUP" >&6; }
7548 if !(`grep ^$man_group: /etc/group >/dev/null 2>&1`); then
7550 { $as_echo "$as_me:$LINENO: result: $MAN_GROUP" >&5
7551 $as_echo "$MAN_GROUP" >&6; }
7552 echo "WARNING: Group ${man_group} not found: Using ${GRP} instead"
7554 MAN_GROUP=$man_group
7555 { $as_echo "$as_me:$LINENO: result: $MAN_GROUP" >&5
7556 $as_echo "$MAN_GROUP" >&6; }
7561 # Ignore manual pages group?
7562 { $as_echo "$as_me:$LINENO: checking whether man_group variable should be ignored" >&5
7563 $as_echo_n "checking whether man_group variable should be ignored... " >&6; }
7564 # Check whether --enable-man-group was given.
7565 if test "${enable_man_group+set}" = set; then
7566 enableval=$enable_man_group; AUX_IMG=$enableval
7571 if test $AUX_IMG != "no"; then
7578 { $as_echo "$as_me:$LINENO: result: $AUX_IMG" >&5
7579 $as_echo "$AUX_IMG" >&6; }
7582 # Compress manual pages?
7583 { $as_echo "$as_me:$LINENO: checking whether manual pages should be compressed" >&5
7584 $as_echo_n "checking whether manual pages should be compressed... " >&6; }
7585 # Check whether --enable-compress-manpg was given.
7586 if test "${enable_compress_manpg+set}" = set; then
7587 enableval=$enable_compress_manpg; AUX_MPG=$enableval
7592 if test $AUX_MPG != "yes"; then
7598 { $as_echo "$as_me:$LINENO: result: $AUX_MPG" >&5
7599 $as_echo "$AUX_MPG" >&6; }
7602 # Check whether isag should be installed
7603 { $as_echo "$as_me:$LINENO: checking whether isag script should be installed" >&5
7604 $as_echo_n "checking whether isag script should be installed... " >&6; }
7605 # Check whether --enable-install-isag was given.
7606 if test "${enable_install_isag+set}" = set; then
7607 enableval=$enable_install_isag; AUX_IIS=$enableval
7612 if test $AUX_IIS != "yes"; then
7618 { $as_echo "$as_me:$LINENO: result: $AUX_IIS" >&5
7619 $as_echo "$AUX_IIS" >&6; }
7622 # Check whether sa directory should be cleaned
7623 { $as_echo "$as_me:$LINENO: checking whether system activity directory should be cleaned" >&5
7624 $as_echo_n "checking whether system activity directory should be cleaned... " >&6; }
7625 # Check whether --enable-clean-sa-dir was given.
7626 if test "${enable_clean_sa_dir+set}" = set; then
7627 enableval=$enable_clean_sa_dir; AUX_CSD=$enableval
7632 if test $AUX_CSD != "yes"; then
7638 { $as_echo "$as_me:$LINENO: result: $AUX_CSD" >&5
7639 $as_echo "$AUX_CSD" >&6; }
7643 { $as_echo "$as_me:$LINENO: checking whether cron should start sar automatically" >&5
7644 $as_echo_n "checking whether cron should start sar automatically... " >&6; }
7645 # Check whether --enable-install-cron was given.
7646 if test "${enable_install_cron+set}" = set; then
7647 enableval=$enable_install_cron; INSTALL_CRON=$enableval
7652 if test $INSTALL_CRON != "yes"; then
7659 { $as_echo "$as_me:$LINENO: result: $AUX_CRON" >&5
7660 $as_echo "$AUX_CRON" >&6; }
7664 if test $INSTALL_CRON = "y"; then
7665 { $as_echo "$as_me:$LINENO: checking crontab owner" >&5
7666 $as_echo_n "checking crontab owner... " >&6; }
7668 if test x$cron_owner = x""; then
7670 { $as_echo "$as_me:$LINENO: result: $CRON_OWNER" >&5
7671 $as_echo "$CRON_OWNER" >&6; }
7673 if !(`grep ^$cron_owner: /etc/passwd >/dev/null 2>&1`); then
7675 { $as_echo "$as_me:$LINENO: result: $CRON_OWNER" >&5
7676 $as_echo "$CRON_OWNER" >&6; }
7677 echo "WARNING: User ${cron_owner} not found: Using ${CUSR} instead."
7679 CRON_OWNER=$cron_owner
7680 { $as_echo "$as_me:$LINENO: result: $CRON_OWNER" >&5
7681 $as_echo "$CRON_OWNER" >&6; }
7684 echo "INFO: Crontab for ${CRON_OWNER} will be saved in current directory if necessary"
7685 if test $CRON_OWNER = "root"; then
7688 REM_CHOWN="# REM_CHOWN"
7690 SU_C_OWNER="su $CRON_OWNER -c "
7692 # " (ignore this line)
7696 { $as_echo "$as_me:$LINENO: checking crontab interval" >&5
7697 $as_echo_n "checking crontab interval... " >&6; }
7699 if test x$cron_interval = x""; then
7702 CRON_INTERVAL=$cron_interval
7704 { $as_echo "$as_me:$LINENO: result: $CRON_INTERVAL" >&5
7705 $as_echo "$CRON_INTERVAL" >&6; }
7706 CRON_INTERVAL_SEC=`expr ${CRON_INTERVAL} \* 60`
7707 CRON_COUNT=`expr 60 / ${CRON_INTERVAL}`
7712 REM_CHOWN="# REM_CHOWN"
7714 CRON_INTERVAL_SEC=600
7725 # Check whether documentation should be installed
7726 { $as_echo "$as_me:$LINENO: checking whether documentation should be installed" >&5
7727 $as_echo_n "checking whether documentation should be installed... " >&6; }
7728 # Check whether --enable-documentation was given.
7729 if test "${enable_documentation+set}" = set; then
7730 enableval=$enable_documentation; AUX_DOC=$enableval
7735 if test $AUX_DOC != "no"; then
7742 { $as_echo "$as_me:$LINENO: result: $AUX_DOC" >&5
7743 $as_echo "$AUX_DOC" >&6; }
7746 # Set directory for installing manual pages (see comment in Makefile)
7749 # Check whether --debuginfo options should be allowed
7750 # Check whether --enable-debuginfo was given.
7751 if test "${enable_debuginfo+set}" = set; then
7752 enableval=$enable_debuginfo; WITH_DEBUG=yes ; DFLAGS="$DFLAGS -DDEBUG"
7762 echo Now create files:
7764 ac_config_files="$ac_config_files sa1"
7765 # Permissions must be changed
7766 ac_config_files="$ac_config_files sa2"
7767 # Permissions must be changed
7768 ac_config_files="$ac_config_files cron/crontab:cron/crontab.sample"
7769 # File must be renamed
7770 ac_config_files="$ac_config_files sysstat.sysconfig"
7772 ac_config_files="$ac_config_files version.h:version.in"
7773 # File must be renamed
7774 ac_config_files="$ac_config_files sysconfig.h:sysconfig.in"
7775 # File must be renamed
7776 ac_config_files="$ac_config_files cron/sysstat.cron.daily"
7778 ac_config_files="$ac_config_files cron/sysstat.cron.hourly"
7780 ac_config_files="$ac_config_files cron/sysstat.crond"
7782 ac_config_files="$ac_config_files cron/sysstat.crond.sample.in:cron/sysstat.crond.in"
7784 ac_config_files="$ac_config_files sysstat"
7785 # Permissions must be changed
7786 ac_config_files="$ac_config_files man/sa1.8:man/sa1.in"
7787 # File must be renamed
7788 ac_config_files="$ac_config_files man/sa2.8:man/sa2.in"
7789 # File must be renamed
7790 ac_config_files="$ac_config_files man/sadc.8:man/sadc.in"
7791 # File must be renamed
7792 ac_config_files="$ac_config_files man/sadf.1:man/sadf.in"
7793 # File must be renamed
7794 ac_config_files="$ac_config_files man/sar.1:man/sar.in"
7795 # File must be renamed
7796 ac_config_files="$ac_config_files man/sysstat.5:man/sysstat.in"
7797 # File must be renamed
7798 ac_config_files="$ac_config_files man/iostat.1:man/iostat.in"
7799 # File must be renamed
7800 ac_config_files="$ac_config_files man/cifsiostat.1:man/cifsiostat.in"
7801 # File must be renamed
7802 ac_config_files="$ac_config_files man/nfsiostat.1:man/nfsiostat.in"
7803 # File must be renamed
7804 ac_config_files="$ac_config_files contrib/isag/isag"
7805 # Permissions must be changed
7807 ac_config_files="$ac_config_files Makefile"
7809 cat >confcache <<\_ACEOF
7810 # This file is a shell script that caches the results of configure
7811 # tests run on this system so they can be shared between configure
7812 # scripts and configure runs, see configure's option --config-cache.
7813 # It is not useful on other systems. If it contains results you don't
7814 # want to keep, you may remove or edit it.
7816 # config.status only pays attention to the cache file if you give it
7817 # the --recheck option to rerun configure.
7819 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7820 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7825 # The following way of writing the cache mishandles newlines in values,
7826 # but we know of no workaround that is simple, portable, and efficient.
7827 # So, we kill variables containing newlines.
7828 # Ultrix sh set writes to stderr and can't be redirected directly,
7829 # and sets the high bit in the cache file unless we assign to the vars.
7831 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7832 eval ac_val=\$$ac_var
7836 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
7837 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7840 _ | IFS | as_nl) ;; #(
7841 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
7842 *) $as_unset $ac_var ;;
7848 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7849 *${as_nl}ac_space=\ *)
7850 # `set' does not quote correctly, so add quotes (double-quote
7851 # substitution turns \\\\ into \\, and sed turns \\ into \).
7854 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7857 # `set' quotes correctly as required by POSIX, so do not add quotes.
7858 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7867 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7869 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7871 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
7872 if test -w "$cache_file"; then
7873 test "x$cache_file" != "x/dev/null" &&
7874 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
7875 $as_echo "$as_me: updating cache $cache_file" >&6;}
7876 cat confcache >$cache_file
7878 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
7879 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7884 test "x$prefix" = xNONE && prefix=$ac_default_prefix
7885 # Let make expand exec_prefix.
7886 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
7888 # Transform confdefs.h into DEFS.
7889 # Protect against shell expansion while executing Makefile rules.
7890 # Protect against Makefile macro expansion.
7892 # If the first sed substitution is executed (which looks for macros that
7893 # take arguments), then branch to the quote section. Otherwise,
7894 # look for a macro that doesn't take arguments.
7904 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
7906 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
7910 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
7923 DEFS=`sed -n "$ac_script" confdefs.h`
7928 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
7929 # 1. Remove the extension, and $U if already installed.
7930 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
7931 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
7932 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7933 # will be set to the directory where LIBOBJS objects are built.
7934 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7935 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
7939 LTLIBOBJS=$ac_ltlibobjs
7943 : ${CONFIG_STATUS=./config.status}
7945 ac_clean_files_save=$ac_clean_files
7946 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
7947 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7948 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7949 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7951 # Generated by $as_me.
7952 # Run this file to recreate the current configuration.
7953 # Compiler output produced by configure, useful for debugging
7954 # configure, is in config.log if it exists.
7959 SHELL=\${CONFIG_SHELL-$SHELL}
7962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7963 ## --------------------- ##
7964 ## M4sh Initialization. ##
7965 ## --------------------- ##
7967 # Be more Bourne compatible
7968 DUALCASE=1; export DUALCASE # for MKS sh
7969 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
7972 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7973 # is contrary to our usage. Disable this feature.
7974 alias -g '${1+"$@"}'='"$@"'
7975 setopt NO_GLOB_SUBST
7977 case `(set -o) 2>/dev/null` in
7978 *posix*) set -o posix ;;
7987 # Avoid depending upon Character Ranges.
7988 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7989 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7990 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7991 as_cr_digits='0123456789'
7992 as_cr_alnum=$as_cr_Letters$as_cr_digits
7997 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7998 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7999 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
8000 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
8001 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
8002 as_echo='printf %s\n'
8003 as_echo_n='printf %s'
8005 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
8006 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
8007 as_echo_n='/usr/ucb/echo -n'
8009 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
8010 as_echo_n_body='eval
8014 expr "X$arg" : "X\\(.*\\)$as_nl";
8015 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
8017 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
8019 export as_echo_n_body
8020 as_echo_n='sh -c $as_echo_n_body as_echo'
8023 as_echo='sh -c $as_echo_body as_echo'
8026 # The user is always right.
8027 if test "${PATH_SEPARATOR+set}" != set; then
8029 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
8030 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
8035 # Support unset when possible.
8036 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8044 # We need space, tab and new line, in precisely that order. Quoting is
8045 # there to prevent editors from complaining about space-tab.
8046 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8047 # splitting by setting IFS to empty value.)
8050 # Find who we are. Look in the path if we contain no directory separator.
8052 *[\\/]* ) as_myself=$0 ;;
8053 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8057 test -z "$as_dir" && as_dir=.
8058 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
8064 # We did not find ourselves, most probably we were run as `sh COMMAND'
8065 # in which case we are not to be found in the path.
8066 if test "x$as_myself" = x; then
8069 if test ! -f "$as_myself"; then
8070 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8071 { (exit 1); exit 1; }
8074 # Work around bugs in pre-3.0 UWIN ksh.
8075 for as_var in ENV MAIL MAILPATH
8076 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
8088 # Required to use basename.
8089 if expr a : '\(a\)' >/dev/null 2>&1 &&
8090 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8096 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8097 as_basename=basename
8103 # Name of the executable.
8104 as_me=`$as_basename -- "$0" ||
8105 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8106 X"$0" : 'X\(//\)$' \| \
8107 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8109 sed '/^.*\/\([^/][^/]*\)\/*$/{
8130 test "x$as_lineno_1" != "x$as_lineno_2" &&
8131 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
8133 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8134 # uniformly replaced by the line number. The first 'sed' inserts a
8135 # line-number line after each line using $LINENO; the second 'sed'
8136 # does the real work. The second script uses 'N' to pair each
8137 # line-number line with the line containing $LINENO, and appends
8138 # trailing '-' during substitution so that $LINENO is not a special
8140 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8141 # scripts with optimization help from Paolo Bonzini. Blame Lee
8142 # E. McMahon (1931-1989) for sed's syntax. :-)
8154 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8158 chmod +x "$as_me.lineno" ||
8159 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8160 { (exit 1); exit 1; }; }
8162 # Don't try to exec as it changes $[0], causing all sort of problems
8163 # (the dirname of $[0] is not the place where we might find the
8164 # original and so on. Autoconf is especially sensitive to this).
8166 # Exit status is that of the last command.
8171 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8177 ECHO_C= ECHO_N= ECHO_T=
8180 case `echo 'x\c'` in
8181 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
8187 if expr a : '\(a\)' >/dev/null 2>&1 &&
8188 test "X`expr 00001 : '.*\(...\)'`" = X001; then
8194 rm -f conf$$ conf$$.exe conf$$.file
8195 if test -d conf$$.dir; then
8196 rm -f conf$$.dir/conf$$.file
8199 mkdir conf$$.dir 2>/dev/null
8201 if (echo >conf$$.file) 2>/dev/null; then
8202 if ln -s conf$$.file conf$$ 2>/dev/null; then
8204 # ... but there are two gotchas:
8205 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8206 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8207 # In both cases, we have to default to `cp -p'.
8208 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
8210 elif ln conf$$.file conf$$ 2>/dev/null; then
8218 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8219 rmdir conf$$.dir 2>/dev/null
8221 if mkdir -p . 2>/dev/null; then
8224 test -d ./-p && rmdir ./-p
8228 if test -x / >/dev/null 2>&1; then
8231 if ls -dL / >/dev/null 2>&1; then
8238 if test -d "$1"; then
8244 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8245 ???[sx]*):;;*)false;;esac;fi
8249 as_executable_p=$as_test_x
8251 # Sed expression to map a string onto a valid CPP name.
8252 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8254 # Sed expression to map a string onto a valid variable name.
8255 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8260 # Save the log message, to keep $[0] and so on meaningful, and to
8261 # report actual input values of CONFIG_FILES etc. instead of their
8262 # values after options handling.
8264 This file was extended by sysstat $as_me 10.0.3, which was
8265 generated by GNU Autoconf 2.63. Invocation command line was
8267 CONFIG_FILES = $CONFIG_FILES
8268 CONFIG_HEADERS = $CONFIG_HEADERS
8269 CONFIG_LINKS = $CONFIG_LINKS
8270 CONFIG_COMMANDS = $CONFIG_COMMANDS
8273 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8278 case $ac_config_files in *"
8279 "*) set x $ac_config_files; shift; ac_config_files=$*;;
8284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8285 # Files that config.status was made for.
8286 config_files="$ac_config_files"
8290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8292 \`$as_me' instantiates files from templates according to the
8293 current configuration.
8295 Usage: $0 [OPTION]... [FILE]...
8297 -h, --help print this help, then exit
8298 -V, --version print version number and configuration settings, then exit
8299 -q, --quiet, --silent
8300 do not print progress messages
8301 -d, --debug don't remove temporary files
8302 --recheck update $as_me by reconfiguring in the same conditions
8303 --file=FILE[:TEMPLATE]
8304 instantiate the configuration file FILE
8306 Configuration files:
8309 Report bugs to <bug-autoconf@gnu.org>."
8312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8314 sysstat config.status 10.0.3
8315 configured by $0, generated by GNU Autoconf 2.63,
8316 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8318 Copyright (C) 2008 Free Software Foundation, Inc.
8319 This config.status script is free software; the Free Software Foundation
8320 gives unlimited permission to copy, distribute and modify it."
8324 test -n "\$AWK" || AWK=awk
8327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8328 # The default lists apply if the user does not specify any file.
8334 ac_option=`expr "X$1" : 'X\([^=]*\)='`
8335 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
8346 # Handling of the options.
8347 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
8349 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
8350 $as_echo "$ac_cs_version"; exit ;;
8351 --debug | --debu | --deb | --de | --d | -d )
8353 --file | --fil | --fi | --f )
8356 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
8358 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
8359 ac_need_defaults=false;;
8360 --he | --h | --help | --hel | -h )
8361 $as_echo "$ac_cs_usage"; exit ;;
8362 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
8363 | -silent | --silent | --silen | --sile | --sil | --si | --s)
8367 -*) { $as_echo "$as_me: error: unrecognized option: $1
8368 Try \`$0 --help' for more information." >&2
8369 { (exit 1); exit 1; }; } ;;
8371 *) ac_config_targets="$ac_config_targets $1"
8372 ac_need_defaults=false ;;
8378 ac_configure_extra_args=
8380 if $ac_cs_silent; then
8382 ac_configure_extra_args="$ac_configure_extra_args --silent"
8386 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8387 if \$ac_cs_recheck; then
8388 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8390 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
8391 CONFIG_SHELL='$SHELL'
8397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8401 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8402 ## Running $as_me. ##
8408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8413 # Handling of arguments.
8414 for ac_config_target in $ac_config_targets
8416 case $ac_config_target in
8417 "sa1") CONFIG_FILES="$CONFIG_FILES sa1" ;;
8418 "sa2") CONFIG_FILES="$CONFIG_FILES sa2" ;;
8419 "cron/crontab") CONFIG_FILES="$CONFIG_FILES cron/crontab:cron/crontab.sample" ;;
8420 "sysstat.sysconfig") CONFIG_FILES="$CONFIG_FILES sysstat.sysconfig" ;;
8421 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:version.in" ;;
8422 "sysconfig.h") CONFIG_FILES="$CONFIG_FILES sysconfig.h:sysconfig.in" ;;
8423 "cron/sysstat.cron.daily") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.daily" ;;
8424 "cron/sysstat.cron.hourly") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.hourly" ;;
8425 "cron/sysstat.crond") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond" ;;
8426 "cron/sysstat.crond.sample.in") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond.sample.in:cron/sysstat.crond.in" ;;
8427 "sysstat") CONFIG_FILES="$CONFIG_FILES sysstat" ;;
8428 "man/sa1.8") CONFIG_FILES="$CONFIG_FILES man/sa1.8:man/sa1.in" ;;
8429 "man/sa2.8") CONFIG_FILES="$CONFIG_FILES man/sa2.8:man/sa2.in" ;;
8430 "man/sadc.8") CONFIG_FILES="$CONFIG_FILES man/sadc.8:man/sadc.in" ;;
8431 "man/sadf.1") CONFIG_FILES="$CONFIG_FILES man/sadf.1:man/sadf.in" ;;
8432 "man/sar.1") CONFIG_FILES="$CONFIG_FILES man/sar.1:man/sar.in" ;;
8433 "man/sysstat.5") CONFIG_FILES="$CONFIG_FILES man/sysstat.5:man/sysstat.in" ;;
8434 "man/iostat.1") CONFIG_FILES="$CONFIG_FILES man/iostat.1:man/iostat.in" ;;
8435 "man/cifsiostat.1") CONFIG_FILES="$CONFIG_FILES man/cifsiostat.1:man/cifsiostat.in" ;;
8436 "man/nfsiostat.1") CONFIG_FILES="$CONFIG_FILES man/nfsiostat.1:man/nfsiostat.in" ;;
8437 "contrib/isag/isag") CONFIG_FILES="$CONFIG_FILES contrib/isag/isag" ;;
8438 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
8440 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8441 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8442 { (exit 1); exit 1; }; };;
8447 # If the user did not use the arguments to specify the items to instantiate,
8448 # then the envvar interface is used. Set only those that are not.
8449 # We use the long form for the default assignment because of an extremely
8450 # bizarre bug on SunOS 4.1.3.
8451 if $ac_need_defaults; then
8452 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
8455 # Have a temporary directory for convenience. Make it in the build tree
8456 # simply because there is no reason against having it here, and in addition,
8457 # creating and moving files from /tmp can sometimes cause problems.
8458 # Hook for its removal unless debugging.
8459 # Note that there is a small window in which the directory will not be cleaned:
8460 # after its creation but before its name has been assigned to `$tmp'.
8464 trap 'exit_status=$?
8465 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8467 trap '{ (exit 1); exit 1; }' 1 2 13 15
8469 # Create a (secure) tmp directory for tmp files.
8472 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8473 test -n "$tmp" && test -d "$tmp"
8476 tmp=./conf$$-$RANDOM
8477 (umask 077 && mkdir "$tmp")
8480 $as_echo "$as_me: cannot create a temporary directory in ." >&2
8481 { (exit 1); exit 1; }
8484 # Set up the scripts for CONFIG_FILES section.
8485 # No need to generate them if there are no CONFIG_FILES.
8486 # This happens for instance with `./config.status config.h'.
8487 if test -n "$CONFIG_FILES"; then
8491 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8492 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8498 echo 'BEGIN {' >"$tmp/subs1.awk" &&
8503 echo "cat >conf$$subs.awk <<_ACEOF" &&
8504 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8507 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8508 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8509 { (exit 1); exit 1; }; }
8510 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
8512 for ac_last_try in false false false false false :; do
8513 . ./conf$$subs.sh ||
8514 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8515 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8516 { (exit 1); exit 1; }; }
8518 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
8519 if test $ac_delim_n = $ac_delim_num; then
8521 elif $ac_last_try; then
8522 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8523 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8524 { (exit 1); exit 1; }; }
8526 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8532 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
8536 s/^/S["/; s/!.*/"]=/
8546 s/\(.\{148\}\).*/\1/
8548 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
8553 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8560 s/\(.\{148\}\).*/\1/
8562 s/["\\]/\\&/g; s/^/"/; s/$/"/
8566 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
8571 ' <conf$$subs.awk | sed '
8576 ' >>$CONFIG_STATUS || ac_write_fail=1
8577 rm -f conf$$subs.awk
8578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8580 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
8581 for (key in S) S_is_set[key] = 1
8587 nfields = split(line, field, "@")
8589 len = length(field[1])
8590 for (i = 2; i < nfields; i++) {
8592 keylen = length(key)
8593 if (S_is_set[key]) {
8595 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8596 len += length(value) + length(field[++i])
8607 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8608 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8609 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
8612 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
8613 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
8614 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
8615 { (exit 1); exit 1; }; }
8618 # VPATH may cause trouble with some makes, so we remove $(srcdir),
8619 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8620 # trailing colons and then remove the whole line if VPATH becomes empty
8621 # (actually we leave an empty line to preserve line numbers).
8622 if test "x$srcdir" = x.; then
8623 ac_vpsub='/^[ ]*VPATH[ ]*=/{
8627 s/^\([^=]*=[ ]*\):*/\1/
8633 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8634 fi # test -n "$CONFIG_FILES"
8637 eval set X " :F $CONFIG_FILES "
8642 :[FHLC]) ac_mode=$ac_tag; continue;;
8644 case $ac_mode$ac_tag in
8646 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
8647 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
8648 { (exit 1); exit 1; }; };;
8649 :[FH]-) ac_tag=-:-;;
8650 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8667 -) ac_f="$tmp/stdin";;
8668 *) # Look for the file first in the build tree, then in the source tree
8669 # (if the path is not absolute). The absolute path cannot be DOS-style,
8670 # because $ac_f cannot contain `:'.
8674 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8676 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8677 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8678 { (exit 1); exit 1; }; };;
8680 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8681 ac_file_inputs="$ac_file_inputs '$ac_f'"
8684 # Let's still pretend it is `configure' which instantiates (i.e., don't
8685 # use $as_me), people would be surprised to read:
8686 # /* config.h. Generated by config.status. */
8687 configure_input='Generated from '`
8688 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8690 if test x"$ac_file" != x-; then
8691 configure_input="$ac_file. $configure_input"
8692 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
8693 $as_echo "$as_me: creating $ac_file" >&6;}
8695 # Neutralize special characters interpreted by sed in replacement strings.
8696 case $configure_input in #(
8697 *\&* | *\|* | *\\* )
8698 ac_sed_conf_input=`$as_echo "$configure_input" |
8699 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8700 *) ac_sed_conf_input=$configure_input;;
8704 *:-:* | *:-) cat >"$tmp/stdin" \
8705 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8706 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8707 { (exit 1); exit 1; }; } ;;
8712 ac_dir=`$as_dirname -- "$ac_file" ||
8713 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8714 X"$ac_file" : 'X\(//\)[^/]' \| \
8715 X"$ac_file" : 'X\(//\)$' \| \
8716 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8717 $as_echo X"$ac_file" |
8718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8737 -*) as_dir=./$as_dir;;
8739 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8743 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
8744 *) as_qdir=$as_dir;;
8746 as_dirs="'$as_qdir' $as_dirs"
8747 as_dir=`$as_dirname -- "$as_dir" ||
8748 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8749 X"$as_dir" : 'X\(//\)[^/]' \| \
8750 X"$as_dir" : 'X\(//\)$' \| \
8751 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8752 $as_echo X"$as_dir" |
8753 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8770 test -d "$as_dir" && break
8772 test -z "$as_dirs" || eval "mkdir $as_dirs"
8773 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8774 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
8775 { (exit 1); exit 1; }; }; }
8779 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8781 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8782 # A ".." for each directory in $ac_dir_suffix.
8783 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8784 case $ac_top_builddir_sub in
8785 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8786 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8789 ac_abs_top_builddir=$ac_pwd
8790 ac_abs_builddir=$ac_pwd$ac_dir_suffix
8791 # for backward compatibility:
8792 ac_top_builddir=$ac_top_build_prefix
8795 .) # We are building in place.
8797 ac_top_srcdir=$ac_top_builddir_sub
8798 ac_abs_top_srcdir=$ac_pwd ;;
8799 [\\/]* | ?:[\\/]* ) # Absolute name.
8800 ac_srcdir=$srcdir$ac_dir_suffix;
8801 ac_top_srcdir=$srcdir
8802 ac_abs_top_srcdir=$srcdir ;;
8804 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8805 ac_top_srcdir=$ac_top_build_prefix$srcdir
8806 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8808 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8819 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8820 # If the template does not know about datarootdir, expand it.
8821 # FIXME: This hack should be removed a few years after 2.60.
8822 ac_datarootdir_hack=; ac_datarootdir_seen=
8835 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8836 *datarootdir*) ac_datarootdir_seen=yes;;
8837 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8838 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8839 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8841 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8842 ac_datarootdir_hack='
8843 s&@datadir@&$datadir&g
8844 s&@docdir@&$docdir&g
8845 s&@infodir@&$infodir&g
8846 s&@localedir@&$localedir&g
8847 s&@mandir@&$mandir&g
8848 s&\\\${datarootdir}&$datarootdir&g' ;;
8852 # Neutralize VPATH when `$srcdir' = `.'.
8853 # Shell code in configure.ac might set extrasub.
8854 # FIXME: do we really want to maintain this feature?
8855 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8856 ac_sed_extra="$ac_vpsub
8859 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8861 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8862 s|@configure_input@|$ac_sed_conf_input|;t t
8863 s&@top_builddir@&$ac_top_builddir_sub&;t t
8864 s&@top_build_prefix@&$ac_top_build_prefix&;t t
8865 s&@srcdir@&$ac_srcdir&;t t
8866 s&@abs_srcdir@&$ac_abs_srcdir&;t t
8867 s&@top_srcdir@&$ac_top_srcdir&;t t
8868 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8869 s&@builddir@&$ac_builddir&;t t
8870 s&@abs_builddir@&$ac_abs_builddir&;t t
8871 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8872 $ac_datarootdir_hack
8874 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
8875 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8876 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8877 { (exit 1); exit 1; }; }
8879 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8880 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8881 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8882 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8883 which seems to be undefined. Please make sure it is defined." >&5
8884 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8885 which seems to be undefined. Please make sure it is defined." >&2;}
8889 -) cat "$tmp/out" && rm -f "$tmp/out";;
8890 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
8892 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
8893 $as_echo "$as_me: error: could not create $ac_file" >&2;}
8894 { (exit 1); exit 1; }; }
8902 case $ac_file$ac_mode in
8903 "sa1":F) chmod +x sa1 ;;
8904 "sa2":F) chmod +x sa2 ;;
8905 "cron/sysstat.crond.sample.in":F) sed s/^/#/ cron/sysstat.crond.sample.in > cron/sysstat.crond.sample ;;
8906 "sysstat":F) chmod +x sysstat ;;
8907 "contrib/isag/isag":F) chmod +x contrib/isag/isag ;;
8913 { (exit 0); exit 0; }
8915 chmod +x $CONFIG_STATUS
8916 ac_clean_files=$ac_clean_files_save
8918 test $ac_write_fail = 0 ||
8919 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
8920 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
8921 { (exit 1); exit 1; }; }
8924 # configure is writing to config.log, and then calls config.status.
8925 # config.status does its own redirection, appending to config.log.
8926 # Unfortunately, on DOS this fails, as config.log is still kept open
8927 # by configure, so config.status won't be able to write to it; its
8928 # output is simply discarded. So we exec the FD to /dev/null,
8929 # effectively closing config.log, so it can be properly (re)opened and
8930 # appended to by config.status. When coming back to configure, we
8931 # need to make the FD available again.
8932 if test "$no_create" != yes; then
8934 ac_config_status_args=
8935 test "$silent" = yes &&
8936 ac_config_status_args="$ac_config_status_args --quiet"
8938 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8940 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8941 # would make configure fail if this is the last instruction.
8942 $ac_cs_success || { (exit 1); exit 1; }
8944 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
8945 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8946 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8951 Sysstat version: $PACKAGE_VERSION
8952 Installation prefix: $prefix
8953 rc directory: ${RC_DIR}
8954 Init directory: ${INIT_DIR}
8955 Configuration directory: ${SYSCONFIG_DIR}
8956 Man pages directory: $mandir
8958 Compiler flags: $CFLAGS