2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for sysstat 10.1.3.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
146 case \`(set -o) 2>/dev/null\` in #(
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 test -z "$as_dir" && as_dir=.
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 *v*x* | *x*v* ) as_opts=-vx ;;
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232 if test x$as_have_required = xno; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x${ZSH_VERSION+set} = xset ; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
248 SHELL=${CONFIG_SHELL-/bin/sh}
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE= GREP_OPTIONS=
252 unset CLICOLOR_FORCE GREP_OPTIONS
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
259 # Portably unset VAR.
262 { eval $1=; unset $1;}
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
286 # Create "$as_dir" as a directory, including parents if necessary.
291 -*) as_dir=./$as_dir;;
293 test -d "$as_dir" || eval $as_mkdir_p || {
297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
300 as_dirs="'$as_qdir' $as_dirs"
301 as_dir=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
324 test -d "$as_dir" && break
326 test -z "$as_dirs" || eval "mkdir $as_dirs"
327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338 eval 'as_fn_append ()
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
362 as_val=`expr "$@" || test $? -eq 1`
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
374 as_status=$1; test $as_status -eq 0 && as_status=1
376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit $as_status
383 if expr a : '\(a\)' >/dev/null 2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
402 as_me=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
421 # Avoid depending upon Character Ranges.
422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits='0123456789'
426 as_cr_alnum=$as_cr_Letters$as_cr_digits
429 as_lineno_1=$LINENO as_lineno_1a=$LINENO
430 as_lineno_2=$LINENO as_lineno_2a=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x "$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
456 # Exit status is that of the last command.
460 ECHO_C= ECHO_N= ECHO_T=
461 case `echo -n x` in #(((((
463 case `echo 'xy\c'` in
464 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
473 rm -f conf$$ conf$$.exe conf$$.file
474 if test -d conf$$.dir; then
475 rm -f conf$$.dir/conf$$.file
478 mkdir conf$$.dir 2>/dev/null
480 if (echo >conf$$.file) 2>/dev/null; then
481 if ln -s conf$$.file conf$$ 2>/dev/null; then
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
489 elif ln conf$$.file conf$$ 2>/dev/null; then
497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498 rmdir conf$$.dir 2>/dev/null
500 if mkdir -p . 2>/dev/null; then
501 as_mkdir_p='mkdir -p "$as_dir"'
503 test -d ./-p && rmdir ./-p
507 if test -x / >/dev/null 2>&1; then
510 if ls -dL / >/dev/null 2>&1; then
517 if test -d "$1"; then
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
528 as_executable_p=$as_test_x
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
537 test -n "$DJDIR" || exec 7<&0 </dev/null
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
548 ac_default_prefix=/usr/local
550 ac_config_libobj_dir=.
557 # Identity of this package.
558 PACKAGE_NAME='sysstat'
559 PACKAGE_TARNAME='sysstat'
560 PACKAGE_VERSION='10.1.3'
561 PACKAGE_STRING='sysstat 10.1.3'
565 ac_unique_file="ioconf.h"
566 # Factoring default headers for most tests.
567 ac_includes_default="\
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
579 # ifdef HAVE_STDLIB_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
602 ac_subst_vars='LTLIBOBJS
696 program_transform_name
709 enable_option_checking
710 with_systemdsystemunitdir
716 enable_compress_manpg
725 ac_precious_vars='build_alias
745 # Initialize some variables set by options.
747 ac_init_version=false
748 ac_unrecognized_opts=
750 # The variables have the same names as the options, with
751 # dashes changed to underlines.
759 program_transform_name=s,x,x,
767 # Installation directory options.
768 # These are left unexpanded so users can "make install exec_prefix=/foo"
769 # and all the variables that are supposed to be based on exec_prefix
770 # by default will actually change.
771 # Use braces instead of parens because sh, perl, etc. also accept them.
772 # (The list follows the same order as the GNU Coding Standards.)
773 bindir='${exec_prefix}/bin'
774 sbindir='${exec_prefix}/sbin'
775 libexecdir='${exec_prefix}/libexec'
776 datarootdir='${prefix}/share'
777 datadir='${datarootdir}'
778 sysconfdir='${prefix}/etc'
779 sharedstatedir='${prefix}/com'
780 localstatedir='${prefix}/var'
781 includedir='${prefix}/include'
782 oldincludedir='/usr/include'
783 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
784 infodir='${datarootdir}/info'
789 libdir='${exec_prefix}/lib'
790 localedir='${datarootdir}/locale'
791 mandir='${datarootdir}/man'
797 # If the previous option needs an argument, assign it.
798 if test -n "$ac_prev"; then
799 eval $ac_prev=\$ac_option
805 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
810 # Accept the important Cygnus configure options, so we can diagnose typos.
812 case $ac_dashdash$ac_option in
816 -bindir | --bindir | --bindi | --bind | --bin | --bi)
818 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
821 -build | --build | --buil | --bui | --bu)
822 ac_prev=build_alias ;;
823 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
824 build_alias=$ac_optarg ;;
826 -cache-file | --cache-file | --cache-fil | --cache-fi \
827 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
828 ac_prev=cache_file ;;
829 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
830 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
831 cache_file=$ac_optarg ;;
834 cache_file=config.cache ;;
836 -datadir | --datadir | --datadi | --datad)
838 -datadir=* | --datadir=* | --datadi=* | --datad=*)
839 datadir=$ac_optarg ;;
841 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
842 | --dataroo | --dataro | --datar)
843 ac_prev=datarootdir ;;
844 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
845 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
846 datarootdir=$ac_optarg ;;
848 -disable-* | --disable-*)
849 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
852 as_fn_error $? "invalid feature name: $ac_useropt"
853 ac_useropt_orig=$ac_useropt
854 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
855 case $ac_user_opts in
859 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
860 ac_unrecognized_sep=', ';;
862 eval enable_$ac_useropt=no ;;
864 -docdir | --docdir | --docdi | --doc | --do)
866 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
869 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
871 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
874 -enable-* | --enable-*)
875 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
876 # Reject names that are not valid shell variable names.
877 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
878 as_fn_error $? "invalid feature name: $ac_useropt"
879 ac_useropt_orig=$ac_useropt
880 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
881 case $ac_user_opts in
885 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
886 ac_unrecognized_sep=', ';;
888 eval enable_$ac_useropt=\$ac_optarg ;;
890 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
891 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
892 | --exec | --exe | --ex)
893 ac_prev=exec_prefix ;;
894 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
895 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
896 | --exec=* | --exe=* | --ex=*)
897 exec_prefix=$ac_optarg ;;
899 -gas | --gas | --ga | --g)
900 # Obsolete; use --with-gas.
903 -help | --help | --hel | --he | -h)
905 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
906 ac_init_help=recursive ;;
907 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
908 ac_init_help=short ;;
910 -host | --host | --hos | --ho)
911 ac_prev=host_alias ;;
912 -host=* | --host=* | --hos=* | --ho=*)
913 host_alias=$ac_optarg ;;
915 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
917 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
919 htmldir=$ac_optarg ;;
921 -includedir | --includedir | --includedi | --included | --include \
922 | --includ | --inclu | --incl | --inc)
923 ac_prev=includedir ;;
924 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
925 | --includ=* | --inclu=* | --incl=* | --inc=*)
926 includedir=$ac_optarg ;;
928 -infodir | --infodir | --infodi | --infod | --info | --inf)
930 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
931 infodir=$ac_optarg ;;
933 -libdir | --libdir | --libdi | --libd)
935 -libdir=* | --libdir=* | --libdi=* | --libd=*)
938 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
939 | --libexe | --libex | --libe)
940 ac_prev=libexecdir ;;
941 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
942 | --libexe=* | --libex=* | --libe=*)
943 libexecdir=$ac_optarg ;;
945 -localedir | --localedir | --localedi | --localed | --locale)
947 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
948 localedir=$ac_optarg ;;
950 -localstatedir | --localstatedir | --localstatedi | --localstated \
951 | --localstate | --localstat | --localsta | --localst | --locals)
952 ac_prev=localstatedir ;;
953 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
954 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
955 localstatedir=$ac_optarg ;;
957 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
959 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
963 # Obsolete; use --without-fp.
966 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
967 | --no-cr | --no-c | -n)
970 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
971 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
974 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
975 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
976 | --oldin | --oldi | --old | --ol | --o)
977 ac_prev=oldincludedir ;;
978 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
979 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
980 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
981 oldincludedir=$ac_optarg ;;
983 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
985 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
988 -program-prefix | --program-prefix | --program-prefi | --program-pref \
989 | --program-pre | --program-pr | --program-p)
990 ac_prev=program_prefix ;;
991 -program-prefix=* | --program-prefix=* | --program-prefi=* \
992 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
993 program_prefix=$ac_optarg ;;
995 -program-suffix | --program-suffix | --program-suffi | --program-suff \
996 | --program-suf | --program-su | --program-s)
997 ac_prev=program_suffix ;;
998 -program-suffix=* | --program-suffix=* | --program-suffi=* \
999 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1000 program_suffix=$ac_optarg ;;
1002 -program-transform-name | --program-transform-name \
1003 | --program-transform-nam | --program-transform-na \
1004 | --program-transform-n | --program-transform- \
1005 | --program-transform | --program-transfor \
1006 | --program-transfo | --program-transf \
1007 | --program-trans | --program-tran \
1008 | --progr-tra | --program-tr | --program-t)
1009 ac_prev=program_transform_name ;;
1010 -program-transform-name=* | --program-transform-name=* \
1011 | --program-transform-nam=* | --program-transform-na=* \
1012 | --program-transform-n=* | --program-transform-=* \
1013 | --program-transform=* | --program-transfor=* \
1014 | --program-transfo=* | --program-transf=* \
1015 | --program-trans=* | --program-tran=* \
1016 | --progr-tra=* | --program-tr=* | --program-t=*)
1017 program_transform_name=$ac_optarg ;;
1019 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1021 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1022 pdfdir=$ac_optarg ;;
1024 -psdir | --psdir | --psdi | --psd | --ps)
1026 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1029 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1030 | -silent | --silent | --silen | --sile | --sil)
1033 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1035 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1037 sbindir=$ac_optarg ;;
1039 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1040 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1041 | --sharedst | --shareds | --shared | --share | --shar \
1043 ac_prev=sharedstatedir ;;
1044 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1045 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1046 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1048 sharedstatedir=$ac_optarg ;;
1050 -site | --site | --sit)
1052 -site=* | --site=* | --sit=*)
1055 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1057 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1058 srcdir=$ac_optarg ;;
1060 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1061 | --syscon | --sysco | --sysc | --sys | --sy)
1062 ac_prev=sysconfdir ;;
1063 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1064 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1065 sysconfdir=$ac_optarg ;;
1067 -target | --target | --targe | --targ | --tar | --ta | --t)
1068 ac_prev=target_alias ;;
1069 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1070 target_alias=$ac_optarg ;;
1072 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1075 -version | --version | --versio | --versi | --vers | -V)
1076 ac_init_version=: ;;
1079 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1080 # Reject names that are not valid shell variable names.
1081 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1082 as_fn_error $? "invalid package name: $ac_useropt"
1083 ac_useropt_orig=$ac_useropt
1084 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1085 case $ac_user_opts in
1089 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1090 ac_unrecognized_sep=', ';;
1092 eval with_$ac_useropt=\$ac_optarg ;;
1094 -without-* | --without-*)
1095 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1096 # Reject names that are not valid shell variable names.
1097 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1098 as_fn_error $? "invalid package name: $ac_useropt"
1099 ac_useropt_orig=$ac_useropt
1100 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1101 case $ac_user_opts in
1105 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1106 ac_unrecognized_sep=', ';;
1108 eval with_$ac_useropt=no ;;
1111 # Obsolete; use --with-x.
1114 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1115 | --x-incl | --x-inc | --x-in | --x-i)
1116 ac_prev=x_includes ;;
1117 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1118 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1119 x_includes=$ac_optarg ;;
1121 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1122 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1123 ac_prev=x_libraries ;;
1124 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1125 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1126 x_libraries=$ac_optarg ;;
1128 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1129 Try \`$0 --help' for more information"
1133 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1134 # Reject names that are not valid shell variable names.
1135 case $ac_envvar in #(
1136 '' | [0-9]* | *[!_$as_cr_alnum]* )
1137 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1139 eval $ac_envvar=\$ac_optarg
1140 export $ac_envvar ;;
1143 # FIXME: should be removed in autoconf 3.0.
1144 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1145 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1146 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1147 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1153 if test -n "$ac_prev"; then
1154 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1155 as_fn_error $? "missing argument to $ac_option"
1158 if test -n "$ac_unrecognized_opts"; then
1159 case $enable_option_checking in
1161 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1162 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1166 # Check all directory arguments for consistency.
1167 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1168 datadir sysconfdir sharedstatedir localstatedir includedir \
1169 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1170 libdir localedir mandir
1172 eval ac_val=\$$ac_var
1173 # Remove trailing slashes.
1176 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1177 eval $ac_var=\$ac_val;;
1179 # Be sure to have absolute directory names.
1181 [\\/$]* | ?:[\\/]* ) continue;;
1182 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1184 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1187 # There might be people who depend on the old broken behavior: `$host'
1188 # used to hold the argument of --host etc.
1189 # FIXME: To remove some day.
1192 target=$target_alias
1194 # FIXME: To remove some day.
1195 if test "x$host_alias" != x; then
1196 if test "x$build_alias" = x; then
1197 cross_compiling=maybe
1198 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1199 If a cross compiler is detected then cross compile mode will be used" >&2
1200 elif test "x$build_alias" != "x$host_alias"; then
1206 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1208 test "$silent" = yes && exec 6>/dev/null
1211 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1212 ac_ls_di=`ls -di .` &&
1213 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1214 as_fn_error $? "working directory cannot be determined"
1215 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1216 as_fn_error $? "pwd does not report name of working directory"
1219 # Find the source files, if location was not specified.
1220 if test -z "$srcdir"; then
1221 ac_srcdir_defaulted=yes
1222 # Try the directory containing this script, then the parent directory.
1223 ac_confdir=`$as_dirname -- "$as_myself" ||
1224 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1225 X"$as_myself" : 'X\(//\)[^/]' \| \
1226 X"$as_myself" : 'X\(//\)$' \| \
1227 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1228 $as_echo X"$as_myself" |
1229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1251 ac_srcdir_defaulted=no
1253 if test ! -r "$srcdir/$ac_unique_file"; then
1254 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1255 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1257 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1259 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1261 # When building in place, set srcdir=.
1262 if test "$ac_abs_confdir" = "$ac_pwd"; then
1265 # Remove unnecessary trailing slashes from srcdir.
1266 # Double slashes in file names in object file debugging info
1267 # mess up M-x gdb in Emacs.
1269 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1271 for ac_var in $ac_precious_vars; do
1272 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1273 eval ac_env_${ac_var}_value=\$${ac_var}
1274 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1275 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1279 # Report the --help message.
1281 if test "$ac_init_help" = "long"; then
1282 # Omit some internal or obsolete options to make the list less imposing.
1283 # This message is too long to be a string in the A/UX 3.1 sh.
1285 \`configure' configures sysstat 10.1.3 to adapt to many kinds of systems.
1287 Usage: $0 [OPTION]... [VAR=VALUE]...
1289 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1290 VAR=VALUE. See below for descriptions of some of the useful variables.
1292 Defaults for the options are specified in brackets.
1295 -h, --help display this help and exit
1296 --help=short display options specific to this package
1297 --help=recursive display the short help of all the included packages
1298 -V, --version display version information and exit
1299 -q, --quiet, --silent do not print \`checking ...' messages
1300 --cache-file=FILE cache test results in FILE [disabled]
1301 -C, --config-cache alias for \`--cache-file=config.cache'
1302 -n, --no-create do not create output files
1303 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1305 Installation directories:
1306 --prefix=PREFIX install architecture-independent files in PREFIX
1307 [$ac_default_prefix]
1308 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1311 By default, \`make install' will install all the files in
1312 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1313 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1314 for instance \`--prefix=\$HOME'.
1316 For better control, use the options below.
1318 Fine tuning of the installation directories:
1319 --bindir=DIR user executables [EPREFIX/bin]
1320 --sbindir=DIR system admin executables [EPREFIX/sbin]
1321 --libexecdir=DIR program executables [EPREFIX/libexec]
1322 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1323 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1324 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1325 --libdir=DIR object code libraries [EPREFIX/lib]
1326 --includedir=DIR C header files [PREFIX/include]
1327 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1328 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1329 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1330 --infodir=DIR info documentation [DATAROOTDIR/info]
1331 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1332 --mandir=DIR man documentation [DATAROOTDIR/man]
1333 --docdir=DIR documentation root [DATAROOTDIR/doc/sysstat]
1334 --htmldir=DIR html documentation [DOCDIR]
1335 --dvidir=DIR dvi documentation [DOCDIR]
1336 --pdfdir=DIR pdf documentation [DOCDIR]
1337 --psdir=DIR ps documentation [DOCDIR]
1344 if test -n "$ac_init_help"; then
1345 case $ac_init_help in
1346 short | recursive ) echo "Configuration of sysstat 10.1.3:";;
1351 --disable-option-checking ignore unrecognized --enable/--with options
1352 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1353 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1354 --disable-sensors disable sensors support
1355 --disable-largefile omit support for large files
1356 --disable-nls disable National Language Support
1357 --enable-yesterday tell sa2 to use data file of the day before
1358 --disable-man-group ignore man_group variable value
1359 --enable-compress-manpg compress sysstat manual pages
1360 --enable-install-isag install isag script
1361 --enable-clean-sa-dir clean system activity directory
1362 --enable-install-cron install a crontab to start sar
1363 --enable-collect-all collect all possible activities
1364 --disable-documentation do not install documentation
1365 --enable-debuginfo enable debug output (--debuginfo option)
1366 --disable-stripping do not strip object files
1369 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1370 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1371 --with-systemdsystemunitdir=DIR
1372 Directory for systemd service files
1374 Some influential environment variables:
1375 CC C compiler command
1376 CFLAGS C compiler flags
1377 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1378 nonstandard directory <lib dir>
1379 LIBS libraries to pass to the linker, e.g. -l<library>
1380 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1381 you have headers in a nonstandard directory <include dir>
1383 rcdir run-commands directory
1384 sa_lib_dir sadc directory
1385 sa_dir system activity directory
1386 conf_dir sysstat configuration directory
1387 history number of daily data files to keep (default value is 7)
1389 number of days after which data files are compressed (default
1391 man_group group for manual pages
1392 cron_owner crontab owner
1396 Use these variables to override the choices made by `configure' or to help
1397 it to find libraries and programs with nonstandard names/locations.
1399 Report bugs to the package provider.
1404 if test "$ac_init_help" = "recursive"; then
1405 # If there are subdirs, report their specific --help.
1406 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1407 test -d "$ac_dir" ||
1408 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1413 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1415 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1416 # A ".." for each directory in $ac_dir_suffix.
1417 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1418 case $ac_top_builddir_sub in
1419 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1420 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1423 ac_abs_top_builddir=$ac_pwd
1424 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1425 # for backward compatibility:
1426 ac_top_builddir=$ac_top_build_prefix
1429 .) # We are building in place.
1431 ac_top_srcdir=$ac_top_builddir_sub
1432 ac_abs_top_srcdir=$ac_pwd ;;
1433 [\\/]* | ?:[\\/]* ) # Absolute name.
1434 ac_srcdir=$srcdir$ac_dir_suffix;
1435 ac_top_srcdir=$srcdir
1436 ac_abs_top_srcdir=$srcdir ;;
1438 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1439 ac_top_srcdir=$ac_top_build_prefix$srcdir
1440 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1442 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1444 cd "$ac_dir" || { ac_status=$?; continue; }
1445 # Check for guested configure.
1446 if test -f "$ac_srcdir/configure.gnu"; then
1448 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1449 elif test -f "$ac_srcdir/configure"; then
1451 $SHELL "$ac_srcdir/configure" --help=recursive
1453 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1455 cd "$ac_pwd" || { ac_status=$?; break; }
1459 test -n "$ac_init_help" && exit $ac_status
1460 if $ac_init_version; then
1462 sysstat configure 10.1.3
1463 generated by GNU Autoconf 2.68
1465 Copyright (C) 2010 Free Software Foundation, Inc.
1466 This configure script is free software; the Free Software Foundation
1467 gives unlimited permission to copy, distribute and modify it.
1472 ## ------------------------ ##
1473 ## Autoconf initialization. ##
1474 ## ------------------------ ##
1476 # ac_fn_c_try_compile LINENO
1477 # --------------------------
1478 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1479 ac_fn_c_try_compile ()
1481 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1482 rm -f conftest.$ac_objext
1483 if { { ac_try="$ac_compile"
1485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1486 *) ac_try_echo=$ac_try;;
1488 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1489 $as_echo "$ac_try_echo"; } >&5
1490 (eval "$ac_compile") 2>conftest.err
1492 if test -s conftest.err; then
1493 grep -v '^ *+' conftest.err >conftest.er1
1494 cat conftest.er1 >&5
1495 mv -f conftest.er1 conftest.err
1497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1498 test $ac_status = 0; } && {
1499 test -z "$ac_c_werror_flag" ||
1500 test ! -s conftest.err
1501 } && test -s conftest.$ac_objext; then :
1504 $as_echo "$as_me: failed program was:" >&5
1505 sed 's/^/| /' conftest.$ac_ext >&5
1509 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1510 as_fn_set_status $ac_retval
1512 } # ac_fn_c_try_compile
1514 # ac_fn_c_try_cpp LINENO
1515 # ----------------------
1516 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1519 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1520 if { { ac_try="$ac_cpp conftest.$ac_ext"
1522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1523 *) ac_try_echo=$ac_try;;
1525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1526 $as_echo "$ac_try_echo"; } >&5
1527 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1529 if test -s conftest.err; then
1530 grep -v '^ *+' conftest.err >conftest.er1
1531 cat conftest.er1 >&5
1532 mv -f conftest.er1 conftest.err
1534 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1535 test $ac_status = 0; } > conftest.i && {
1536 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1537 test ! -s conftest.err
1541 $as_echo "$as_me: failed program was:" >&5
1542 sed 's/^/| /' conftest.$ac_ext >&5
1546 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1547 as_fn_set_status $ac_retval
1551 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1552 # -------------------------------------------------------
1553 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1554 # the include files in INCLUDES and setting the cache variable VAR
1556 ac_fn_c_check_header_mongrel ()
1558 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1559 if eval \${$3+:} false; then :
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1561 $as_echo_n "checking for $2... " >&6; }
1562 if eval \${$3+:} false; then :
1563 $as_echo_n "(cached) " >&6
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1567 $as_echo "$ac_res" >&6; }
1569 # Is the header compilable?
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1571 $as_echo_n "checking $2 usability... " >&6; }
1572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1573 /* end confdefs.h. */
1577 if ac_fn_c_try_compile "$LINENO"; then :
1578 ac_header_compiler=yes
1580 ac_header_compiler=no
1582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1584 $as_echo "$ac_header_compiler" >&6; }
1586 # Is the header present?
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1588 $as_echo_n "checking $2 presence... " >&6; }
1589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1590 /* end confdefs.h. */
1593 if ac_fn_c_try_cpp "$LINENO"; then :
1594 ac_header_preproc=yes
1596 ac_header_preproc=no
1598 rm -f conftest.err conftest.i conftest.$ac_ext
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1600 $as_echo "$ac_header_preproc" >&6; }
1602 # So? What about this header?
1603 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1606 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1608 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1612 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1614 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1615 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1616 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1618 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1620 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1624 $as_echo_n "checking for $2... " >&6; }
1625 if eval \${$3+:} false; then :
1626 $as_echo_n "(cached) " >&6
1628 eval "$3=\$ac_header_compiler"
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1632 $as_echo "$ac_res" >&6; }
1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1636 } # ac_fn_c_check_header_mongrel
1638 # ac_fn_c_try_run LINENO
1639 # ----------------------
1640 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1641 # that executables *can* be run.
1644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1645 if { { ac_try="$ac_link"
1647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1648 *) ac_try_echo=$ac_try;;
1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651 $as_echo "$ac_try_echo"; } >&5
1652 (eval "$ac_link") 2>&5
1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1656 { { case "(($ac_try" in
1657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1658 *) ac_try_echo=$ac_try;;
1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662 (eval "$ac_try") 2>&5
1664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1665 test $ac_status = 0; }; }; then :
1668 $as_echo "$as_me: program exited with status $ac_status" >&5
1669 $as_echo "$as_me: failed program was:" >&5
1670 sed 's/^/| /' conftest.$ac_ext >&5
1672 ac_retval=$ac_status
1674 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676 as_fn_set_status $ac_retval
1680 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1681 # -------------------------------------------------------
1682 # Tests whether HEADER exists and can be compiled using the include files in
1683 # INCLUDES, setting the cache variable VAR accordingly.
1684 ac_fn_c_check_header_compile ()
1686 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1688 $as_echo_n "checking for $2... " >&6; }
1689 if eval \${$3+:} false; then :
1690 $as_echo_n "(cached) " >&6
1692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1693 /* end confdefs.h. */
1697 if ac_fn_c_try_compile "$LINENO"; then :
1702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1706 $as_echo "$ac_res" >&6; }
1707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1709 } # ac_fn_c_check_header_compile
1711 # ac_fn_c_try_link LINENO
1712 # -----------------------
1713 # Try to link conftest.$ac_ext, and return whether this succeeded.
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 rm -f conftest.$ac_objext conftest$ac_exeext
1718 if { { ac_try="$ac_link"
1720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1721 *) ac_try_echo=$ac_try;;
1723 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1724 $as_echo "$ac_try_echo"; } >&5
1725 (eval "$ac_link") 2>conftest.err
1727 if test -s conftest.err; then
1728 grep -v '^ *+' conftest.err >conftest.er1
1729 cat conftest.er1 >&5
1730 mv -f conftest.er1 conftest.err
1732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1733 test $ac_status = 0; } && {
1734 test -z "$ac_c_werror_flag" ||
1735 test ! -s conftest.err
1736 } && test -s conftest$ac_exeext && {
1737 test "$cross_compiling" = yes ||
1738 $as_test_x conftest$ac_exeext
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1747 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1748 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1749 # interfere with the next link command; also delete a directory that is
1750 # left behind by Apple's compiler. We do this before executing the actions.
1751 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1752 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1753 as_fn_set_status $ac_retval
1755 } # ac_fn_c_try_link
1757 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1758 # -------------------------------------------
1759 # Tests whether TYPE exists after having included INCLUDES, setting cache
1760 # variable VAR accordingly.
1761 ac_fn_c_check_type ()
1763 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1765 $as_echo_n "checking for $2... " >&6; }
1766 if eval \${$3+:} false; then :
1767 $as_echo_n "(cached) " >&6
1770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1771 /* end confdefs.h. */
1782 if ac_fn_c_try_compile "$LINENO"; then :
1783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784 /* end confdefs.h. */
1795 if ac_fn_c_try_compile "$LINENO"; then :
1800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1806 $as_echo "$ac_res" >&6; }
1807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1809 } # ac_fn_c_check_type
1811 # ac_fn_c_check_func LINENO FUNC VAR
1812 # ----------------------------------
1813 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1814 ac_fn_c_check_func ()
1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1818 $as_echo_n "checking for $2... " >&6; }
1819 if eval \${$3+:} false; then :
1820 $as_echo_n "(cached) " >&6
1822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1823 /* end confdefs.h. */
1824 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1826 #define $2 innocuous_$2
1828 /* System header to define __stub macros and hopefully few prototypes,
1829 which can conflict with char $2 (); below.
1830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1831 <limits.h> exists even on freestanding compilers. */
1834 # include <limits.h>
1836 # include <assert.h>
1841 /* Override any GCC internal prototype to avoid an error.
1842 Use char because int might match the return type of a GCC
1843 builtin and then its argument prototype would still apply. */
1848 /* The GNU C library defines this for functions which it implements
1849 to always fail with ENOSYS. Some functions are actually named
1850 something starting with __ and the normal name is an alias. */
1851 #if defined __stub_$2 || defined __stub___$2
1863 if ac_fn_c_try_link "$LINENO"; then :
1868 rm -f core conftest.err conftest.$ac_objext \
1869 conftest$ac_exeext conftest.$ac_ext
1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1873 $as_echo "$ac_res" >&6; }
1874 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1876 } # ac_fn_c_check_func
1877 cat >config.log <<_ACEOF
1878 This file contains any messages produced by compilers while
1879 running configure, to aid debugging if configure makes a mistake.
1881 It was created by sysstat $as_me 10.1.3, which was
1882 generated by GNU Autoconf 2.68. Invocation command line was
1894 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1895 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1896 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1897 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1898 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1900 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1901 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1903 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1904 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1905 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1906 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1907 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1908 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1909 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917 test -z "$as_dir" && as_dir=.
1918 $as_echo "PATH: $as_dir"
1934 # Keep a trace of the command line.
1935 # Strip out --no-create and --no-recursion so they do not pile up.
1936 # Strip out --silent because we don't want to record it for future runs.
1937 # Also quote any args containing shell meta-characters.
1938 # Make two passes to allow for proper duplicate-argument suppression.
1942 ac_must_keep_next=false
1948 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1949 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1950 | -silent | --silent | --silen | --sile | --sil)
1953 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1956 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1958 as_fn_append ac_configure_args1 " '$ac_arg'"
1959 if test $ac_must_keep_next = true; then
1960 ac_must_keep_next=false # Got value, back to normal.
1963 *=* | --config-cache | -C | -disable-* | --disable-* \
1964 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1965 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1966 | -with-* | --with-* | -without-* | --without-* | --x)
1967 case "$ac_configure_args0 " in
1968 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1971 -* ) ac_must_keep_next=true ;;
1974 as_fn_append ac_configure_args " '$ac_arg'"
1979 { ac_configure_args0=; unset ac_configure_args0;}
1980 { ac_configure_args1=; unset ac_configure_args1;}
1982 # When interrupted or exit'd, cleanup temporary files, and complete
1983 # config.log. We remove comments because anyway the quotes in there
1984 # would cause problems or look ugly.
1985 # WARNING: Use '\'' to represent an apostrophe within the trap.
1986 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1987 trap 'exit_status=$?
1988 # Save into config.log some information that might help in debugging.
1992 $as_echo "## ---------------- ##
1993 ## Cache variables. ##
1994 ## ---------------- ##"
1996 # The following way of writing the cache mishandles newlines in values,
1998 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1999 eval ac_val=\$$ac_var
2003 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2004 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2007 _ | IFS | as_nl) ;; #(
2008 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2009 *) { eval $ac_var=; unset $ac_var;} ;;
2014 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2015 *${as_nl}ac_space=\ *)
2017 "s/'\''/'\''\\\\'\'''\''/g;
2018 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2021 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2028 $as_echo "## ----------------- ##
2029 ## Output variables. ##
2030 ## ----------------- ##"
2032 for ac_var in $ac_subst_vars
2034 eval ac_val=\$$ac_var
2036 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2038 $as_echo "$ac_var='\''$ac_val'\''"
2042 if test -n "$ac_subst_files"; then
2043 $as_echo "## ------------------- ##
2044 ## File substitutions. ##
2045 ## ------------------- ##"
2047 for ac_var in $ac_subst_files
2049 eval ac_val=\$$ac_var
2051 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2053 $as_echo "$ac_var='\''$ac_val'\''"
2058 if test -s confdefs.h; then
2059 $as_echo "## ----------- ##
2066 test "$ac_signal" != 0 &&
2067 $as_echo "$as_me: caught signal $ac_signal"
2068 $as_echo "$as_me: exit $exit_status"
2070 rm -f core *.core core.conftest.* &&
2071 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2074 for ac_signal in 1 2 13 15; do
2075 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2079 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2080 rm -f -r conftest* confdefs.h
2082 $as_echo "/* confdefs.h */" > confdefs.h
2084 # Predefined preprocessor variables.
2086 cat >>confdefs.h <<_ACEOF
2087 #define PACKAGE_NAME "$PACKAGE_NAME"
2090 cat >>confdefs.h <<_ACEOF
2091 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2094 cat >>confdefs.h <<_ACEOF
2095 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2098 cat >>confdefs.h <<_ACEOF
2099 #define PACKAGE_STRING "$PACKAGE_STRING"
2102 cat >>confdefs.h <<_ACEOF
2103 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2106 cat >>confdefs.h <<_ACEOF
2107 #define PACKAGE_URL "$PACKAGE_URL"
2111 # Let the site file select an alternate cache file if it wants to.
2112 # Prefer an explicitly selected file to automatically selected ones.
2115 if test -n "$CONFIG_SITE"; then
2116 # We do not want a PATH search for config.site.
2117 case $CONFIG_SITE in #((
2118 -*) ac_site_file1=./$CONFIG_SITE;;
2119 */*) ac_site_file1=$CONFIG_SITE;;
2120 *) ac_site_file1=./$CONFIG_SITE;;
2122 elif test "x$prefix" != xNONE; then
2123 ac_site_file1=$prefix/share/config.site
2124 ac_site_file2=$prefix/etc/config.site
2126 ac_site_file1=$ac_default_prefix/share/config.site
2127 ac_site_file2=$ac_default_prefix/etc/config.site
2129 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2131 test "x$ac_site_file" = xNONE && continue
2132 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2134 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2135 sed 's/^/| /' "$ac_site_file" >&5
2137 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2139 as_fn_error $? "failed to load site script $ac_site_file
2140 See \`config.log' for more details" "$LINENO" 5; }
2144 if test -r "$cache_file"; then
2145 # Some versions of bash will fail to source /dev/null (special files
2146 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2147 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2149 $as_echo "$as_me: loading cache $cache_file" >&6;}
2151 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2152 *) . "./$cache_file";;
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2157 $as_echo "$as_me: creating cache $cache_file" >&6;}
2161 # Check that the precious variables saved in the cache have kept the same
2163 ac_cache_corrupted=false
2164 for ac_var in $ac_precious_vars; do
2165 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2166 eval ac_new_set=\$ac_env_${ac_var}_set
2167 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2168 eval ac_new_val=\$ac_env_${ac_var}_value
2169 case $ac_old_set,$ac_new_set in
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2172 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2173 ac_cache_corrupted=: ;;
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2176 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2177 ac_cache_corrupted=: ;;
2180 if test "x$ac_old_val" != "x$ac_new_val"; then
2181 # differences in whitespace do not lead to failure.
2182 ac_old_val_w=`echo x $ac_old_val`
2183 ac_new_val_w=`echo x $ac_new_val`
2184 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2186 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2187 ac_cache_corrupted=:
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2190 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2191 eval $ac_var=\$ac_old_val
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2194 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2196 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2199 # Pass precious variables to config.status.
2200 if test "$ac_new_set" = set; then
2202 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2203 *) ac_arg=$ac_var=$ac_new_val ;;
2205 case " $ac_configure_args " in
2206 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2207 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2211 if $ac_cache_corrupted; then
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2215 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2216 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2218 ## -------------------- ##
2219 ## Main body of script. ##
2220 ## -------------------- ##
2223 ac_cpp='$CPP $CPPFLAGS'
2224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2230 # Ensure that a recent enough version of Autoconf is being used
2233 # Check whether the configure script is in the right dir
2238 echo Check programs:
2242 ac_cpp='$CPP $CPPFLAGS'
2243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2246 if test -n "$ac_tool_prefix"; then
2247 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2248 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2250 $as_echo_n "checking for $ac_word... " >&6; }
2251 if ${ac_cv_prog_CC+:} false; then :
2252 $as_echo_n "(cached) " >&6
2254 if test -n "$CC"; then
2255 ac_cv_prog_CC="$CC" # Let the user override the test.
2257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2261 test -z "$as_dir" && as_dir=.
2262 for ac_exec_ext in '' $ac_executable_extensions; do
2263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2264 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 if test -n "$CC"; then
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2277 $as_echo "$CC" >&6; }
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2280 $as_echo "no" >&6; }
2285 if test -z "$ac_cv_prog_CC"; then
2287 # Extract the first word of "gcc", so it can be a program name with args.
2288 set dummy gcc; ac_word=$2
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2290 $as_echo_n "checking for $ac_word... " >&6; }
2291 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2292 $as_echo_n "(cached) " >&6
2294 if test -n "$ac_ct_CC"; then
2295 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301 test -z "$as_dir" && as_dir=.
2302 for ac_exec_ext in '' $ac_executable_extensions; do
2303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2304 ac_cv_prog_ac_ct_CC="gcc"
2305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2314 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2315 if test -n "$ac_ct_CC"; then
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2317 $as_echo "$ac_ct_CC" >&6; }
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2320 $as_echo "no" >&6; }
2323 if test "x$ac_ct_CC" = x; then
2326 case $cross_compiling:$ac_tool_warned in
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2330 ac_tool_warned=yes ;;
2338 if test -z "$CC"; then
2339 if test -n "$ac_tool_prefix"; then
2340 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2341 set dummy ${ac_tool_prefix}cc; ac_word=$2
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2343 $as_echo_n "checking for $ac_word... " >&6; }
2344 if ${ac_cv_prog_CC+:} false; then :
2345 $as_echo_n "(cached) " >&6
2347 if test -n "$CC"; then
2348 ac_cv_prog_CC="$CC" # Let the user override the test.
2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2354 test -z "$as_dir" && as_dir=.
2355 for ac_exec_ext in '' $ac_executable_extensions; do
2356 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2357 ac_cv_prog_CC="${ac_tool_prefix}cc"
2358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 if test -n "$CC"; then
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2370 $as_echo "$CC" >&6; }
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2373 $as_echo "no" >&6; }
2379 if test -z "$CC"; then
2380 # Extract the first word of "cc", so it can be a program name with args.
2381 set dummy cc; ac_word=$2
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2383 $as_echo_n "checking for $ac_word... " >&6; }
2384 if ${ac_cv_prog_CC+:} false; then :
2385 $as_echo_n "(cached) " >&6
2387 if test -n "$CC"; then
2388 ac_cv_prog_CC="$CC" # Let the user override the test.
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395 test -z "$as_dir" && as_dir=.
2396 for ac_exec_ext in '' $ac_executable_extensions; do
2397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2398 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2399 ac_prog_rejected=yes
2403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2410 if test $ac_prog_rejected = yes; then
2411 # We found a bogon in the path, so make sure we never use it.
2412 set dummy $ac_cv_prog_CC
2414 if test $# != 0; then
2415 # We chose a different compiler from the bogus one.
2416 # However, it has the same basename, so the bogon will be chosen
2417 # first if we set CC to just the basename; use the full file name.
2419 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2425 if test -n "$CC"; then
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2427 $as_echo "$CC" >&6; }
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2430 $as_echo "no" >&6; }
2435 if test -z "$CC"; then
2436 if test -n "$ac_tool_prefix"; then
2437 for ac_prog in cl.exe
2439 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2440 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2442 $as_echo_n "checking for $ac_word... " >&6; }
2443 if ${ac_cv_prog_CC+:} false; then :
2444 $as_echo_n "(cached) " >&6
2446 if test -n "$CC"; then
2447 ac_cv_prog_CC="$CC" # Let the user override the test.
2449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453 test -z "$as_dir" && as_dir=.
2454 for ac_exec_ext in '' $ac_executable_extensions; do
2455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2456 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2467 if test -n "$CC"; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2469 $as_echo "$CC" >&6; }
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472 $as_echo "no" >&6; }
2476 test -n "$CC" && break
2479 if test -z "$CC"; then
2481 for ac_prog in cl.exe
2483 # Extract the first word of "$ac_prog", so it can be a program name with args.
2484 set dummy $ac_prog; ac_word=$2
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2486 $as_echo_n "checking for $ac_word... " >&6; }
2487 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2488 $as_echo_n "(cached) " >&6
2490 if test -n "$ac_ct_CC"; then
2491 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 test -z "$as_dir" && as_dir=.
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2500 ac_cv_prog_ac_ct_CC="$ac_prog"
2501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2510 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2511 if test -n "$ac_ct_CC"; then
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2513 $as_echo "$ac_ct_CC" >&6; }
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2516 $as_echo "no" >&6; }
2520 test -n "$ac_ct_CC" && break
2523 if test "x$ac_ct_CC" = x; then
2526 case $cross_compiling:$ac_tool_warned in
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2530 ac_tool_warned=yes ;;
2539 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2541 as_fn_error $? "no acceptable C compiler found in \$PATH
2542 See \`config.log' for more details" "$LINENO" 5; }
2544 # Provide some information about the compiler.
2545 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2548 for ac_option in --version -v -V -qversion; do
2549 { { ac_try="$ac_compiler $ac_option >&5"
2551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2552 *) ac_try_echo=$ac_try;;
2554 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2555 $as_echo "$ac_try_echo"; } >&5
2556 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2558 if test -s conftest.err; then
2560 ... rest of stderr output deleted ...
2561 10q' conftest.err >conftest.er1
2562 cat conftest.er1 >&5
2564 rm -f conftest.er1 conftest.err
2565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2566 test $ac_status = 0; }
2569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2570 /* end confdefs.h. */
2580 ac_clean_files_save=$ac_clean_files
2581 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2582 # Try to create an executable without -o first, disregard a.out.
2583 # It will help us diagnose broken compilers, and finding out an intuition
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2586 $as_echo_n "checking whether the C compiler works... " >&6; }
2587 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2589 # The possible output files:
2590 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2593 for ac_file in $ac_files
2596 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2597 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2602 if { { ac_try="$ac_link_default"
2604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605 *) ac_try_echo=$ac_try;;
2607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2608 $as_echo "$ac_try_echo"; } >&5
2609 (eval "$ac_link_default") 2>&5
2611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2612 test $ac_status = 0; }; then :
2613 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2614 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2615 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2616 # so that the user can short-circuit this test for compilers unknown to
2618 for ac_file in $ac_files ''
2620 test -f "$ac_file" || continue
2622 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2625 # We found the default executable, but exeext='' is most
2629 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2631 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2633 # We set ac_cv_exeext here because the later test for it is not
2634 # safe: cross compilers may not add the suffix if given an `-o'
2635 # argument, so we may need to know it at that point already.
2636 # Even if this section looks crufty: it has the advantage of
2643 test "$ac_cv_exeext" = no && ac_cv_exeext=
2648 if test -z "$ac_file"; then :
2649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2650 $as_echo "no" >&6; }
2651 $as_echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.$ac_ext >&5
2654 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2655 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2656 as_fn_error 77 "C compiler cannot create executables
2657 See \`config.log' for more details" "$LINENO" 5; }
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2660 $as_echo "yes" >&6; }
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2663 $as_echo_n "checking for C compiler default output file name... " >&6; }
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2665 $as_echo "$ac_file" >&6; }
2666 ac_exeext=$ac_cv_exeext
2668 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2669 ac_clean_files=$ac_clean_files_save
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2671 $as_echo_n "checking for suffix of executables... " >&6; }
2672 if { { ac_try="$ac_link"
2674 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2675 *) ac_try_echo=$ac_try;;
2677 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2678 $as_echo "$ac_try_echo"; } >&5
2679 (eval "$ac_link") 2>&5
2681 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2682 test $ac_status = 0; }; then :
2683 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2684 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2685 # work properly (i.e., refer to `conftest.exe'), while it won't with
2687 for ac_file in conftest.exe conftest conftest.*; do
2688 test -f "$ac_file" || continue
2690 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2691 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2697 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2698 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2699 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2700 See \`config.log' for more details" "$LINENO" 5; }
2702 rm -f conftest conftest$ac_cv_exeext
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2704 $as_echo "$ac_cv_exeext" >&6; }
2706 rm -f conftest.$ac_ext
2707 EXEEXT=$ac_cv_exeext
2709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2710 /* end confdefs.h. */
2715 FILE *f = fopen ("conftest.out", "w");
2716 return ferror (f) || fclose (f) != 0;
2722 ac_clean_files="$ac_clean_files conftest.out"
2723 # Check that the compiler produces executables we can run. If not, either
2724 # the compiler is broken, or we cross compile.
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2726 $as_echo_n "checking whether we are cross compiling... " >&6; }
2727 if test "$cross_compiling" != yes; then
2728 { { ac_try="$ac_link"
2730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2731 *) ac_try_echo=$ac_try;;
2733 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2734 $as_echo "$ac_try_echo"; } >&5
2735 (eval "$ac_link") 2>&5
2737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; }
2739 if { ac_try='./conftest$ac_cv_exeext'
2740 { { case "(($ac_try" in
2741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2742 *) ac_try_echo=$ac_try;;
2744 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2745 $as_echo "$ac_try_echo"; } >&5
2746 (eval "$ac_try") 2>&5
2748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2749 test $ac_status = 0; }; }; then
2752 if test "$cross_compiling" = maybe; then
2755 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2756 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2757 as_fn_error $? "cannot run C compiled programs.
2758 If you meant to cross compile, use \`--host'.
2759 See \`config.log' for more details" "$LINENO" 5; }
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2764 $as_echo "$cross_compiling" >&6; }
2766 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2767 ac_clean_files=$ac_clean_files_save
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2769 $as_echo_n "checking for suffix of object files... " >&6; }
2770 if ${ac_cv_objext+:} false; then :
2771 $as_echo_n "(cached) " >&6
2773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2774 /* end confdefs.h. */
2784 rm -f conftest.o conftest.obj
2785 if { { ac_try="$ac_compile"
2787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2788 *) ac_try_echo=$ac_try;;
2790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2791 $as_echo "$ac_try_echo"; } >&5
2792 (eval "$ac_compile") 2>&5
2794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2795 test $ac_status = 0; }; then :
2796 for ac_file in conftest.o conftest.obj conftest.*; do
2797 test -f "$ac_file" || continue;
2799 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2800 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2805 $as_echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2810 as_fn_error $? "cannot compute suffix of object files: cannot compile
2811 See \`config.log' for more details" "$LINENO" 5; }
2813 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2816 $as_echo "$ac_cv_objext" >&6; }
2817 OBJEXT=$ac_cv_objext
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2820 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2821 if ${ac_cv_c_compiler_gnu+:} false; then :
2822 $as_echo_n "(cached) " >&6
2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825 /* end confdefs.h. */
2838 if ac_fn_c_try_compile "$LINENO"; then :
2843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2844 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2848 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2849 if test $ac_compiler_gnu = yes; then
2854 ac_test_CFLAGS=${CFLAGS+set}
2855 ac_save_CFLAGS=$CFLAGS
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2857 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2858 if ${ac_cv_prog_cc_g+:} false; then :
2859 $as_echo_n "(cached) " >&6
2861 ac_save_c_werror_flag=$ac_c_werror_flag
2862 ac_c_werror_flag=yes
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2876 if ac_fn_c_try_compile "$LINENO"; then :
2880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2881 /* end confdefs.h. */
2891 if ac_fn_c_try_compile "$LINENO"; then :
2894 ac_c_werror_flag=$ac_save_c_werror_flag
2896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2897 /* end confdefs.h. */
2907 if ac_fn_c_try_compile "$LINENO"; then :
2910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2915 ac_c_werror_flag=$ac_save_c_werror_flag
2917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2918 $as_echo "$ac_cv_prog_cc_g" >&6; }
2919 if test "$ac_test_CFLAGS" = set; then
2920 CFLAGS=$ac_save_CFLAGS
2921 elif test $ac_cv_prog_cc_g = yes; then
2922 if test "$GCC" = yes; then
2928 if test "$GCC" = yes; then
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2935 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2936 if ${ac_cv_prog_cc_c89+:} false; then :
2937 $as_echo_n "(cached) " >&6
2939 ac_cv_prog_cc_c89=no
2941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2942 /* end confdefs.h. */
2945 #include <sys/types.h>
2946 #include <sys/stat.h>
2947 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2948 struct buf { int x; };
2949 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2950 static char *e (p, i)
2956 static char *f (char * (*g) (char **, int), char **p, ...)
2961 s = g (p, va_arg (v,int));
2966 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2967 function prototypes and stuff, but not '\xHH' hex character constants.
2968 These don't provoke an error unfortunately, instead are silently treated
2969 as 'x'. The following induces an error, until -std is added to get
2970 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2971 array size at least. It's necessary to write '\x00'==0 to get something
2972 that's true only with -std. */
2973 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2975 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2976 inside strings and character constants. */
2978 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2980 int test (int i, double x);
2981 struct s1 {int (*f) (int a);};
2982 struct s2 {int (*f) (double a);};
2983 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2989 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2994 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2995 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2997 CC="$ac_save_CC $ac_arg"
2998 if ac_fn_c_try_compile "$LINENO"; then :
2999 ac_cv_prog_cc_c89=$ac_arg
3001 rm -f core conftest.err conftest.$ac_objext
3002 test "x$ac_cv_prog_cc_c89" != "xno" && break
3004 rm -f conftest.$ac_ext
3009 case "x$ac_cv_prog_cc_c89" in
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3012 $as_echo "none needed" >&6; } ;;
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3015 $as_echo "unsupported" >&6; } ;;
3017 CC="$CC $ac_cv_prog_cc_c89"
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3019 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3021 if test "x$ac_cv_prog_cc_c89" != xno; then :
3026 ac_cpp='$CPP $CPPFLAGS'
3027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3033 ac_cpp='$CPP $CPPFLAGS'
3034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3038 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3039 # On Suns, sometimes $CPP names a directory.
3040 if test -n "$CPP" && test -d "$CPP"; then
3043 if test -z "$CPP"; then
3044 if ${ac_cv_prog_CPP+:} false; then :
3045 $as_echo_n "(cached) " >&6
3047 # Double quotes because CPP needs to be expanded
3048 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3051 for ac_c_preproc_warn_flag in '' yes
3053 # Use a header file that comes with gcc, so configuring glibc
3054 # with a fresh cross-compiler works.
3055 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3056 # <limits.h> exists even on freestanding compilers.
3057 # On the NeXT, cc -E runs the code through the compiler's parser,
3058 # not just through cpp. "Syntax error" is here to catch this case.
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3062 # include <limits.h>
3064 # include <assert.h>
3068 if ac_fn_c_try_cpp "$LINENO"; then :
3071 # Broken: fails on valid input.
3074 rm -f conftest.err conftest.i conftest.$ac_ext
3076 # OK, works on sane cases. Now check whether nonexistent headers
3077 # can be detected and how.
3078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3079 /* end confdefs.h. */
3080 #include <ac_nonexistent.h>
3082 if ac_fn_c_try_cpp "$LINENO"; then :
3083 # Broken: success on invalid input.
3086 # Passes both tests.
3090 rm -f conftest.err conftest.i conftest.$ac_ext
3093 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3094 rm -f conftest.i conftest.err conftest.$ac_ext
3095 if $ac_preproc_ok; then :
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3108 $as_echo "$CPP" >&6; }
3110 for ac_c_preproc_warn_flag in '' yes
3112 # Use a header file that comes with gcc, so configuring glibc
3113 # with a fresh cross-compiler works.
3114 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3115 # <limits.h> exists even on freestanding compilers.
3116 # On the NeXT, cc -E runs the code through the compiler's parser,
3117 # not just through cpp. "Syntax error" is here to catch this case.
3118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h. */
3121 # include <limits.h>
3123 # include <assert.h>
3127 if ac_fn_c_try_cpp "$LINENO"; then :
3130 # Broken: fails on valid input.
3133 rm -f conftest.err conftest.i conftest.$ac_ext
3135 # OK, works on sane cases. Now check whether nonexistent headers
3136 # can be detected and how.
3137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3138 /* end confdefs.h. */
3139 #include <ac_nonexistent.h>
3141 if ac_fn_c_try_cpp "$LINENO"; then :
3142 # Broken: success on invalid input.
3145 # Passes both tests.
3149 rm -f conftest.err conftest.i conftest.$ac_ext
3152 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3153 rm -f conftest.i conftest.err conftest.$ac_ext
3154 if $ac_preproc_ok; then :
3157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3159 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3160 See \`config.log' for more details" "$LINENO" 5; }
3164 ac_cpp='$CPP $CPPFLAGS'
3165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3171 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3172 if ${ac_cv_path_GREP+:} false; then :
3173 $as_echo_n "(cached) " >&6
3175 if test -z "$GREP"; then
3176 ac_path_GREP_found=false
3177 # Loop through the user's path and test for each of PROGNAME-LIST
3178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3179 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3182 test -z "$as_dir" && as_dir=.
3183 for ac_prog in grep ggrep; do
3184 for ac_exec_ext in '' $ac_executable_extensions; do
3185 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3186 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3187 # Check for GNU ac_path_GREP and select it if it is found.
3188 # Check for GNU $ac_path_GREP
3189 case `"$ac_path_GREP" --version 2>&1` in
3191 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3194 $as_echo_n 0123456789 >"conftest.in"
3197 cat "conftest.in" "conftest.in" >"conftest.tmp"
3198 mv "conftest.tmp" "conftest.in"
3199 cp "conftest.in" "conftest.nl"
3200 $as_echo 'GREP' >> "conftest.nl"
3201 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3202 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3203 as_fn_arith $ac_count + 1 && ac_count=$as_val
3204 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3205 # Best one so far, save it but keep looking for a better one
3206 ac_cv_path_GREP="$ac_path_GREP"
3207 ac_path_GREP_max=$ac_count
3209 # 10*(2^10) chars as input seems more than enough
3210 test $ac_count -gt 10 && break
3212 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3215 $ac_path_GREP_found && break 3
3220 if test -z "$ac_cv_path_GREP"; then
3221 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3224 ac_cv_path_GREP=$GREP
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3229 $as_echo "$ac_cv_path_GREP" >&6; }
3230 GREP="$ac_cv_path_GREP"
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3234 $as_echo_n "checking for egrep... " >&6; }
3235 if ${ac_cv_path_EGREP+:} false; then :
3236 $as_echo_n "(cached) " >&6
3238 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3239 then ac_cv_path_EGREP="$GREP -E"
3241 if test -z "$EGREP"; then
3242 ac_path_EGREP_found=false
3243 # Loop through the user's path and test for each of PROGNAME-LIST
3244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3245 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3248 test -z "$as_dir" && as_dir=.
3249 for ac_prog in egrep; do
3250 for ac_exec_ext in '' $ac_executable_extensions; do
3251 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3252 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3253 # Check for GNU ac_path_EGREP and select it if it is found.
3254 # Check for GNU $ac_path_EGREP
3255 case `"$ac_path_EGREP" --version 2>&1` in
3257 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3260 $as_echo_n 0123456789 >"conftest.in"
3263 cat "conftest.in" "conftest.in" >"conftest.tmp"
3264 mv "conftest.tmp" "conftest.in"
3265 cp "conftest.in" "conftest.nl"
3266 $as_echo 'EGREP' >> "conftest.nl"
3267 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3268 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3269 as_fn_arith $ac_count + 1 && ac_count=$as_val
3270 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3271 # Best one so far, save it but keep looking for a better one
3272 ac_cv_path_EGREP="$ac_path_EGREP"
3273 ac_path_EGREP_max=$ac_count
3275 # 10*(2^10) chars as input seems more than enough
3276 test $ac_count -gt 10 && break
3278 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3281 $ac_path_EGREP_found && break 3
3286 if test -z "$ac_cv_path_EGREP"; then
3287 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3290 ac_cv_path_EGREP=$EGREP
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3296 $as_echo "$ac_cv_path_EGREP" >&6; }
3297 EGREP="$ac_cv_path_EGREP"
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3301 $as_echo_n "checking for ANSI C header files... " >&6; }
3302 if ${ac_cv_header_stdc+:} false; then :
3303 $as_echo_n "(cached) " >&6
3305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3306 /* end confdefs.h. */
3320 if ac_fn_c_try_compile "$LINENO"; then :
3321 ac_cv_header_stdc=yes
3323 ac_cv_header_stdc=no
3325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3327 if test $ac_cv_header_stdc = yes; then
3328 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3335 $EGREP "memchr" >/dev/null 2>&1; then :
3338 ac_cv_header_stdc=no
3344 if test $ac_cv_header_stdc = yes; then
3345 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3351 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3352 $EGREP "free" >/dev/null 2>&1; then :
3355 ac_cv_header_stdc=no
3361 if test $ac_cv_header_stdc = yes; then
3362 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3363 if test "$cross_compiling" = yes; then :
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3370 #if ((' ' & 0x0FF) == 0x020)
3371 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3372 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3374 # define ISLOWER(c) \
3375 (('a' <= (c) && (c) <= 'i') \
3376 || ('j' <= (c) && (c) <= 'r') \
3377 || ('s' <= (c) && (c) <= 'z'))
3378 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3381 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3386 for (i = 0; i < 256; i++)
3387 if (XOR (islower (i), ISLOWER (i))
3388 || toupper (i) != TOUPPER (i))
3393 if ac_fn_c_try_run "$LINENO"; then :
3396 ac_cv_header_stdc=no
3398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3399 conftest.$ac_objext conftest.beam conftest.$ac_ext
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3405 $as_echo "$ac_cv_header_stdc" >&6; }
3406 if test $ac_cv_header_stdc = yes; then
3408 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3412 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3413 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3414 inttypes.h stdint.h unistd.h
3416 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3417 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3419 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3420 cat >>confdefs.h <<_ACEOF
3421 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3430 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3431 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3438 if test "$MINIX" = yes; then
3440 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3443 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3446 $as_echo "#define _MINIX 1" >>confdefs.h
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3452 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3453 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3454 $as_echo_n "(cached) " >&6
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3459 # define __EXTENSIONS__ 1
3460 $ac_includes_default
3469 if ac_fn_c_try_compile "$LINENO"; then :
3470 ac_cv_safe_to_define___extensions__=yes
3472 ac_cv_safe_to_define___extensions__=no
3474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3477 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3478 test $ac_cv_safe_to_define___extensions__ = yes &&
3479 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3481 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3483 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3485 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3487 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3492 $as_echo_n "checking whether ln -s works... " >&6; }
3494 if test "$LN_S" = "ln -s"; then
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3496 $as_echo "yes" >&6; }
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3499 $as_echo "no, using $LN_S" >&6; }
3505 # Extract the first word of "chmod", so it can be a program name with args.
3506 set dummy chmod; ac_word=$2
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3508 $as_echo_n "checking for $ac_word... " >&6; }
3509 if ${ac_cv_prog_CHMOD+:} false; then :
3510 $as_echo_n "(cached) " >&6
3512 if test -n "$CHMOD"; then
3513 ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
3515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3519 test -z "$as_dir" && as_dir=.
3520 for ac_exec_ext in '' $ac_executable_extensions; do
3521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3522 ac_cv_prog_CHMOD="chmod"
3523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3532 CHMOD=$ac_cv_prog_CHMOD
3533 if test -n "$CHMOD"; then
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
3535 $as_echo "$CHMOD" >&6; }
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3538 $as_echo "no" >&6; }
3542 # Extract the first word of "chown", so it can be a program name with args.
3543 set dummy chown; ac_word=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if ${ac_cv_prog_CHOWN+:} false; then :
3547 $as_echo_n "(cached) " >&6
3549 if test -n "$CHOWN"; then
3550 ac_cv_prog_CHOWN="$CHOWN" # Let the user override the test.
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3556 test -z "$as_dir" && as_dir=.
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3559 ac_cv_prog_CHOWN="chown"
3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 CHOWN=$ac_cv_prog_CHOWN
3570 if test -n "$CHOWN"; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHOWN" >&5
3572 $as_echo "$CHOWN" >&6; }
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3579 # Extract the first word of "ar", so it can be a program name with args.
3580 set dummy ar; ac_word=$2
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3582 $as_echo_n "checking for $ac_word... " >&6; }
3583 if ${ac_cv_prog_AR+:} false; then :
3584 $as_echo_n "(cached) " >&6
3586 if test -n "$AR"; then
3587 ac_cv_prog_AR="$AR" # Let the user override the test.
3589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 test -z "$as_dir" && as_dir=.
3594 for ac_exec_ext in '' $ac_executable_extensions; do
3595 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3607 if test -n "$AR"; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3609 $as_echo "$AR" >&6; }
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3612 $as_echo "no" >&6; }
3616 # Extract the first word of "install", so it can be a program name with args.
3617 set dummy install; ac_word=$2
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if ${ac_cv_prog_INSTALL+:} false; then :
3621 $as_echo_n "(cached) " >&6
3623 if test -n "$INSTALL"; then
3624 ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
3626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3630 test -z "$as_dir" && as_dir=.
3631 for ac_exec_ext in '' $ac_executable_extensions; do
3632 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3633 ac_cv_prog_INSTALL="install"
3634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3643 INSTALL=$ac_cv_prog_INSTALL
3644 if test -n "$INSTALL"; then
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3646 $as_echo "$INSTALL" >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3649 $as_echo "no" >&6; }
3653 # Extract the first word of "msgfmt", so it can be a program name with args.
3654 set dummy msgfmt; ac_word=$2
3655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3656 $as_echo_n "checking for $ac_word... " >&6; }
3657 if ${ac_cv_prog_MSGFMT+:} false; then :
3658 $as_echo_n "(cached) " >&6
3660 if test -n "$MSGFMT"; then
3661 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
3663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3667 test -z "$as_dir" && as_dir=.
3668 for ac_exec_ext in '' $ac_executable_extensions; do
3669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3670 ac_cv_prog_MSGFMT="msgfmt"
3671 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3680 MSGFMT=$ac_cv_prog_MSGFMT
3681 if test -n "$MSGFMT"; then
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3683 $as_echo "$MSGFMT" >&6; }
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3686 $as_echo "no" >&6; }
3690 # Extract the first word of "xgettext", so it can be a program name with args.
3691 set dummy xgettext; ac_word=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if ${ac_cv_prog_XGETTEXT+:} false; then :
3695 $as_echo_n "(cached) " >&6
3697 if test -n "$XGETTEXT"; then
3698 ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test.
3700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3704 test -z "$as_dir" && as_dir=.
3705 for ac_exec_ext in '' $ac_executable_extensions; do
3706 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3707 ac_cv_prog_XGETTEXT="xgettext"
3708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 XGETTEXT=$ac_cv_prog_XGETTEXT
3718 if test -n "$XGETTEXT"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3720 $as_echo "$XGETTEXT" >&6; }
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3723 $as_echo "no" >&6; }
3727 # Extract the first word of "msgmerge", so it can be a program name with args.
3728 set dummy msgmerge; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if ${ac_cv_prog_MSGMERGE+:} false; then :
3732 $as_echo_n "(cached) " >&6
3734 if test -n "$MSGMERGE"; then
3735 ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test.
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3744 ac_cv_prog_MSGMERGE="msgmerge"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 MSGMERGE=$ac_cv_prog_MSGMERGE
3755 if test -n "$MSGMERGE"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3757 $as_echo "$MSGMERGE" >&6; }
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3764 for ac_prog in bzip2 gzip
3766 # Extract the first word of "$ac_prog", so it can be a program name with args.
3767 set dummy $ac_prog; ac_word=$2
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if ${ac_cv_prog_ZIP+:} false; then :
3771 $as_echo_n "(cached) " >&6
3773 if test -n "$ZIP"; then
3774 ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783 ac_cv_prog_ZIP="$ac_prog"
3784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794 if test -n "$ZIP"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
3796 $as_echo "$ZIP" >&6; }
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3803 test -n "$ZIP" && break
3805 test -n "$ZIP" || ZIP="gzip"
3807 INSTALL_DATA="\${INSTALL} -m 644"
3809 INSTALL_BIN="\${INSTALL} -m 755"
3814 # Extract the first word of "$ac_prog", so it can be a program name with args.
3815 set dummy $ac_prog; ac_word=$2
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3817 $as_echo_n "checking for $ac_word... " >&6; }
3818 if ${ac_cv_path_PATH_CP+:} false; then :
3819 $as_echo_n "(cached) " >&6
3823 ac_cv_path_PATH_CP="$PATH_CP" # Let the user override the test with a path.
3826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3827 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3830 test -z "$as_dir" && as_dir=.
3831 for ac_exec_ext in '' $ac_executable_extensions; do
3832 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3833 ac_cv_path_PATH_CP="$as_dir/$ac_word$ac_exec_ext"
3834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3844 PATH_CP=$ac_cv_path_PATH_CP
3845 if test -n "$PATH_CP"; then
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CP" >&5
3847 $as_echo "$PATH_CP" >&6; }
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3850 $as_echo "no" >&6; }
3854 test -n "$PATH_CP" && break
3856 test -n "$PATH_CP" || PATH_CP="cp"
3858 for ac_prog in chkconfig
3860 # Extract the first word of "$ac_prog", so it can be a program name with args.
3861 set dummy $ac_prog; ac_word=$2
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3863 $as_echo_n "checking for $ac_word... " >&6; }
3864 if ${ac_cv_path_PATH_CHKCONFIG+:} false; then :
3865 $as_echo_n "(cached) " >&6
3867 case $PATH_CHKCONFIG in
3869 ac_cv_path_PATH_CHKCONFIG="$PATH_CHKCONFIG" # Let the user override the test with a path.
3872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3873 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3876 test -z "$as_dir" && as_dir=.
3877 for ac_exec_ext in '' $ac_executable_extensions; do
3878 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3879 ac_cv_path_PATH_CHKCONFIG="$as_dir/$ac_word$ac_exec_ext"
3880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 PATH_CHKCONFIG=$ac_cv_path_PATH_CHKCONFIG
3891 if test -n "$PATH_CHKCONFIG"; then
3892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CHKCONFIG" >&5
3893 $as_echo "$PATH_CHKCONFIG" >&6; }
3895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3896 $as_echo "no" >&6; }
3900 test -n "$PATH_CHKCONFIG" && break
3902 test -n "$PATH_CHKCONFIG" || PATH_CHKCONFIG="chkconfig"
3907 for ac_prog in systemctl
3909 # Extract the first word of "$ac_prog", so it can be a program name with args.
3910 set dummy $ac_prog; ac_word=$2
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3912 $as_echo_n "checking for $ac_word... " >&6; }
3913 if ${ac_cv_path_SYSTEMCTL+:} false; then :
3914 $as_echo_n "(cached) " >&6
3918 ac_cv_path_SYSTEMCTL="$SYSTEMCTL" # Let the user override the test with a path.
3921 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3922 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3925 test -z "$as_dir" && as_dir=.
3926 for ac_exec_ext in '' $ac_executable_extensions; do
3927 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3928 ac_cv_path_SYSTEMCTL="$as_dir/$ac_word$ac_exec_ext"
3929 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3939 SYSTEMCTL=$ac_cv_path_SYSTEMCTL
3940 if test -n "$SYSTEMCTL"; then
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSTEMCTL" >&5
3942 $as_echo "$SYSTEMCTL" >&6; }
3944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3945 $as_echo "no" >&6; }
3949 test -n "$SYSTEMCTL" && break
3951 test -n "$SYSTEMCTL" || SYSTEMCTL="systemctl"
3954 # Check whether --with-systemdsystemunitdir was given.
3955 if test "${with_systemdsystemunitdir+set}" = set; then :
3956 withval=$with_systemdsystemunitdir;
3958 with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
3961 if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ; then
3962 SYSTEMD_UNIT_DIR=$with_systemdsystemunitdir
3968 # Check header files
3970 echo Check header files:
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3975 $as_echo_n "checking for ANSI C header files... " >&6; }
3976 if ${ac_cv_header_stdc+:} false; then :
3977 $as_echo_n "(cached) " >&6
3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980 /* end confdefs.h. */
3994 if ac_fn_c_try_compile "$LINENO"; then :
3995 ac_cv_header_stdc=yes
3997 ac_cv_header_stdc=no
3999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4001 if test $ac_cv_header_stdc = yes; then
4002 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4004 /* end confdefs.h. */
4008 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4009 $EGREP "memchr" >/dev/null 2>&1; then :
4012 ac_cv_header_stdc=no
4018 if test $ac_cv_header_stdc = yes; then
4019 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4021 /* end confdefs.h. */
4025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4026 $EGREP "free" >/dev/null 2>&1; then :
4029 ac_cv_header_stdc=no
4035 if test $ac_cv_header_stdc = yes; then
4036 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4037 if test "$cross_compiling" = yes; then :
4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h. */
4044 #if ((' ' & 0x0FF) == 0x020)
4045 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4046 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4048 # define ISLOWER(c) \
4049 (('a' <= (c) && (c) <= 'i') \
4050 || ('j' <= (c) && (c) <= 'r') \
4051 || ('s' <= (c) && (c) <= 'z'))
4052 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4055 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4060 for (i = 0; i < 256; i++)
4061 if (XOR (islower (i), ISLOWER (i))
4062 || toupper (i) != TOUPPER (i))
4067 if ac_fn_c_try_run "$LINENO"; then :
4070 ac_cv_header_stdc=no
4072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4073 conftest.$ac_objext conftest.beam conftest.$ac_ext
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4079 $as_echo "$ac_cv_header_stdc" >&6; }
4080 if test $ac_cv_header_stdc = yes; then
4082 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4087 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4088 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4090 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4091 if eval \${$as_ac_Header+:} false; then :
4092 $as_echo_n "(cached) " >&6
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4096 #include <sys/types.h>
4108 if ac_fn_c_try_compile "$LINENO"; then :
4109 eval "$as_ac_Header=yes"
4111 eval "$as_ac_Header=no"
4113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4115 eval ac_res=\$$as_ac_Header
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4117 $as_echo "$ac_res" >&6; }
4118 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4119 cat >>confdefs.h <<_ACEOF
4120 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4123 ac_header_dirent=$ac_hdr; break
4127 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4128 if test $ac_header_dirent = dirent.h; then
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4130 $as_echo_n "checking for library containing opendir... " >&6; }
4131 if ${ac_cv_search_opendir+:} false; then :
4132 $as_echo_n "(cached) " >&6
4134 ac_func_search_save_LIBS=$LIBS
4135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4136 /* end confdefs.h. */
4138 /* Override any GCC internal prototype to avoid an error.
4139 Use char because int might match the return type of a GCC
4140 builtin and then its argument prototype would still apply. */
4153 for ac_lib in '' dir; do
4154 if test -z "$ac_lib"; then
4155 ac_res="none required"
4158 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4160 if ac_fn_c_try_link "$LINENO"; then :
4161 ac_cv_search_opendir=$ac_res
4163 rm -f core conftest.err conftest.$ac_objext \
4165 if ${ac_cv_search_opendir+:} false; then :
4169 if ${ac_cv_search_opendir+:} false; then :
4172 ac_cv_search_opendir=no
4175 LIBS=$ac_func_search_save_LIBS
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4178 $as_echo "$ac_cv_search_opendir" >&6; }
4179 ac_res=$ac_cv_search_opendir
4180 if test "$ac_res" != no; then :
4181 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4187 $as_echo_n "checking for library containing opendir... " >&6; }
4188 if ${ac_cv_search_opendir+:} false; then :
4189 $as_echo_n "(cached) " >&6
4191 ac_func_search_save_LIBS=$LIBS
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4195 /* Override any GCC internal prototype to avoid an error.
4196 Use char because int might match the return type of a GCC
4197 builtin and then its argument prototype would still apply. */
4210 for ac_lib in '' x; do
4211 if test -z "$ac_lib"; then
4212 ac_res="none required"
4215 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4217 if ac_fn_c_try_link "$LINENO"; then :
4218 ac_cv_search_opendir=$ac_res
4220 rm -f core conftest.err conftest.$ac_objext \
4222 if ${ac_cv_search_opendir+:} false; then :
4226 if ${ac_cv_search_opendir+:} false; then :
4229 ac_cv_search_opendir=no
4232 LIBS=$ac_func_search_save_LIBS
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4235 $as_echo "$ac_cv_search_opendir" >&6; }
4236 ac_res=$ac_cv_search_opendir
4237 if test "$ac_res" != no; then :
4238 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4244 for ac_header in ctype.h
4246 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
4247 if test "x$ac_cv_header_ctype_h" = xyes; then :
4248 cat >>confdefs.h <<_ACEOF
4249 #define HAVE_CTYPE_H 1
4256 for ac_header in errno.h
4258 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
4259 if test "x$ac_cv_header_errno_h" = xyes; then :
4260 cat >>confdefs.h <<_ACEOF
4261 #define HAVE_ERRNO_H 1
4268 for ac_header in libintl.h
4270 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4271 if test "x$ac_cv_header_libintl_h" = xyes; then :
4272 cat >>confdefs.h <<_ACEOF
4273 #define HAVE_LIBINTL_H 1
4280 for ac_header in locale.h
4282 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4283 if test "x$ac_cv_header_locale_h" = xyes; then :
4284 cat >>confdefs.h <<_ACEOF
4285 #define HAVE_LOCALE_H 1
4292 for ac_header in net/if.h
4294 ac_fn_c_check_header_mongrel "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default"
4295 if test "x$ac_cv_header_net_if_h" = xyes; then :
4296 cat >>confdefs.h <<_ACEOF
4297 #define HAVE_NET_IF_H 1
4304 for ac_header in regex.h
4306 ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
4307 if test "x$ac_cv_header_regex_h" = xyes; then :
4308 cat >>confdefs.h <<_ACEOF
4309 #define HAVE_REGEX_H 1
4316 for ac_header in signal.h
4318 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
4319 if test "x$ac_cv_header_signal_h" = xyes; then :
4320 cat >>confdefs.h <<_ACEOF
4321 #define HAVE_SIGNAL_H 1
4328 for ac_header in stdio.h
4330 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
4331 if test "x$ac_cv_header_stdio_h" = xyes; then :
4332 cat >>confdefs.h <<_ACEOF
4333 #define HAVE_STDIO_H 1
4340 for ac_header in sys/file.h
4342 ac_fn_c_check_header_mongrel "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
4343 if test "x$ac_cv_header_sys_file_h" = xyes; then :
4344 cat >>confdefs.h <<_ACEOF
4345 #define HAVE_SYS_FILE_H 1
4352 for ac_header in sys/ioctl.h
4354 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
4355 if test "x$ac_cv_header_sys_ioctl_h" = xyes; then :
4356 cat >>confdefs.h <<_ACEOF
4357 #define HAVE_SYS_IOCTL_H 1
4364 for ac_header in sys/stat.h
4366 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
4367 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
4368 cat >>confdefs.h <<_ACEOF
4369 #define HAVE_SYS_STAT_H 1
4378 echo Check typedefs, structures and compiler characteristics:
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4381 $as_echo_n "checking return type of signal handlers... " >&6; }
4382 if ${ac_cv_type_signal+:} false; then :
4383 $as_echo_n "(cached) " >&6
4385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4386 /* end confdefs.h. */
4387 #include <sys/types.h>
4393 return *(signal (0, 0)) (0) == 1;
4398 if ac_fn_c_try_compile "$LINENO"; then :
4399 ac_cv_type_signal=int
4401 ac_cv_type_signal=void
4403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4406 $as_echo "$ac_cv_type_signal" >&6; }
4408 cat >>confdefs.h <<_ACEOF
4409 #define RETSIGTYPE $ac_cv_type_signal
4413 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4414 if test "x$ac_cv_type_size_t" = xyes; then :
4418 cat >>confdefs.h <<_ACEOF
4419 #define size_t unsigned int
4424 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4425 if test "x$ac_cv_type_off_t" = xyes; then :
4429 cat >>confdefs.h <<_ACEOF
4430 #define off_t long int
4437 echo Check library functions:
4439 for ac_func in strchr
4441 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
4442 if test "x$ac_cv_func_strchr" = xyes; then :
4443 cat >>confdefs.h <<_ACEOF
4444 #define HAVE_STRCHR 1
4450 for ac_func in strcspn
4452 ac_fn_c_check_func "$LINENO" "strcspn" "ac_cv_func_strcspn"
4453 if test "x$ac_cv_func_strcspn" = xyes; then :
4454 cat >>confdefs.h <<_ACEOF
4455 #define HAVE_STRCSPN 1
4461 for ac_func in strspn
4463 ac_fn_c_check_func "$LINENO" "strspn" "ac_cv_func_strspn"
4464 if test "x$ac_cv_func_strspn" = xyes; then :
4465 cat >>confdefs.h <<_ACEOF
4466 #define HAVE_STRSPN 1
4472 for ac_func in strstr
4474 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
4475 if test "x$ac_cv_func_strstr" = xyes; then :
4476 cat >>confdefs.h <<_ACEOF
4477 #define HAVE_STRSTR 1
4484 # Should we check for lm_sensors?
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors support" >&5
4486 $as_echo_n "checking for sensors support... " >&6; }
4487 # Check whether --enable-sensors was given.
4488 if test "${enable_sensors+set}" = set; then :
4489 enableval=$enable_sensors; SENSORS=$enableval
4494 if test $SENSORS != "yes"; then
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4500 $as_echo "$SENSORS" >&6; }
4502 # Check for lm_sensors
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_get_detected_chips in -lsensors" >&5
4507 $as_echo_n "checking for sensors_get_detected_chips in -lsensors... " >&6; }
4508 if ${ac_cv_lib_sensors_sensors_get_detected_chips+:} false; then :
4509 $as_echo_n "(cached) " >&6
4511 ac_check_lib_save_LIBS=$LIBS
4512 LIBS="-lsensors $LIBS"
4513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4514 /* end confdefs.h. */
4516 /* Override any GCC internal prototype to avoid an error.
4517 Use char because int might match the return type of a GCC
4518 builtin and then its argument prototype would still apply. */
4522 char sensors_get_detected_chips ();
4526 return sensors_get_detected_chips ();
4531 if ac_fn_c_try_link "$LINENO"; then :
4532 ac_cv_lib_sensors_sensors_get_detected_chips=yes
4534 ac_cv_lib_sensors_sensors_get_detected_chips=no
4536 rm -f core conftest.err conftest.$ac_objext \
4537 conftest$ac_exeext conftest.$ac_ext
4538 LIBS=$ac_check_lib_save_LIBS
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_get_detected_chips" >&5
4541 $as_echo "$ac_cv_lib_sensors_sensors_get_detected_chips" >&6; }
4542 if test "x$ac_cv_lib_sensors_sensors_get_detected_chips" = xyes; then :
4543 LFSENSORS="-lsensors"
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors lib" >&5
4549 $as_echo_n "checking for sensors lib... " >&6; }
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4552 #include <sensors/sensors.h>
4553 #include <sensors/error.h>
4563 if ac_fn_c_try_compile "$LINENO"; then :
4564 SENSORS=yes; DFSENSORS="-DHAVE_SENSORS"
4566 HAVE_SENSORS="n"; SENSORS=no
4568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4570 $as_echo "$SENSORS" >&6; }
4576 echo Check system services:
4578 # Check whether --enable-largefile was given.
4579 if test "${enable_largefile+set}" = set; then :
4580 enableval=$enable_largefile;
4583 if test "$enable_largefile" != no; then
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4586 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4587 if ${ac_cv_sys_largefile_CC+:} false; then :
4588 $as_echo_n "(cached) " >&6
4590 ac_cv_sys_largefile_CC=no
4591 if test "$GCC" != yes; then
4594 # IRIX 6.2 and later do not support large files by default,
4595 # so use the C compiler's -n32 option if that helps.
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4598 #include <sys/types.h>
4599 /* Check that off_t can represent 2**63 - 1 correctly.
4600 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4601 since some C++ compilers masquerading as C compilers
4602 incorrectly reject 9223372036854775807. */
4603 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4604 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4605 && LARGE_OFF_T % 2147483647 == 1)
4615 if ac_fn_c_try_compile "$LINENO"; then :
4618 rm -f core conftest.err conftest.$ac_objext
4620 if ac_fn_c_try_compile "$LINENO"; then :
4621 ac_cv_sys_largefile_CC=' -n32'; break
4623 rm -f core conftest.err conftest.$ac_objext
4627 rm -f conftest.$ac_ext
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4631 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4632 if test "$ac_cv_sys_largefile_CC" != no; then
4633 CC=$CC$ac_cv_sys_largefile_CC
4636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4637 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4638 if ${ac_cv_sys_file_offset_bits+:} false; then :
4639 $as_echo_n "(cached) " >&6
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4644 #include <sys/types.h>
4645 /* Check that off_t can represent 2**63 - 1 correctly.
4646 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4647 since some C++ compilers masquerading as C compilers
4648 incorrectly reject 9223372036854775807. */
4649 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4650 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4651 && LARGE_OFF_T % 2147483647 == 1)
4661 if ac_fn_c_try_compile "$LINENO"; then :
4662 ac_cv_sys_file_offset_bits=no; break
4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4666 /* end confdefs.h. */
4667 #define _FILE_OFFSET_BITS 64
4668 #include <sys/types.h>
4669 /* Check that off_t can represent 2**63 - 1 correctly.
4670 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4671 since some C++ compilers masquerading as C compilers
4672 incorrectly reject 9223372036854775807. */
4673 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4674 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4675 && LARGE_OFF_T % 2147483647 == 1)
4685 if ac_fn_c_try_compile "$LINENO"; then :
4686 ac_cv_sys_file_offset_bits=64; break
4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4689 ac_cv_sys_file_offset_bits=unknown
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4694 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4695 case $ac_cv_sys_file_offset_bits in #(
4698 cat >>confdefs.h <<_ACEOF
4699 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4704 if test $ac_cv_sys_file_offset_bits = unknown; then
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4706 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4707 if ${ac_cv_sys_large_files+:} false; then :
4708 $as_echo_n "(cached) " >&6
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4713 #include <sys/types.h>
4714 /* Check that off_t can represent 2**63 - 1 correctly.
4715 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4716 since some C++ compilers masquerading as C compilers
4717 incorrectly reject 9223372036854775807. */
4718 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4719 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4720 && LARGE_OFF_T % 2147483647 == 1)
4730 if ac_fn_c_try_compile "$LINENO"; then :
4731 ac_cv_sys_large_files=no; break
4733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4735 /* end confdefs.h. */
4736 #define _LARGE_FILES 1
4737 #include <sys/types.h>
4738 /* Check that off_t can represent 2**63 - 1 correctly.
4739 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4740 since some C++ compilers masquerading as C compilers
4741 incorrectly reject 9223372036854775807. */
4742 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4743 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4744 && LARGE_OFF_T % 2147483647 == 1)
4754 if ac_fn_c_try_compile "$LINENO"; then :
4755 ac_cv_sys_large_files=1; break
4757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4758 ac_cv_sys_large_files=unknown
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4763 $as_echo "$ac_cv_sys_large_files" >&6; }
4764 case $ac_cv_sys_large_files in #(
4767 cat >>confdefs.h <<_ACEOF
4768 #define _LARGE_FILES $ac_cv_sys_large_files
4778 echo Check configuration:
4780 # Check arguments used
4782 # Optional Features:
4783 # --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
4784 # --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
4785 # --disable-largefile omit support for large files
4786 # --disable-nls disable National Language Support
4787 # --enable-yesterday tell sa2 to use "yesterday" data files
4788 # --disable-man-group ignore man_group variable value
4789 # --enable-install-cron tell sysstat to install cron scripts
4790 # --collect-all tell sadc to collect all possible data
4791 # --enable-clean-sa-dir clean system activity directory
4792 # --enable-compress-manpg compress manual pages
4793 # --enable-install-isag install isag script
4794 # --enable-debuginfo enable debug output (--debuginfo option)
4795 # --disable-documentation do not install documentation (man pages...)
4796 # --disable-sensors do not link against libsensors even if available
4797 # --disable-stripping do not strip object files
4799 # Some influential environment variables:
4800 # rcdir directory where startup scripts are installed
4801 # sa_lib_dir sadc, sa1 and sa2 directory
4802 # sa_dir system activity daily datafiles directory
4803 # conf_dir sysstat configuration directory (default is /etc/sysconfig)
4804 # history number of daily datafiles to keep (default value is 7)
4805 # compressafter number of days after which datafiles are compressed
4806 # man_group group for man pages
4807 # cron_owner crontab owner
4808 # cron_interval crontab sampling interval
4810 # Fine tuning the installation directories:
4811 # --mandir=DIR man documentation directory [PREFIX/man]
4812 # --docdir=DIR other documentation directory [PREFIX/share/doc]
4814 # Installation directories:
4815 # --prefix=PREFIX install architecture-independent files in PREFIX
4817 # --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
4821 if test -d /etc/init.d && test ! -L /etc/init.d; then
4822 if test -d /etc/init.d/rc2.d; then
4829 INIT_DIR=/etc/init.d
4830 elif test -d /sbin/init.d; then
4832 INIT_DIR=/sbin/init.d
4836 INIT_DIR=/etc/rc.d/init.d
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking run-commands directory" >&5
4841 $as_echo_n "checking run-commands directory... " >&6; }
4843 if test x$rcdir != x""; then
4844 # Override previous rc directories values
4846 INIT_DIR=$rcdir/init.d
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC_DIR" >&5
4850 $as_echo "$RC_DIR" >&6; }
4851 if test ! -d $RC_DIR; then
4852 echo "INFO: Directory ${RC_DIR} doesn't exist."
4853 echo "INFO: Startup scripts won't be installed."
4860 # Set sadc directory
4861 if test $prefix != "NONE"; then
4864 AuxPrefix=/usr/local
4867 SADC_DIR=$AuxPrefix/lib
4868 if test -d $AuxPrefix/lib64; then
4869 # Look for lm (long mode) flag to know if CPU is 64 bit
4870 grep " lm " /proc/cpuinfo >/dev/null 2>&1
4871 if test $? = 0; then
4872 SADC_DIR=$AuxPrefix/lib64
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sadc directory" >&5
4877 $as_echo_n "checking sadc directory... " >&6; }
4879 if test x$sa_lib_dir != x""; then
4880 SA_LIB_DIR=$sa_lib_dir
4882 SA_LIB_DIR=$SADC_DIR/sa
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_LIB_DIR" >&5
4885 $as_echo "$SA_LIB_DIR" >&6; }
4886 if test ! -d $SA_LIB_DIR; then
4887 echo "INFO: Directory ${SA_LIB_DIR} will be created during installation stage."
4891 # Set system activity directory
4892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system activity directory" >&5
4893 $as_echo_n "checking system activity directory... " >&6; }
4895 if test x$sa_dir != x""; then
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_DIR" >&5
4901 $as_echo "$SA_DIR" >&6; }
4902 if test ! -d $SA_DIR; then
4903 echo "INFO: Directory ${SA_DIR} will be created during installation stage."
4907 # Set configuration directory
4908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysstat configuration directory" >&5
4909 $as_echo_n "checking sysstat configuration directory... " >&6; }
4911 if test x$conf_dir != x""; then
4912 SYSCONFIG_DIR=$conf_dir
4914 SYSCONFIG_DIR=/etc/sysconfig
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFIG_DIR" >&5
4917 $as_echo "$SYSCONFIG_DIR" >&6; }
4918 if test ! -d $SYSCONFIG_DIR; then
4919 echo "INFO: Directory ${SYSCONFIG_DIR} will be created during installation stage."
4923 # National Language Support
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking National Language Support" >&5
4925 $as_echo_n "checking National Language Support... " >&6; }
4926 # Check whether --enable-nls was given.
4927 if test "${enable_nls+set}" = set; then :
4928 enableval=$enable_nls; AUX_NLS=$enableval
4933 if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_NLS" >&5
4941 $as_echo "$AUX_NLS" >&6; }
4943 if test $AUX_NLS = "yes" && test x$MSGFMT != x"msgfmt"; then
4944 echo "WARNING: msgfmt command not found!"
4946 if test $AUX_NLS = "yes" && test x$XGETTEXT != x"xgettext"; then
4947 echo "WARNING: xgettext command not found!"
4949 if test $AUX_NLS = "yes" && test x$MSGMERGE != x"msgmerge"; then
4950 echo "WARNING: msgmerge command not found!"
4953 # Check whether sa2 should process data file of the day before
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sa2 should process data file of the day before" >&5
4955 $as_echo_n "checking whether sa2 should process data file of the day before... " >&6; }
4956 # Check whether --enable-yesterday was given.
4957 if test "${enable_yesterday+set}" = set; then :
4958 enableval=$enable_yesterday; AUX_YESTERDAY=$enableval
4963 if test $AUX_YESTERDAY = "yes"; then
4964 YESTERDAY="--date=yesterday"
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4966 $as_echo "yes" >&6; }
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4974 # Data history to keep by sa2
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of daily data files to keep" >&5
4976 $as_echo_n "checking number of daily data files to keep... " >&6; }
4978 if test x$history = x""; then
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HISTORY" >&5
4984 $as_echo "$HISTORY" >&6; }
4987 # Number of days after which datafiles are compressed
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of days after which data files are compressed" >&5
4989 $as_echo_n "checking number of days after which data files are compressed... " >&6; }
4991 if test x$compressafter = x""; then
4994 COMPRESSAFTER=$compressafter
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESSAFTER" >&5
4997 $as_echo "$COMPRESSAFTER" >&6; }
5001 grep ^man: /etc/group >/dev/null 2>&1
5002 if test $? = 0; then
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group for manual pages" >&5
5009 $as_echo_n "checking group for manual pages... " >&6; }
5011 if test x$man_group = x""; then
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5014 $as_echo "$MAN_GROUP" >&6; }
5016 grep ^$man_group: /etc/group >/dev/null 2>&1
5017 if test $? = 1; then
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5020 $as_echo "$MAN_GROUP" >&6; }
5021 echo "WARNING: Group ${man_group} not found: Using ${GRP} instead"
5023 MAN_GROUP=$man_group
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5025 $as_echo "$MAN_GROUP" >&6; }
5030 # Ignore manual pages group?
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether man_group variable should be ignored" >&5
5032 $as_echo_n "checking whether man_group variable should be ignored... " >&6; }
5033 # Check whether --enable-man-group was given.
5034 if test "${enable_man_group+set}" = set; then :
5035 enableval=$enable_man_group; AUX_IMG=$enableval
5040 if test $AUX_IMG != "no"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_IMG" >&5
5048 $as_echo "$AUX_IMG" >&6; }
5051 # Compress manual pages?
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether manual pages should be compressed" >&5
5053 $as_echo_n "checking whether manual pages should be compressed... " >&6; }
5054 # Check whether --enable-compress-manpg was given.
5055 if test "${enable_compress_manpg+set}" = set; then :
5056 enableval=$enable_compress_manpg; AUX_MPG=$enableval
5061 if test $AUX_MPG != "yes"; then
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_MPG" >&5
5068 $as_echo "$AUX_MPG" >&6; }
5071 # Check whether isag should be installed
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isag script should be installed" >&5
5073 $as_echo_n "checking whether isag script should be installed... " >&6; }
5074 # Check whether --enable-install-isag was given.
5075 if test "${enable_install_isag+set}" = set; then :
5076 enableval=$enable_install_isag; AUX_IIS=$enableval
5081 if test $AUX_IIS != "yes"; then
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_IIS" >&5
5088 $as_echo "$AUX_IIS" >&6; }
5091 # Check whether sa directory should be cleaned
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system activity directory should be cleaned" >&5
5093 $as_echo_n "checking whether system activity directory should be cleaned... " >&6; }
5094 # Check whether --enable-clean-sa-dir was given.
5095 if test "${enable_clean_sa_dir+set}" = set; then :
5096 enableval=$enable_clean_sa_dir; AUX_CSD=$enableval
5101 if test $AUX_CSD != "yes"; then
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CSD" >&5
5108 $as_echo "$AUX_CSD" >&6; }
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cron should start sar automatically" >&5
5113 $as_echo_n "checking whether cron should start sar automatically... " >&6; }
5114 # Check whether --enable-install-cron was given.
5115 if test "${enable_install_cron+set}" = set; then :
5116 enableval=$enable_install_cron; INSTALL_CRON=$enableval
5121 if test $INSTALL_CRON != "yes"; then
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CRON" >&5
5129 $as_echo "$AUX_CRON" >&6; }
5134 if test $INSTALL_CRON = "y"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab owner" >&5
5136 $as_echo_n "checking crontab owner... " >&6; }
5138 if test x$cron_owner = x""; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5141 $as_echo "$CRON_OWNER" >&6; }
5143 grep ^$cron_owner: /etc/passwd >/dev/null 2>&1
5144 if test $? = 1; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5147 $as_echo "$CRON_OWNER" >&6; }
5148 echo "WARNING: User ${cron_owner} not found: Using ${CUSR} instead."
5150 CRON_OWNER=$cron_owner
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5152 $as_echo "$CRON_OWNER" >&6; }
5155 echo "INFO: Crontab for ${CRON_OWNER} will be saved in current directory if necessary"
5156 if test $CRON_OWNER = "root"; then
5159 REM_CHOWN="# REM_CHOWN"
5161 SU_C_OWNER="su $CRON_OWNER -c "
5163 # " (ignore this line)
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab interval" >&5
5169 $as_echo_n "checking crontab interval... " >&6; }
5171 if test x$cron_interval = x""; then
5174 CRON_INTERVAL=$cron_interval
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_INTERVAL" >&5
5177 $as_echo "$CRON_INTERVAL" >&6; }
5178 CRON_INTERVAL_SEC=`expr ${CRON_INTERVAL} \* 60`
5179 CRON_COUNT=`expr 60 / ${CRON_INTERVAL}`
5181 # Check whether sadc should collect all possible activities
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sadc should collect all possible activities" >&5
5183 $as_echo_n "checking whether sadc should collect all possible activities... " >&6; }
5184 # Check whether --enable-collect-all was given.
5185 if test "${enable_collect_all+set}" = set; then :
5186 enableval=$enable_collect_all; COLLECT_ALL=$enableval
5191 if test $COLLECT_ALL != "yes"; then
5195 COLLECT_ALL="-S XALL"
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_COLL" >&5
5199 $as_echo "$AUX_COLL" >&6; }
5205 REM_CHOWN="# REM_CHOWN"
5207 CRON_INTERVAL_SEC=600
5220 # Check whether documentation should be installed
5221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether documentation should be installed" >&5
5222 $as_echo_n "checking whether documentation should be installed... " >&6; }
5223 # Check whether --enable-documentation was given.
5224 if test "${enable_documentation+set}" = set; then :
5225 enableval=$enable_documentation; AUX_DOC=$enableval
5230 if test $AUX_DOC != "no"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_DOC" >&5
5238 $as_echo "$AUX_DOC" >&6; }
5241 # Set directory for installing manual pages (see comment in Makefile)
5244 # Check whether --debuginfo options should be allowed
5245 # Check whether --enable-debuginfo was given.
5246 if test "${enable_debuginfo+set}" = set; then :
5247 enableval=$enable_debuginfo; WITH_DEBUG=yes ; DFLAGS="$DFLAGS -DDEBUG"
5255 # Check whether object files should be stripped
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether object files should be stripped" >&5
5257 $as_echo_n "checking whether object files should be stripped... " >&6; }
5258 # Check whether --enable-stripping was given.
5259 if test "${enable_stripping+set}" = set; then :
5260 enableval=$enable_stripping; AUX_STRIP=$enableval
5265 if test $AUX_STRIP != "no"; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_STRIP" >&5
5273 $as_echo "$AUX_STRIP" >&6; }
5275 # National Language Support
5276 #AC_MSG_CHECKING(National Language Support)
5278 # AC_HELP_STRING([--disable-nls],
5279 # [disable National Language Support]),
5280 # AUX_NLS=$enableval,AUX_NLS=yes)
5281 #if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
5288 #AC_MSG_RESULT($AUX_NLS)
5293 echo Now create files:
5295 ac_config_files="$ac_config_files sa1"
5296 # Permissions must be changed
5297 ac_config_files="$ac_config_files sa2"
5298 # Permissions must be changed
5299 ac_config_files="$ac_config_files cron/crontab:cron/crontab.sample"
5300 # File must be renamed
5301 ac_config_files="$ac_config_files sysstat.sysconfig"
5303 ac_config_files="$ac_config_files version.h:version.in"
5304 # File must be renamed
5305 ac_config_files="$ac_config_files sysconfig.h:sysconfig.in"
5306 # File must be renamed
5307 ac_config_files="$ac_config_files cron/sysstat.cron.daily"
5309 ac_config_files="$ac_config_files cron/sysstat.cron.hourly"
5311 ac_config_files="$ac_config_files cron/sysstat.crond"
5313 ac_config_files="$ac_config_files cron/sysstat.crond.sample.in:cron/sysstat.crond.in"
5315 ac_config_files="$ac_config_files sysstat"
5316 # Permissions must be changed
5317 ac_config_files="$ac_config_files sysstat.service"
5319 ac_config_files="$ac_config_files man/sa1.8:man/sa1.in"
5320 # File must be renamed
5321 ac_config_files="$ac_config_files man/sa2.8:man/sa2.in"
5322 # File must be renamed
5323 ac_config_files="$ac_config_files man/sadc.8:man/sadc.in"
5324 # File must be renamed
5325 ac_config_files="$ac_config_files man/sadf.1:man/sadf.in"
5326 # File must be renamed
5327 ac_config_files="$ac_config_files man/sar.1:man/sar.in"
5328 # File must be renamed
5329 ac_config_files="$ac_config_files man/sysstat.5:man/sysstat.in"
5330 # File must be renamed
5331 ac_config_files="$ac_config_files man/iostat.1:man/iostat.in"
5332 # File must be renamed
5333 ac_config_files="$ac_config_files man/cifsiostat.1:man/cifsiostat.in"
5334 # File must be renamed
5335 ac_config_files="$ac_config_files man/nfsiostat.1:man/nfsiostat.in"
5336 # File must be renamed
5337 ac_config_files="$ac_config_files contrib/isag/isag"
5338 # Permissions must be changed
5340 ac_config_files="$ac_config_files Makefile"
5342 cat >confcache <<\_ACEOF
5343 # This file is a shell script that caches the results of configure
5344 # tests run on this system so they can be shared between configure
5345 # scripts and configure runs, see configure's option --config-cache.
5346 # It is not useful on other systems. If it contains results you don't
5347 # want to keep, you may remove or edit it.
5349 # config.status only pays attention to the cache file if you give it
5350 # the --recheck option to rerun configure.
5352 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5353 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5358 # The following way of writing the cache mishandles newlines in values,
5359 # but we know of no workaround that is simple, portable, and efficient.
5360 # So, we kill variables containing newlines.
5361 # Ultrix sh set writes to stderr and can't be redirected directly,
5362 # and sets the high bit in the cache file unless we assign to the vars.
5364 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5365 eval ac_val=\$$ac_var
5369 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5370 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5373 _ | IFS | as_nl) ;; #(
5374 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5375 *) { eval $ac_var=; unset $ac_var;} ;;
5381 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5382 *${as_nl}ac_space=\ *)
5383 # `set' does not quote correctly, so add quotes: double-quote
5384 # substitution turns \\\\ into \\, and sed turns \\ into \.
5387 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5390 # `set' quotes correctly as required by POSIX, so do not add quotes.
5391 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5400 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5402 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5404 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5405 if test -w "$cache_file"; then
5406 if test "x$cache_file" != "x/dev/null"; then
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5408 $as_echo "$as_me: updating cache $cache_file" >&6;}
5409 if test ! -f "$cache_file" || test -h "$cache_file"; then
5410 cat confcache >"$cache_file"
5412 case $cache_file in #(
5414 mv -f confcache "$cache_file"$$ &&
5415 mv -f "$cache_file"$$ "$cache_file" ;; #(
5417 mv -f confcache "$cache_file" ;;
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5423 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5428 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5429 # Let make expand exec_prefix.
5430 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5432 # Transform confdefs.h into DEFS.
5433 # Protect against shell expansion while executing Makefile rules.
5434 # Protect against Makefile macro expansion.
5436 # If the first sed substitution is executed (which looks for macros that
5437 # take arguments), then branch to the quote section. Otherwise,
5438 # look for a macro that doesn't take arguments.
5448 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5450 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5454 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5467 DEFS=`sed -n "$ac_script" confdefs.h`
5473 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5474 # 1. Remove the extension, and $U if already installed.
5475 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5476 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5477 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5478 # will be set to the directory where LIBOBJS objects are built.
5479 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5480 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5484 LTLIBOBJS=$ac_ltlibobjs
5488 : "${CONFIG_STATUS=./config.status}"
5490 ac_clean_files_save=$ac_clean_files
5491 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5493 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5495 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5497 # Generated by $as_me.
5498 # Run this file to recreate the current configuration.
5499 # Compiler output produced by configure, useful for debugging
5500 # configure, is in config.log if it exists.
5506 SHELL=\${CONFIG_SHELL-$SHELL}
5509 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5510 ## -------------------- ##
5511 ## M4sh Initialization. ##
5512 ## -------------------- ##
5514 # Be more Bourne compatible
5515 DUALCASE=1; export DUALCASE # for MKS sh
5516 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5519 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5520 # is contrary to our usage. Disable this feature.
5521 alias -g '${1+"$@"}'='"$@"'
5522 setopt NO_GLOB_SUBST
5524 case `(set -o) 2>/dev/null` in #(
5536 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5537 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5538 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5539 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5540 # Prefer a ksh shell builtin over an external printf program on Solaris,
5541 # but without wasting forks for bash or zsh.
5542 if test -z "$BASH_VERSION$ZSH_VERSION" \
5543 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5544 as_echo='print -r --'
5545 as_echo_n='print -rn --'
5546 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5547 as_echo='printf %s\n'
5548 as_echo_n='printf %s'
5550 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5551 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5552 as_echo_n='/usr/ucb/echo -n'
5554 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5555 as_echo_n_body='eval
5559 expr "X$arg" : "X\\(.*\\)$as_nl";
5560 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5562 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5564 export as_echo_n_body
5565 as_echo_n='sh -c $as_echo_n_body as_echo'
5568 as_echo='sh -c $as_echo_body as_echo'
5571 # The user is always right.
5572 if test "${PATH_SEPARATOR+set}" != set; then
5574 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5575 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5582 # We need space, tab and new line, in precisely that order. Quoting is
5583 # there to prevent editors from complaining about space-tab.
5584 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5585 # splitting by setting IFS to empty value.)
5588 # Find who we are. Look in the path if we contain no directory separator.
5591 *[\\/]* ) as_myself=$0 ;;
5592 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5596 test -z "$as_dir" && as_dir=.
5597 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5603 # We did not find ourselves, most probably we were run as `sh COMMAND'
5604 # in which case we are not to be found in the path.
5605 if test "x$as_myself" = x; then
5608 if test ! -f "$as_myself"; then
5609 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5613 # Unset variables that we do not need and which cause bugs (e.g. in
5614 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5615 # suppresses any "Segmentation fault" message there. '((' could
5616 # trigger a bug in pdksh 5.2.14.
5617 for as_var in BASH_ENV ENV MAIL MAILPATH
5618 do eval test x\${$as_var+set} = xset \
5619 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5632 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5635 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5636 # ----------------------------------------
5637 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5638 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5639 # script with STATUS, using 1 if that was 0.
5642 as_status=$1; test $as_status -eq 0 && as_status=1
5644 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5645 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5647 $as_echo "$as_me: error: $2" >&2
5648 as_fn_exit $as_status
5652 # as_fn_set_status STATUS
5653 # -----------------------
5654 # Set $? to STATUS, without forking.
5658 } # as_fn_set_status
5662 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5672 # Portably unset VAR.
5675 { eval $1=; unset $1;}
5677 as_unset=as_fn_unset
5678 # as_fn_append VAR VALUE
5679 # ----------------------
5680 # Append the text in VALUE to the end of the definition contained in VAR. Take
5681 # advantage of any shell optimizations that allow amortized linear growth over
5682 # repeated appends, instead of the typical quadratic growth present in naive
5684 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5685 eval 'as_fn_append ()
5696 # as_fn_arith ARG...
5697 # ------------------
5698 # Perform arithmetic evaluation on the ARGs, and store the result in the
5699 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5700 # must be portable across $(()) and expr.
5701 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5702 eval 'as_fn_arith ()
5709 as_val=`expr "$@" || test $? -eq 1`
5714 if expr a : '\(a\)' >/dev/null 2>&1 &&
5715 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5721 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5722 as_basename=basename
5727 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5733 as_me=`$as_basename -- "$0" ||
5734 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5735 X"$0" : 'X\(//\)$' \| \
5736 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5738 sed '/^.*\/\([^/][^/]*\)\/*$/{
5752 # Avoid depending upon Character Ranges.
5753 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5754 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5755 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5756 as_cr_digits='0123456789'
5757 as_cr_alnum=$as_cr_Letters$as_cr_digits
5759 ECHO_C= ECHO_N= ECHO_T=
5760 case `echo -n x` in #(((((
5762 case `echo 'xy\c'` in
5763 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5765 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5772 rm -f conf$$ conf$$.exe conf$$.file
5773 if test -d conf$$.dir; then
5774 rm -f conf$$.dir/conf$$.file
5777 mkdir conf$$.dir 2>/dev/null
5779 if (echo >conf$$.file) 2>/dev/null; then
5780 if ln -s conf$$.file conf$$ 2>/dev/null; then
5782 # ... but there are two gotchas:
5783 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5784 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5785 # In both cases, we have to default to `cp -p'.
5786 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5788 elif ln conf$$.file conf$$ 2>/dev/null; then
5796 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5797 rmdir conf$$.dir 2>/dev/null
5802 # Create "$as_dir" as a directory, including parents if necessary.
5807 -*) as_dir=./$as_dir;;
5809 test -d "$as_dir" || eval $as_mkdir_p || {
5813 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5814 *) as_qdir=$as_dir;;
5816 as_dirs="'$as_qdir' $as_dirs"
5817 as_dir=`$as_dirname -- "$as_dir" ||
5818 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5819 X"$as_dir" : 'X\(//\)[^/]' \| \
5820 X"$as_dir" : 'X\(//\)$' \| \
5821 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5822 $as_echo X"$as_dir" |
5823 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5840 test -d "$as_dir" && break
5842 test -z "$as_dirs" || eval "mkdir $as_dirs"
5843 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5847 if mkdir -p . 2>/dev/null; then
5848 as_mkdir_p='mkdir -p "$as_dir"'
5850 test -d ./-p && rmdir ./-p
5854 if test -x / >/dev/null 2>&1; then
5857 if ls -dL / >/dev/null 2>&1; then
5864 if test -d "$1"; then
5870 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
5871 ???[sx]*):;;*)false;;esac;fi
5875 as_executable_p=$as_test_x
5877 # Sed expression to map a string onto a valid CPP name.
5878 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5880 # Sed expression to map a string onto a valid variable name.
5881 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5885 ## ----------------------------------- ##
5886 ## Main body of $CONFIG_STATUS script. ##
5887 ## ----------------------------------- ##
5889 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5892 # Save the log message, to keep $0 and so on meaningful, and to
5893 # report actual input values of CONFIG_FILES etc. instead of their
5894 # values after options handling.
5896 This file was extended by sysstat $as_me 10.1.3, which was
5897 generated by GNU Autoconf 2.68. Invocation command line was
5899 CONFIG_FILES = $CONFIG_FILES
5900 CONFIG_HEADERS = $CONFIG_HEADERS
5901 CONFIG_LINKS = $CONFIG_LINKS
5902 CONFIG_COMMANDS = $CONFIG_COMMANDS
5905 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5910 case $ac_config_files in *"
5911 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5916 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5917 # Files that config.status was made for.
5918 config_files="$ac_config_files"
5922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5924 \`$as_me' instantiates files and other configuration actions
5925 from templates according to the current configuration. Unless the files
5926 and actions are specified as TAGs, all are instantiated by default.
5928 Usage: $0 [OPTION]... [TAG]...
5930 -h, --help print this help, then exit
5931 -V, --version print version number and configuration settings, then exit
5932 --config print configuration, then exit
5933 -q, --quiet, --silent
5934 do not print progress messages
5935 -d, --debug don't remove temporary files
5936 --recheck update $as_me by reconfiguring in the same conditions
5937 --file=FILE[:TEMPLATE]
5938 instantiate the configuration file FILE
5940 Configuration files:
5943 Report bugs to the package provider."
5946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5947 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5949 sysstat config.status 10.1.3
5950 configured by $0, generated by GNU Autoconf 2.68,
5951 with options \\"\$ac_cs_config\\"
5953 Copyright (C) 2010 Free Software Foundation, Inc.
5954 This config.status script is free software; the Free Software Foundation
5955 gives unlimited permission to copy, distribute and modify it."
5959 test -n "\$AWK" || AWK=awk
5962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5963 # The default lists apply if the user does not specify any file.
5969 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5970 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5974 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5986 # Handling of the options.
5987 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5989 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5990 $as_echo "$ac_cs_version"; exit ;;
5991 --config | --confi | --conf | --con | --co | --c )
5992 $as_echo "$ac_cs_config"; exit ;;
5993 --debug | --debu | --deb | --de | --d | -d )
5995 --file | --fil | --fi | --f )
5998 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5999 '') as_fn_error $? "missing file argument" ;;
6001 as_fn_append CONFIG_FILES " '$ac_optarg'"
6002 ac_need_defaults=false;;
6003 --he | --h | --help | --hel | -h )
6004 $as_echo "$ac_cs_usage"; exit ;;
6005 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6006 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6010 -*) as_fn_error $? "unrecognized option: \`$1'
6011 Try \`$0 --help' for more information." ;;
6013 *) as_fn_append ac_config_targets " $1"
6014 ac_need_defaults=false ;;
6020 ac_configure_extra_args=
6022 if $ac_cs_silent; then
6024 ac_configure_extra_args="$ac_configure_extra_args --silent"
6028 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6029 if \$ac_cs_recheck; then
6030 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6032 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6033 CONFIG_SHELL='$SHELL'
6039 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6043 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6044 ## Running $as_me. ##
6050 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6055 # Handling of arguments.
6056 for ac_config_target in $ac_config_targets
6058 case $ac_config_target in
6059 "sa1") CONFIG_FILES="$CONFIG_FILES sa1" ;;
6060 "sa2") CONFIG_FILES="$CONFIG_FILES sa2" ;;
6061 "cron/crontab") CONFIG_FILES="$CONFIG_FILES cron/crontab:cron/crontab.sample" ;;
6062 "sysstat.sysconfig") CONFIG_FILES="$CONFIG_FILES sysstat.sysconfig" ;;
6063 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:version.in" ;;
6064 "sysconfig.h") CONFIG_FILES="$CONFIG_FILES sysconfig.h:sysconfig.in" ;;
6065 "cron/sysstat.cron.daily") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.daily" ;;
6066 "cron/sysstat.cron.hourly") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.hourly" ;;
6067 "cron/sysstat.crond") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond" ;;
6068 "cron/sysstat.crond.sample.in") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond.sample.in:cron/sysstat.crond.in" ;;
6069 "sysstat") CONFIG_FILES="$CONFIG_FILES sysstat" ;;
6070 "sysstat.service") CONFIG_FILES="$CONFIG_FILES sysstat.service" ;;
6071 "man/sa1.8") CONFIG_FILES="$CONFIG_FILES man/sa1.8:man/sa1.in" ;;
6072 "man/sa2.8") CONFIG_FILES="$CONFIG_FILES man/sa2.8:man/sa2.in" ;;
6073 "man/sadc.8") CONFIG_FILES="$CONFIG_FILES man/sadc.8:man/sadc.in" ;;
6074 "man/sadf.1") CONFIG_FILES="$CONFIG_FILES man/sadf.1:man/sadf.in" ;;
6075 "man/sar.1") CONFIG_FILES="$CONFIG_FILES man/sar.1:man/sar.in" ;;
6076 "man/sysstat.5") CONFIG_FILES="$CONFIG_FILES man/sysstat.5:man/sysstat.in" ;;
6077 "man/iostat.1") CONFIG_FILES="$CONFIG_FILES man/iostat.1:man/iostat.in" ;;
6078 "man/cifsiostat.1") CONFIG_FILES="$CONFIG_FILES man/cifsiostat.1:man/cifsiostat.in" ;;
6079 "man/nfsiostat.1") CONFIG_FILES="$CONFIG_FILES man/nfsiostat.1:man/nfsiostat.in" ;;
6080 "contrib/isag/isag") CONFIG_FILES="$CONFIG_FILES contrib/isag/isag" ;;
6081 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6083 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6088 # If the user did not use the arguments to specify the items to instantiate,
6089 # then the envvar interface is used. Set only those that are not.
6090 # We use the long form for the default assignment because of an extremely
6091 # bizarre bug on SunOS 4.1.3.
6092 if $ac_need_defaults; then
6093 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6096 # Have a temporary directory for convenience. Make it in the build tree
6097 # simply because there is no reason against having it here, and in addition,
6098 # creating and moving files from /tmp can sometimes cause problems.
6099 # Hook for its removal unless debugging.
6100 # Note that there is a small window in which the directory will not be cleaned:
6101 # after its creation but before its name has been assigned to `$tmp'.
6105 trap 'exit_status=$?
6107 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6109 trap 'as_fn_exit 1' 1 2 13 15
6111 # Create a (secure) tmp directory for tmp files.
6114 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6118 tmp=./conf$$-$RANDOM
6119 (umask 077 && mkdir "$tmp")
6120 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6123 # Set up the scripts for CONFIG_FILES section.
6124 # No need to generate them if there are no CONFIG_FILES.
6125 # This happens for instance with `./config.status config.h'.
6126 if test -n "$CONFIG_FILES"; then
6129 ac_cr=`echo X | tr X '\015'`
6130 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6131 # But we know of no other shell where ac_cr would be empty at this
6132 # point, so we can use a bashism as a fallback.
6133 if test "x$ac_cr" = x; then
6134 eval ac_cr=\$\'\\r\'
6136 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6137 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6143 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6148 echo "cat >conf$$subs.awk <<_ACEOF" &&
6149 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6152 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6153 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6155 for ac_last_try in false false false false false :; do
6156 . ./conf$$subs.sh ||
6157 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6159 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6160 if test $ac_delim_n = $ac_delim_num; then
6162 elif $ac_last_try; then
6163 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6165 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6170 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6171 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6175 s/^/S["/; s/!.*/"]=/
6185 s/\(.\{148\}\)..*/\1/
6187 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6192 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6199 s/\(.\{148\}\)..*/\1/
6201 s/["\\]/\\&/g; s/^/"/; s/$/"/
6205 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6210 ' <conf$$subs.awk | sed '
6215 ' >>$CONFIG_STATUS || ac_write_fail=1
6216 rm -f conf$$subs.awk
6217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6219 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6220 for (key in S) S_is_set[key] = 1
6226 nfields = split(line, field, "@")
6228 len = length(field[1])
6229 for (i = 2; i < nfields; i++) {
6231 keylen = length(key)
6232 if (S_is_set[key]) {
6234 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6235 len += length(value) + length(field[++i])
6246 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6247 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6248 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6251 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6252 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6255 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6256 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6257 # trailing colons and then remove the whole line if VPATH becomes empty
6258 # (actually we leave an empty line to preserve line numbers).
6259 if test "x$srcdir" = x.; then
6260 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6279 fi # test -n "$CONFIG_FILES"
6282 eval set X " :F $CONFIG_FILES "
6287 :[FHLC]) ac_mode=$ac_tag; continue;;
6289 case $ac_mode$ac_tag in
6291 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6292 :[FH]-) ac_tag=-:-;;
6293 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6310 -) ac_f="$ac_tmp/stdin";;
6311 *) # Look for the file first in the build tree, then in the source tree
6312 # (if the path is not absolute). The absolute path cannot be DOS-style,
6313 # because $ac_f cannot contain `:'.
6317 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6319 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6321 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6322 as_fn_append ac_file_inputs " '$ac_f'"
6325 # Let's still pretend it is `configure' which instantiates (i.e., don't
6326 # use $as_me), people would be surprised to read:
6327 # /* config.h. Generated by config.status. */
6328 configure_input='Generated from '`
6329 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6331 if test x"$ac_file" != x-; then
6332 configure_input="$ac_file. $configure_input"
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6334 $as_echo "$as_me: creating $ac_file" >&6;}
6336 # Neutralize special characters interpreted by sed in replacement strings.
6337 case $configure_input in #(
6338 *\&* | *\|* | *\\* )
6339 ac_sed_conf_input=`$as_echo "$configure_input" |
6340 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6341 *) ac_sed_conf_input=$configure_input;;
6345 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6346 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6351 ac_dir=`$as_dirname -- "$ac_file" ||
6352 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6353 X"$ac_file" : 'X\(//\)[^/]' \| \
6354 X"$ac_file" : 'X\(//\)$' \| \
6355 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6356 $as_echo X"$ac_file" |
6357 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6374 as_dir="$ac_dir"; as_fn_mkdir_p
6378 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6380 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6381 # A ".." for each directory in $ac_dir_suffix.
6382 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6383 case $ac_top_builddir_sub in
6384 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6385 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6388 ac_abs_top_builddir=$ac_pwd
6389 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6390 # for backward compatibility:
6391 ac_top_builddir=$ac_top_build_prefix
6394 .) # We are building in place.
6396 ac_top_srcdir=$ac_top_builddir_sub
6397 ac_abs_top_srcdir=$ac_pwd ;;
6398 [\\/]* | ?:[\\/]* ) # Absolute name.
6399 ac_srcdir=$srcdir$ac_dir_suffix;
6400 ac_top_srcdir=$srcdir
6401 ac_abs_top_srcdir=$srcdir ;;
6403 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6404 ac_top_srcdir=$ac_top_build_prefix$srcdir
6405 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6407 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6419 # If the template does not know about datarootdir, expand it.
6420 # FIXME: This hack should be removed a few years after 2.60.
6421 ac_datarootdir_hack=; ac_datarootdir_seen=
6432 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6433 *datarootdir*) ac_datarootdir_seen=yes;;
6434 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6436 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6439 ac_datarootdir_hack='
6440 s&@datadir@&$datadir&g
6441 s&@docdir@&$docdir&g
6442 s&@infodir@&$infodir&g
6443 s&@localedir@&$localedir&g
6444 s&@mandir@&$mandir&g
6445 s&\\\${datarootdir}&$datarootdir&g' ;;
6449 # Neutralize VPATH when `$srcdir' = `.'.
6450 # Shell code in configure.ac might set extrasub.
6451 # FIXME: do we really want to maintain this feature?
6452 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6453 ac_sed_extra="$ac_vpsub
6456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6458 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6459 s|@configure_input@|$ac_sed_conf_input|;t t
6460 s&@top_builddir@&$ac_top_builddir_sub&;t t
6461 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6462 s&@srcdir@&$ac_srcdir&;t t
6463 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6464 s&@top_srcdir@&$ac_top_srcdir&;t t
6465 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6466 s&@builddir@&$ac_builddir&;t t
6467 s&@abs_builddir@&$ac_abs_builddir&;t t
6468 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6469 $ac_datarootdir_hack
6471 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6472 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6474 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6475 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6476 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6477 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6479 which seems to be undefined. Please make sure it is defined" >&5
6480 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6481 which seems to be undefined. Please make sure it is defined" >&2;}
6483 rm -f "$ac_tmp/stdin"
6485 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6486 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6488 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6496 case $ac_file$ac_mode in
6497 "sa1":F) chmod +x sa1 ;;
6498 "sa2":F) chmod +x sa2 ;;
6499 "cron/sysstat.crond.sample.in":F) sed s/^/#/ cron/sysstat.crond.sample.in > cron/sysstat.crond.sample ;;
6500 "sysstat":F) chmod +x sysstat ;;
6501 "contrib/isag/isag":F) chmod +x contrib/isag/isag ;;
6509 ac_clean_files=$ac_clean_files_save
6511 test $ac_write_fail = 0 ||
6512 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6515 # configure is writing to config.log, and then calls config.status.
6516 # config.status does its own redirection, appending to config.log.
6517 # Unfortunately, on DOS this fails, as config.log is still kept open
6518 # by configure, so config.status won't be able to write to it; its
6519 # output is simply discarded. So we exec the FD to /dev/null,
6520 # effectively closing config.log, so it can be properly (re)opened and
6521 # appended to by config.status. When coming back to configure, we
6522 # need to make the FD available again.
6523 if test "$no_create" != yes; then
6525 ac_config_status_args=
6526 test "$silent" = yes &&
6527 ac_config_status_args="$ac_config_status_args --quiet"
6529 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6531 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6532 # would make configure fail if this is the last instruction.
6533 $ac_cs_success || as_fn_exit 1
6535 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6537 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6542 Sysstat version: $PACKAGE_VERSION
6543 Installation prefix: $prefix
6544 rc directory: ${RC_DIR}
6545 Init directory: ${INIT_DIR}
6546 Systemd unit dir: ${with_systemdsystemunitdir}
6547 Configuration directory: ${SYSCONFIG_DIR}
6548 Man pages directory: $mandir
6550 Compiler flags: $CFLAGS