2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sysstat 10.1.4.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
578 PACKAGE_NAME='sysstat'
579 PACKAGE_TARNAME='sysstat'
580 PACKAGE_VERSION='10.1.4'
581 PACKAGE_STRING='sysstat 10.1.4'
585 ac_unique_file="ioconf.h"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars='LTLIBOBJS
716 program_transform_name
729 enable_option_checking
730 with_systemdsystemunitdir
736 enable_compress_manpg
745 ac_precious_vars='build_alias
765 # Initialize some variables set by options.
767 ac_init_version=false
768 ac_unrecognized_opts=
770 # The variables have the same names as the options, with
771 # dashes changed to underlines.
779 program_transform_name=s,x,x,
787 # Installation directory options.
788 # These are left unexpanded so users can "make install exec_prefix=/foo"
789 # and all the variables that are supposed to be based on exec_prefix
790 # by default will actually change.
791 # Use braces instead of parens because sh, perl, etc. also accept them.
792 # (The list follows the same order as the GNU Coding Standards.)
793 bindir='${exec_prefix}/bin'
794 sbindir='${exec_prefix}/sbin'
795 libexecdir='${exec_prefix}/libexec'
796 datarootdir='${prefix}/share'
797 datadir='${datarootdir}'
798 sysconfdir='${prefix}/etc'
799 sharedstatedir='${prefix}/com'
800 localstatedir='${prefix}/var'
801 includedir='${prefix}/include'
802 oldincludedir='/usr/include'
803 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
804 infodir='${datarootdir}/info'
809 libdir='${exec_prefix}/lib'
810 localedir='${datarootdir}/locale'
811 mandir='${datarootdir}/man'
817 # If the previous option needs an argument, assign it.
818 if test -n "$ac_prev"; then
819 eval $ac_prev=\$ac_option
825 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
830 # Accept the important Cygnus configure options, so we can diagnose typos.
832 case $ac_dashdash$ac_option in
836 -bindir | --bindir | --bindi | --bind | --bin | --bi)
838 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
841 -build | --build | --buil | --bui | --bu)
842 ac_prev=build_alias ;;
843 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
844 build_alias=$ac_optarg ;;
846 -cache-file | --cache-file | --cache-fil | --cache-fi \
847 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
848 ac_prev=cache_file ;;
849 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
850 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
851 cache_file=$ac_optarg ;;
854 cache_file=config.cache ;;
856 -datadir | --datadir | --datadi | --datad)
858 -datadir=* | --datadir=* | --datadi=* | --datad=*)
859 datadir=$ac_optarg ;;
861 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
862 | --dataroo | --dataro | --datar)
863 ac_prev=datarootdir ;;
864 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
865 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
866 datarootdir=$ac_optarg ;;
868 -disable-* | --disable-*)
869 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
870 # Reject names that are not valid shell variable names.
871 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
872 as_fn_error $? "invalid feature name: $ac_useropt"
873 ac_useropt_orig=$ac_useropt
874 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
875 case $ac_user_opts in
879 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
880 ac_unrecognized_sep=', ';;
882 eval enable_$ac_useropt=no ;;
884 -docdir | --docdir | --docdi | --doc | --do)
886 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
889 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
891 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
894 -enable-* | --enable-*)
895 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898 as_fn_error $? "invalid feature name: $ac_useropt"
899 ac_useropt_orig=$ac_useropt
900 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
905 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
906 ac_unrecognized_sep=', ';;
908 eval enable_$ac_useropt=\$ac_optarg ;;
910 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
911 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
912 | --exec | --exe | --ex)
913 ac_prev=exec_prefix ;;
914 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
915 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
916 | --exec=* | --exe=* | --ex=*)
917 exec_prefix=$ac_optarg ;;
919 -gas | --gas | --ga | --g)
920 # Obsolete; use --with-gas.
923 -help | --help | --hel | --he | -h)
925 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
926 ac_init_help=recursive ;;
927 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
928 ac_init_help=short ;;
930 -host | --host | --hos | --ho)
931 ac_prev=host_alias ;;
932 -host=* | --host=* | --hos=* | --ho=*)
933 host_alias=$ac_optarg ;;
935 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
937 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
939 htmldir=$ac_optarg ;;
941 -includedir | --includedir | --includedi | --included | --include \
942 | --includ | --inclu | --incl | --inc)
943 ac_prev=includedir ;;
944 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
945 | --includ=* | --inclu=* | --incl=* | --inc=*)
946 includedir=$ac_optarg ;;
948 -infodir | --infodir | --infodi | --infod | --info | --inf)
950 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
951 infodir=$ac_optarg ;;
953 -libdir | --libdir | --libdi | --libd)
955 -libdir=* | --libdir=* | --libdi=* | --libd=*)
958 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
959 | --libexe | --libex | --libe)
960 ac_prev=libexecdir ;;
961 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
962 | --libexe=* | --libex=* | --libe=*)
963 libexecdir=$ac_optarg ;;
965 -localedir | --localedir | --localedi | --localed | --locale)
967 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
968 localedir=$ac_optarg ;;
970 -localstatedir | --localstatedir | --localstatedi | --localstated \
971 | --localstate | --localstat | --localsta | --localst | --locals)
972 ac_prev=localstatedir ;;
973 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
974 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
975 localstatedir=$ac_optarg ;;
977 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
979 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
983 # Obsolete; use --without-fp.
986 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
987 | --no-cr | --no-c | -n)
990 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
991 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
994 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
995 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
996 | --oldin | --oldi | --old | --ol | --o)
997 ac_prev=oldincludedir ;;
998 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
999 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1000 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1001 oldincludedir=$ac_optarg ;;
1003 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1005 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1006 prefix=$ac_optarg ;;
1008 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1009 | --program-pre | --program-pr | --program-p)
1010 ac_prev=program_prefix ;;
1011 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1012 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1013 program_prefix=$ac_optarg ;;
1015 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1016 | --program-suf | --program-su | --program-s)
1017 ac_prev=program_suffix ;;
1018 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1019 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1020 program_suffix=$ac_optarg ;;
1022 -program-transform-name | --program-transform-name \
1023 | --program-transform-nam | --program-transform-na \
1024 | --program-transform-n | --program-transform- \
1025 | --program-transform | --program-transfor \
1026 | --program-transfo | --program-transf \
1027 | --program-trans | --program-tran \
1028 | --progr-tra | --program-tr | --program-t)
1029 ac_prev=program_transform_name ;;
1030 -program-transform-name=* | --program-transform-name=* \
1031 | --program-transform-nam=* | --program-transform-na=* \
1032 | --program-transform-n=* | --program-transform-=* \
1033 | --program-transform=* | --program-transfor=* \
1034 | --program-transfo=* | --program-transf=* \
1035 | --program-trans=* | --program-tran=* \
1036 | --progr-tra=* | --program-tr=* | --program-t=*)
1037 program_transform_name=$ac_optarg ;;
1039 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1041 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1042 pdfdir=$ac_optarg ;;
1044 -psdir | --psdir | --psdi | --psd | --ps)
1046 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1050 | -silent | --silent | --silen | --sile | --sil)
1053 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1055 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1057 sbindir=$ac_optarg ;;
1059 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1060 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1061 | --sharedst | --shareds | --shared | --share | --shar \
1063 ac_prev=sharedstatedir ;;
1064 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1065 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1066 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1068 sharedstatedir=$ac_optarg ;;
1070 -site | --site | --sit)
1072 -site=* | --site=* | --sit=*)
1075 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1077 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1078 srcdir=$ac_optarg ;;
1080 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1081 | --syscon | --sysco | --sysc | --sys | --sy)
1082 ac_prev=sysconfdir ;;
1083 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1084 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1085 sysconfdir=$ac_optarg ;;
1087 -target | --target | --targe | --targ | --tar | --ta | --t)
1088 ac_prev=target_alias ;;
1089 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1090 target_alias=$ac_optarg ;;
1092 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1095 -version | --version | --versio | --versi | --vers | -V)
1096 ac_init_version=: ;;
1099 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1100 # Reject names that are not valid shell variable names.
1101 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1102 as_fn_error $? "invalid package name: $ac_useropt"
1103 ac_useropt_orig=$ac_useropt
1104 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1105 case $ac_user_opts in
1109 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1110 ac_unrecognized_sep=', ';;
1112 eval with_$ac_useropt=\$ac_optarg ;;
1114 -without-* | --without-*)
1115 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1116 # Reject names that are not valid shell variable names.
1117 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1118 as_fn_error $? "invalid package name: $ac_useropt"
1119 ac_useropt_orig=$ac_useropt
1120 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1121 case $ac_user_opts in
1125 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1126 ac_unrecognized_sep=', ';;
1128 eval with_$ac_useropt=no ;;
1131 # Obsolete; use --with-x.
1134 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1135 | --x-incl | --x-inc | --x-in | --x-i)
1136 ac_prev=x_includes ;;
1137 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1138 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1139 x_includes=$ac_optarg ;;
1141 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1142 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1143 ac_prev=x_libraries ;;
1144 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1145 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1146 x_libraries=$ac_optarg ;;
1148 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1149 Try \`$0 --help' for more information"
1153 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1154 # Reject names that are not valid shell variable names.
1155 case $ac_envvar in #(
1156 '' | [0-9]* | *[!_$as_cr_alnum]* )
1157 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1159 eval $ac_envvar=\$ac_optarg
1160 export $ac_envvar ;;
1163 # FIXME: should be removed in autoconf 3.0.
1164 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1165 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1166 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1167 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1173 if test -n "$ac_prev"; then
1174 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1175 as_fn_error $? "missing argument to $ac_option"
1178 if test -n "$ac_unrecognized_opts"; then
1179 case $enable_option_checking in
1181 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1182 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1186 # Check all directory arguments for consistency.
1187 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1188 datadir sysconfdir sharedstatedir localstatedir includedir \
1189 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1190 libdir localedir mandir
1192 eval ac_val=\$$ac_var
1193 # Remove trailing slashes.
1196 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1197 eval $ac_var=\$ac_val;;
1199 # Be sure to have absolute directory names.
1201 [\\/$]* | ?:[\\/]* ) continue;;
1202 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1204 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1207 # There might be people who depend on the old broken behavior: `$host'
1208 # used to hold the argument of --host etc.
1209 # FIXME: To remove some day.
1212 target=$target_alias
1214 # FIXME: To remove some day.
1215 if test "x$host_alias" != x; then
1216 if test "x$build_alias" = x; then
1217 cross_compiling=maybe
1218 elif test "x$build_alias" != "x$host_alias"; then
1224 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1226 test "$silent" = yes && exec 6>/dev/null
1229 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1230 ac_ls_di=`ls -di .` &&
1231 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1232 as_fn_error $? "working directory cannot be determined"
1233 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1234 as_fn_error $? "pwd does not report name of working directory"
1237 # Find the source files, if location was not specified.
1238 if test -z "$srcdir"; then
1239 ac_srcdir_defaulted=yes
1240 # Try the directory containing this script, then the parent directory.
1241 ac_confdir=`$as_dirname -- "$as_myself" ||
1242 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1243 X"$as_myself" : 'X\(//\)[^/]' \| \
1244 X"$as_myself" : 'X\(//\)$' \| \
1245 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1246 $as_echo X"$as_myself" |
1247 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1265 if test ! -r "$srcdir/$ac_unique_file"; then
1269 ac_srcdir_defaulted=no
1271 if test ! -r "$srcdir/$ac_unique_file"; then
1272 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1273 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1275 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1277 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1279 # When building in place, set srcdir=.
1280 if test "$ac_abs_confdir" = "$ac_pwd"; then
1283 # Remove unnecessary trailing slashes from srcdir.
1284 # Double slashes in file names in object file debugging info
1285 # mess up M-x gdb in Emacs.
1287 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1289 for ac_var in $ac_precious_vars; do
1290 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1291 eval ac_env_${ac_var}_value=\$${ac_var}
1292 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1293 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1297 # Report the --help message.
1299 if test "$ac_init_help" = "long"; then
1300 # Omit some internal or obsolete options to make the list less imposing.
1301 # This message is too long to be a string in the A/UX 3.1 sh.
1303 \`configure' configures sysstat 10.1.4 to adapt to many kinds of systems.
1305 Usage: $0 [OPTION]... [VAR=VALUE]...
1307 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1308 VAR=VALUE. See below for descriptions of some of the useful variables.
1310 Defaults for the options are specified in brackets.
1313 -h, --help display this help and exit
1314 --help=short display options specific to this package
1315 --help=recursive display the short help of all the included packages
1316 -V, --version display version information and exit
1317 -q, --quiet, --silent do not print \`checking ...' messages
1318 --cache-file=FILE cache test results in FILE [disabled]
1319 -C, --config-cache alias for \`--cache-file=config.cache'
1320 -n, --no-create do not create output files
1321 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1323 Installation directories:
1324 --prefix=PREFIX install architecture-independent files in PREFIX
1325 [$ac_default_prefix]
1326 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1329 By default, \`make install' will install all the files in
1330 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1331 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1332 for instance \`--prefix=\$HOME'.
1334 For better control, use the options below.
1336 Fine tuning of the installation directories:
1337 --bindir=DIR user executables [EPREFIX/bin]
1338 --sbindir=DIR system admin executables [EPREFIX/sbin]
1339 --libexecdir=DIR program executables [EPREFIX/libexec]
1340 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1341 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1342 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1343 --libdir=DIR object code libraries [EPREFIX/lib]
1344 --includedir=DIR C header files [PREFIX/include]
1345 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1346 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1347 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1348 --infodir=DIR info documentation [DATAROOTDIR/info]
1349 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1350 --mandir=DIR man documentation [DATAROOTDIR/man]
1351 --docdir=DIR documentation root [DATAROOTDIR/doc/sysstat]
1352 --htmldir=DIR html documentation [DOCDIR]
1353 --dvidir=DIR dvi documentation [DOCDIR]
1354 --pdfdir=DIR pdf documentation [DOCDIR]
1355 --psdir=DIR ps documentation [DOCDIR]
1362 if test -n "$ac_init_help"; then
1363 case $ac_init_help in
1364 short | recursive ) echo "Configuration of sysstat 10.1.4:";;
1369 --disable-option-checking ignore unrecognized --enable/--with options
1370 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1371 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1372 --disable-sensors disable sensors support
1373 --disable-largefile omit support for large files
1374 --disable-nls disable National Language Support
1375 --enable-yesterday tell sa2 to use data file of the day before
1376 --disable-man-group ignore man_group variable value
1377 --enable-compress-manpg compress sysstat manual pages
1378 --enable-install-isag install isag script
1379 --enable-clean-sa-dir clean system activity directory
1380 --enable-install-cron install a crontab to start sar
1381 --enable-collect-all collect all possible activities
1382 --disable-documentation do not install documentation
1383 --enable-debuginfo enable debug output (--debuginfo option)
1384 --disable-stripping do not strip object files
1387 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1388 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1389 --with-systemdsystemunitdir=DIR
1390 Directory for systemd service files
1392 Some influential environment variables:
1393 CC C compiler command
1394 CFLAGS C compiler flags
1395 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1396 nonstandard directory <lib dir>
1397 LIBS libraries to pass to the linker, e.g. -l<library>
1398 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1399 you have headers in a nonstandard directory <include dir>
1401 rcdir run-commands directory
1402 sa_lib_dir sadc directory
1403 sa_dir system activity directory
1404 conf_dir sysstat configuration directory
1405 history number of daily data files to keep (default value is 7)
1407 number of days after which data files are compressed (default
1409 man_group group for manual pages
1410 cron_owner crontab owner
1414 Use these variables to override the choices made by `configure' or to help
1415 it to find libraries and programs with nonstandard names/locations.
1417 Report bugs to the package provider.
1422 if test "$ac_init_help" = "recursive"; then
1423 # If there are subdirs, report their specific --help.
1424 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1425 test -d "$ac_dir" ||
1426 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1431 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1433 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1434 # A ".." for each directory in $ac_dir_suffix.
1435 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1436 case $ac_top_builddir_sub in
1437 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1438 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1441 ac_abs_top_builddir=$ac_pwd
1442 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1443 # for backward compatibility:
1444 ac_top_builddir=$ac_top_build_prefix
1447 .) # We are building in place.
1449 ac_top_srcdir=$ac_top_builddir_sub
1450 ac_abs_top_srcdir=$ac_pwd ;;
1451 [\\/]* | ?:[\\/]* ) # Absolute name.
1452 ac_srcdir=$srcdir$ac_dir_suffix;
1453 ac_top_srcdir=$srcdir
1454 ac_abs_top_srcdir=$srcdir ;;
1456 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1457 ac_top_srcdir=$ac_top_build_prefix$srcdir
1458 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1460 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1462 cd "$ac_dir" || { ac_status=$?; continue; }
1463 # Check for guested configure.
1464 if test -f "$ac_srcdir/configure.gnu"; then
1466 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1467 elif test -f "$ac_srcdir/configure"; then
1469 $SHELL "$ac_srcdir/configure" --help=recursive
1471 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1473 cd "$ac_pwd" || { ac_status=$?; break; }
1477 test -n "$ac_init_help" && exit $ac_status
1478 if $ac_init_version; then
1480 sysstat configure 10.1.4
1481 generated by GNU Autoconf 2.69
1483 Copyright (C) 2012 Free Software Foundation, Inc.
1484 This configure script is free software; the Free Software Foundation
1485 gives unlimited permission to copy, distribute and modify it.
1490 ## ------------------------ ##
1491 ## Autoconf initialization. ##
1492 ## ------------------------ ##
1494 # ac_fn_c_try_compile LINENO
1495 # --------------------------
1496 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1497 ac_fn_c_try_compile ()
1499 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1500 rm -f conftest.$ac_objext
1501 if { { ac_try="$ac_compile"
1503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1504 *) ac_try_echo=$ac_try;;
1506 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1507 $as_echo "$ac_try_echo"; } >&5
1508 (eval "$ac_compile") 2>conftest.err
1510 if test -s conftest.err; then
1511 grep -v '^ *+' conftest.err >conftest.er1
1512 cat conftest.er1 >&5
1513 mv -f conftest.er1 conftest.err
1515 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1516 test $ac_status = 0; } && {
1517 test -z "$ac_c_werror_flag" ||
1518 test ! -s conftest.err
1519 } && test -s conftest.$ac_objext; then :
1522 $as_echo "$as_me: failed program was:" >&5
1523 sed 's/^/| /' conftest.$ac_ext >&5
1527 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1528 as_fn_set_status $ac_retval
1530 } # ac_fn_c_try_compile
1532 # ac_fn_c_try_cpp LINENO
1533 # ----------------------
1534 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1537 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1538 if { { ac_try="$ac_cpp conftest.$ac_ext"
1540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1541 *) ac_try_echo=$ac_try;;
1543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1544 $as_echo "$ac_try_echo"; } >&5
1545 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1547 if test -s conftest.err; then
1548 grep -v '^ *+' conftest.err >conftest.er1
1549 cat conftest.er1 >&5
1550 mv -f conftest.er1 conftest.err
1552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1553 test $ac_status = 0; } > conftest.i && {
1554 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1555 test ! -s conftest.err
1559 $as_echo "$as_me: failed program was:" >&5
1560 sed 's/^/| /' conftest.$ac_ext >&5
1564 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1565 as_fn_set_status $ac_retval
1569 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1570 # -------------------------------------------------------
1571 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1572 # the include files in INCLUDES and setting the cache variable VAR
1574 ac_fn_c_check_header_mongrel ()
1576 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1577 if eval \${$3+:} false; then :
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1579 $as_echo_n "checking for $2... " >&6; }
1580 if eval \${$3+:} false; then :
1581 $as_echo_n "(cached) " >&6
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1585 $as_echo "$ac_res" >&6; }
1587 # Is the header compilable?
1588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1589 $as_echo_n "checking $2 usability... " >&6; }
1590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1591 /* end confdefs.h. */
1595 if ac_fn_c_try_compile "$LINENO"; then :
1596 ac_header_compiler=yes
1598 ac_header_compiler=no
1600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1602 $as_echo "$ac_header_compiler" >&6; }
1604 # Is the header present?
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1606 $as_echo_n "checking $2 presence... " >&6; }
1607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1608 /* end confdefs.h. */
1611 if ac_fn_c_try_cpp "$LINENO"; then :
1612 ac_header_preproc=yes
1614 ac_header_preproc=no
1616 rm -f conftest.err conftest.i conftest.$ac_ext
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1618 $as_echo "$ac_header_preproc" >&6; }
1620 # So? What about this header?
1621 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1624 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1626 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1630 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1632 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1633 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1634 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1636 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1638 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1642 $as_echo_n "checking for $2... " >&6; }
1643 if eval \${$3+:} false; then :
1644 $as_echo_n "(cached) " >&6
1646 eval "$3=\$ac_header_compiler"
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1650 $as_echo "$ac_res" >&6; }
1652 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1654 } # ac_fn_c_check_header_mongrel
1656 # ac_fn_c_try_run LINENO
1657 # ----------------------
1658 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1659 # that executables *can* be run.
1662 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1663 if { { ac_try="$ac_link"
1665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1666 *) ac_try_echo=$ac_try;;
1668 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1669 $as_echo "$ac_try_echo"; } >&5
1670 (eval "$ac_link") 2>&5
1672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1673 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1674 { { case "(($ac_try" in
1675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1676 *) ac_try_echo=$ac_try;;
1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679 $as_echo "$ac_try_echo"; } >&5
1680 (eval "$ac_try") 2>&5
1682 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; }; }; then :
1686 $as_echo "$as_me: program exited with status $ac_status" >&5
1687 $as_echo "$as_me: failed program was:" >&5
1688 sed 's/^/| /' conftest.$ac_ext >&5
1690 ac_retval=$ac_status
1692 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1693 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1694 as_fn_set_status $ac_retval
1698 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1699 # -------------------------------------------------------
1700 # Tests whether HEADER exists and can be compiled using the include files in
1701 # INCLUDES, setting the cache variable VAR accordingly.
1702 ac_fn_c_check_header_compile ()
1704 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1706 $as_echo_n "checking for $2... " >&6; }
1707 if eval \${$3+:} false; then :
1708 $as_echo_n "(cached) " >&6
1710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1711 /* end confdefs.h. */
1715 if ac_fn_c_try_compile "$LINENO"; then :
1720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1724 $as_echo "$ac_res" >&6; }
1725 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 } # ac_fn_c_check_header_compile
1729 # ac_fn_c_try_link LINENO
1730 # -----------------------
1731 # Try to link conftest.$ac_ext, and return whether this succeeded.
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext conftest$ac_exeext
1736 if { { ac_try="$ac_link"
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_link") 2>conftest.err
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_c_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest$ac_exeext && {
1755 test "$cross_compiling" = yes ||
1756 test -x conftest$ac_exeext
1760 $as_echo "$as_me: failed program was:" >&5
1761 sed 's/^/| /' conftest.$ac_ext >&5
1765 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1766 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1767 # interfere with the next link command; also delete a directory that is
1768 # left behind by Apple's compiler. We do this before executing the actions.
1769 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 as_fn_set_status $ac_retval
1773 } # ac_fn_c_try_link
1775 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1776 # -------------------------------------------
1777 # Tests whether TYPE exists after having included INCLUDES, setting cache
1778 # variable VAR accordingly.
1779 ac_fn_c_check_type ()
1781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1783 $as_echo_n "checking for $2... " >&6; }
1784 if eval \${$3+:} false; then :
1785 $as_echo_n "(cached) " >&6
1788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1789 /* end confdefs.h. */
1800 if ac_fn_c_try_compile "$LINENO"; then :
1801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h. */
1813 if ac_fn_c_try_compile "$LINENO"; then :
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1824 $as_echo "$ac_res" >&6; }
1825 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1827 } # ac_fn_c_check_type
1829 # ac_fn_c_check_func LINENO FUNC VAR
1830 # ----------------------------------
1831 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1832 ac_fn_c_check_func ()
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836 $as_echo_n "checking for $2... " >&6; }
1837 if eval \${$3+:} false; then :
1838 $as_echo_n "(cached) " >&6
1840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1841 /* end confdefs.h. */
1842 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1844 #define $2 innocuous_$2
1846 /* System header to define __stub macros and hopefully few prototypes,
1847 which can conflict with char $2 (); below.
1848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1849 <limits.h> exists even on freestanding compilers. */
1852 # include <limits.h>
1854 # include <assert.h>
1859 /* Override any GCC internal prototype to avoid an error.
1860 Use char because int might match the return type of a GCC
1861 builtin and then its argument prototype would still apply. */
1866 /* The GNU C library defines this for functions which it implements
1867 to always fail with ENOSYS. Some functions are actually named
1868 something starting with __ and the normal name is an alias. */
1869 #if defined __stub_$2 || defined __stub___$2
1881 if ac_fn_c_try_link "$LINENO"; then :
1886 rm -f core conftest.err conftest.$ac_objext \
1887 conftest$ac_exeext conftest.$ac_ext
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1891 $as_echo "$ac_res" >&6; }
1892 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894 } # ac_fn_c_check_func
1895 cat >config.log <<_ACEOF
1896 This file contains any messages produced by compilers while
1897 running configure, to aid debugging if configure makes a mistake.
1899 It was created by sysstat $as_me 10.1.4, which was
1900 generated by GNU Autoconf 2.69. Invocation command line was
1912 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1913 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1914 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1915 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1916 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1918 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1919 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1921 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1922 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1923 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1924 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1925 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1926 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1927 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1931 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1935 test -z "$as_dir" && as_dir=.
1936 $as_echo "PATH: $as_dir"
1952 # Keep a trace of the command line.
1953 # Strip out --no-create and --no-recursion so they do not pile up.
1954 # Strip out --silent because we don't want to record it for future runs.
1955 # Also quote any args containing shell meta-characters.
1956 # Make two passes to allow for proper duplicate-argument suppression.
1960 ac_must_keep_next=false
1966 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1967 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1968 | -silent | --silent | --silen | --sile | --sil)
1971 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1974 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1976 as_fn_append ac_configure_args1 " '$ac_arg'"
1977 if test $ac_must_keep_next = true; then
1978 ac_must_keep_next=false # Got value, back to normal.
1981 *=* | --config-cache | -C | -disable-* | --disable-* \
1982 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1983 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1984 | -with-* | --with-* | -without-* | --without-* | --x)
1985 case "$ac_configure_args0 " in
1986 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1989 -* ) ac_must_keep_next=true ;;
1992 as_fn_append ac_configure_args " '$ac_arg'"
1997 { ac_configure_args0=; unset ac_configure_args0;}
1998 { ac_configure_args1=; unset ac_configure_args1;}
2000 # When interrupted or exit'd, cleanup temporary files, and complete
2001 # config.log. We remove comments because anyway the quotes in there
2002 # would cause problems or look ugly.
2003 # WARNING: Use '\'' to represent an apostrophe within the trap.
2004 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2005 trap 'exit_status=$?
2006 # Save into config.log some information that might help in debugging.
2010 $as_echo "## ---------------- ##
2011 ## Cache variables. ##
2012 ## ---------------- ##"
2014 # The following way of writing the cache mishandles newlines in values,
2016 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2017 eval ac_val=\$$ac_var
2021 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2022 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2025 _ | IFS | as_nl) ;; #(
2026 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2027 *) { eval $ac_var=; unset $ac_var;} ;;
2032 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2033 *${as_nl}ac_space=\ *)
2035 "s/'\''/'\''\\\\'\'''\''/g;
2036 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2039 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2046 $as_echo "## ----------------- ##
2047 ## Output variables. ##
2048 ## ----------------- ##"
2050 for ac_var in $ac_subst_vars
2052 eval ac_val=\$$ac_var
2054 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2056 $as_echo "$ac_var='\''$ac_val'\''"
2060 if test -n "$ac_subst_files"; then
2061 $as_echo "## ------------------- ##
2062 ## File substitutions. ##
2063 ## ------------------- ##"
2065 for ac_var in $ac_subst_files
2067 eval ac_val=\$$ac_var
2069 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2071 $as_echo "$ac_var='\''$ac_val'\''"
2076 if test -s confdefs.h; then
2077 $as_echo "## ----------- ##
2084 test "$ac_signal" != 0 &&
2085 $as_echo "$as_me: caught signal $ac_signal"
2086 $as_echo "$as_me: exit $exit_status"
2088 rm -f core *.core core.conftest.* &&
2089 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2092 for ac_signal in 1 2 13 15; do
2093 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2097 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2098 rm -f -r conftest* confdefs.h
2100 $as_echo "/* confdefs.h */" > confdefs.h
2102 # Predefined preprocessor variables.
2104 cat >>confdefs.h <<_ACEOF
2105 #define PACKAGE_NAME "$PACKAGE_NAME"
2108 cat >>confdefs.h <<_ACEOF
2109 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2112 cat >>confdefs.h <<_ACEOF
2113 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2116 cat >>confdefs.h <<_ACEOF
2117 #define PACKAGE_STRING "$PACKAGE_STRING"
2120 cat >>confdefs.h <<_ACEOF
2121 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2124 cat >>confdefs.h <<_ACEOF
2125 #define PACKAGE_URL "$PACKAGE_URL"
2129 # Let the site file select an alternate cache file if it wants to.
2130 # Prefer an explicitly selected file to automatically selected ones.
2133 if test -n "$CONFIG_SITE"; then
2134 # We do not want a PATH search for config.site.
2135 case $CONFIG_SITE in #((
2136 -*) ac_site_file1=./$CONFIG_SITE;;
2137 */*) ac_site_file1=$CONFIG_SITE;;
2138 *) ac_site_file1=./$CONFIG_SITE;;
2140 elif test "x$prefix" != xNONE; then
2141 ac_site_file1=$prefix/share/config.site
2142 ac_site_file2=$prefix/etc/config.site
2144 ac_site_file1=$ac_default_prefix/share/config.site
2145 ac_site_file2=$ac_default_prefix/etc/config.site
2147 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2149 test "x$ac_site_file" = xNONE && continue
2150 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2152 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2153 sed 's/^/| /' "$ac_site_file" >&5
2155 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2156 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2157 as_fn_error $? "failed to load site script $ac_site_file
2158 See \`config.log' for more details" "$LINENO" 5; }
2162 if test -r "$cache_file"; then
2163 # Some versions of bash will fail to source /dev/null (special files
2164 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2165 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2167 $as_echo "$as_me: loading cache $cache_file" >&6;}
2169 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2170 *) . "./$cache_file";;
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2175 $as_echo "$as_me: creating cache $cache_file" >&6;}
2179 # Check that the precious variables saved in the cache have kept the same
2181 ac_cache_corrupted=false
2182 for ac_var in $ac_precious_vars; do
2183 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2184 eval ac_new_set=\$ac_env_${ac_var}_set
2185 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2186 eval ac_new_val=\$ac_env_${ac_var}_value
2187 case $ac_old_set,$ac_new_set in
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2190 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2191 ac_cache_corrupted=: ;;
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2194 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2195 ac_cache_corrupted=: ;;
2198 if test "x$ac_old_val" != "x$ac_new_val"; then
2199 # differences in whitespace do not lead to failure.
2200 ac_old_val_w=`echo x $ac_old_val`
2201 ac_new_val_w=`echo x $ac_new_val`
2202 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2204 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2205 ac_cache_corrupted=:
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2208 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2209 eval $ac_var=\$ac_old_val
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2212 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2214 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2217 # Pass precious variables to config.status.
2218 if test "$ac_new_set" = set; then
2220 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2221 *) ac_arg=$ac_var=$ac_new_val ;;
2223 case " $ac_configure_args " in
2224 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2225 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2229 if $ac_cache_corrupted; then
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2233 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2234 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2236 ## -------------------- ##
2237 ## Main body of script. ##
2238 ## -------------------- ##
2241 ac_cpp='$CPP $CPPFLAGS'
2242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2248 # Ensure that a recent enough version of Autoconf is being used
2251 # Check whether the configure script is in the right dir
2256 echo Check programs:
2260 ac_cpp='$CPP $CPPFLAGS'
2261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2264 if test -n "$ac_tool_prefix"; then
2265 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2266 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2268 $as_echo_n "checking for $ac_word... " >&6; }
2269 if ${ac_cv_prog_CC+:} false; then :
2270 $as_echo_n "(cached) " >&6
2272 if test -n "$CC"; then
2273 ac_cv_prog_CC="$CC" # Let the user override the test.
2275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 test -z "$as_dir" && as_dir=.
2280 for ac_exec_ext in '' $ac_executable_extensions; do
2281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2282 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2293 if test -n "$CC"; then
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2295 $as_echo "$CC" >&6; }
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2298 $as_echo "no" >&6; }
2303 if test -z "$ac_cv_prog_CC"; then
2305 # Extract the first word of "gcc", so it can be a program name with args.
2306 set dummy gcc; ac_word=$2
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2308 $as_echo_n "checking for $ac_word... " >&6; }
2309 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2310 $as_echo_n "(cached) " >&6
2312 if test -n "$ac_ct_CC"; then
2313 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2319 test -z "$as_dir" && as_dir=.
2320 for ac_exec_ext in '' $ac_executable_extensions; do
2321 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2322 ac_cv_prog_ac_ct_CC="gcc"
2323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2332 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2333 if test -n "$ac_ct_CC"; then
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2335 $as_echo "$ac_ct_CC" >&6; }
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2338 $as_echo "no" >&6; }
2341 if test "x$ac_ct_CC" = x; then
2344 case $cross_compiling:$ac_tool_warned in
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2348 ac_tool_warned=yes ;;
2356 if test -z "$CC"; then
2357 if test -n "$ac_tool_prefix"; then
2358 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2359 set dummy ${ac_tool_prefix}cc; ac_word=$2
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2361 $as_echo_n "checking for $ac_word... " >&6; }
2362 if ${ac_cv_prog_CC+:} false; then :
2363 $as_echo_n "(cached) " >&6
2365 if test -n "$CC"; then
2366 ac_cv_prog_CC="$CC" # Let the user override the test.
2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir=.
2373 for ac_exec_ext in '' $ac_executable_extensions; do
2374 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2375 ac_cv_prog_CC="${ac_tool_prefix}cc"
2376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2386 if test -n "$CC"; then
2387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2388 $as_echo "$CC" >&6; }
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2391 $as_echo "no" >&6; }
2397 if test -z "$CC"; then
2398 # Extract the first word of "cc", so it can be a program name with args.
2399 set dummy cc; ac_word=$2
2400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2401 $as_echo_n "checking for $ac_word... " >&6; }
2402 if ${ac_cv_prog_CC+:} false; then :
2403 $as_echo_n "(cached) " >&6
2405 if test -n "$CC"; then
2406 ac_cv_prog_CC="$CC" # Let the user override the test.
2409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2413 test -z "$as_dir" && as_dir=.
2414 for ac_exec_ext in '' $ac_executable_extensions; do
2415 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2416 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2417 ac_prog_rejected=yes
2421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2428 if test $ac_prog_rejected = yes; then
2429 # We found a bogon in the path, so make sure we never use it.
2430 set dummy $ac_cv_prog_CC
2432 if test $# != 0; then
2433 # We chose a different compiler from the bogus one.
2434 # However, it has the same basename, so the bogon will be chosen
2435 # first if we set CC to just the basename; use the full file name.
2437 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2443 if test -n "$CC"; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2445 $as_echo "$CC" >&6; }
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2448 $as_echo "no" >&6; }
2453 if test -z "$CC"; then
2454 if test -n "$ac_tool_prefix"; then
2455 for ac_prog in cl.exe
2457 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2458 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2460 $as_echo_n "checking for $ac_word... " >&6; }
2461 if ${ac_cv_prog_CC+:} false; then :
2462 $as_echo_n "(cached) " >&6
2464 if test -n "$CC"; then
2465 ac_cv_prog_CC="$CC" # Let the user override the test.
2467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2471 test -z "$as_dir" && as_dir=.
2472 for ac_exec_ext in '' $ac_executable_extensions; do
2473 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2474 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2485 if test -n "$CC"; then
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2487 $as_echo "$CC" >&6; }
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2490 $as_echo "no" >&6; }
2494 test -n "$CC" && break
2497 if test -z "$CC"; then
2499 for ac_prog in cl.exe
2501 # Extract the first word of "$ac_prog", so it can be a program name with args.
2502 set dummy $ac_prog; ac_word=$2
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2504 $as_echo_n "checking for $ac_word... " >&6; }
2505 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2506 $as_echo_n "(cached) " >&6
2508 if test -n "$ac_ct_CC"; then
2509 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2515 test -z "$as_dir" && as_dir=.
2516 for ac_exec_ext in '' $ac_executable_extensions; do
2517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2518 ac_cv_prog_ac_ct_CC="$ac_prog"
2519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2528 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2529 if test -n "$ac_ct_CC"; then
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2531 $as_echo "$ac_ct_CC" >&6; }
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2534 $as_echo "no" >&6; }
2538 test -n "$ac_ct_CC" && break
2541 if test "x$ac_ct_CC" = x; then
2544 case $cross_compiling:$ac_tool_warned in
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2548 ac_tool_warned=yes ;;
2557 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2558 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2559 as_fn_error $? "no acceptable C compiler found in \$PATH
2560 See \`config.log' for more details" "$LINENO" 5; }
2562 # Provide some information about the compiler.
2563 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2566 for ac_option in --version -v -V -qversion; do
2567 { { ac_try="$ac_compiler $ac_option >&5"
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2576 if test -s conftest.err; then
2578 ... rest of stderr output deleted ...
2579 10q' conftest.err >conftest.er1
2580 cat conftest.er1 >&5
2582 rm -f conftest.er1 conftest.err
2583 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2584 test $ac_status = 0; }
2587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2588 /* end confdefs.h. */
2598 ac_clean_files_save=$ac_clean_files
2599 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2600 # Try to create an executable without -o first, disregard a.out.
2601 # It will help us diagnose broken compilers, and finding out an intuition
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2604 $as_echo_n "checking whether the C compiler works... " >&6; }
2605 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2607 # The possible output files:
2608 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2611 for ac_file in $ac_files
2614 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2615 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2620 if { { ac_try="$ac_link_default"
2622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2623 *) ac_try_echo=$ac_try;;
2625 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2626 $as_echo "$ac_try_echo"; } >&5
2627 (eval "$ac_link_default") 2>&5
2629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2630 test $ac_status = 0; }; then :
2631 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2632 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2633 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2634 # so that the user can short-circuit this test for compilers unknown to
2636 for ac_file in $ac_files ''
2638 test -f "$ac_file" || continue
2640 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2643 # We found the default executable, but exeext='' is most
2647 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2649 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2651 # We set ac_cv_exeext here because the later test for it is not
2652 # safe: cross compilers may not add the suffix if given an `-o'
2653 # argument, so we may need to know it at that point already.
2654 # Even if this section looks crufty: it has the advantage of
2661 test "$ac_cv_exeext" = no && ac_cv_exeext=
2666 if test -z "$ac_file"; then :
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2668 $as_echo "no" >&6; }
2669 $as_echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2673 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2674 as_fn_error 77 "C compiler cannot create executables
2675 See \`config.log' for more details" "$LINENO" 5; }
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2678 $as_echo "yes" >&6; }
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2681 $as_echo_n "checking for C compiler default output file name... " >&6; }
2682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2683 $as_echo "$ac_file" >&6; }
2684 ac_exeext=$ac_cv_exeext
2686 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2687 ac_clean_files=$ac_clean_files_save
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2689 $as_echo_n "checking for suffix of executables... " >&6; }
2690 if { { ac_try="$ac_link"
2692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2693 *) ac_try_echo=$ac_try;;
2695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2696 $as_echo "$ac_try_echo"; } >&5
2697 (eval "$ac_link") 2>&5
2699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2700 test $ac_status = 0; }; then :
2701 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2702 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2703 # work properly (i.e., refer to `conftest.exe'), while it won't with
2705 for ac_file in conftest.exe conftest conftest.*; do
2706 test -f "$ac_file" || continue
2708 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2709 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2715 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2716 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2717 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2718 See \`config.log' for more details" "$LINENO" 5; }
2720 rm -f conftest conftest$ac_cv_exeext
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2722 $as_echo "$ac_cv_exeext" >&6; }
2724 rm -f conftest.$ac_ext
2725 EXEEXT=$ac_cv_exeext
2727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728 /* end confdefs.h. */
2733 FILE *f = fopen ("conftest.out", "w");
2734 return ferror (f) || fclose (f) != 0;
2740 ac_clean_files="$ac_clean_files conftest.out"
2741 # Check that the compiler produces executables we can run. If not, either
2742 # the compiler is broken, or we cross compile.
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2744 $as_echo_n "checking whether we are cross compiling... " >&6; }
2745 if test "$cross_compiling" != yes; then
2746 { { ac_try="$ac_link"
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2752 $as_echo "$ac_try_echo"; } >&5
2753 (eval "$ac_link") 2>&5
2755 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2756 test $ac_status = 0; }
2757 if { ac_try='./conftest$ac_cv_exeext'
2758 { { case "(($ac_try" in
2759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2760 *) ac_try_echo=$ac_try;;
2762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2763 $as_echo "$ac_try_echo"; } >&5
2764 (eval "$ac_try") 2>&5
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; }; }; then
2770 if test "$cross_compiling" = maybe; then
2773 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2774 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2775 as_fn_error $? "cannot run C compiled programs.
2776 If you meant to cross compile, use \`--host'.
2777 See \`config.log' for more details" "$LINENO" 5; }
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2782 $as_echo "$cross_compiling" >&6; }
2784 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2785 ac_clean_files=$ac_clean_files_save
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2787 $as_echo_n "checking for suffix of object files... " >&6; }
2788 if ${ac_cv_objext+:} false; then :
2789 $as_echo_n "(cached) " >&6
2791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792 /* end confdefs.h. */
2802 rm -f conftest.o conftest.obj
2803 if { { ac_try="$ac_compile"
2805 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2806 *) ac_try_echo=$ac_try;;
2808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2809 $as_echo "$ac_try_echo"; } >&5
2810 (eval "$ac_compile") 2>&5
2812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2813 test $ac_status = 0; }; then :
2814 for ac_file in conftest.o conftest.obj conftest.*; do
2815 test -f "$ac_file" || continue;
2817 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2818 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2823 $as_echo "$as_me: failed program was:" >&5
2824 sed 's/^/| /' conftest.$ac_ext >&5
2826 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2827 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2828 as_fn_error $? "cannot compute suffix of object files: cannot compile
2829 See \`config.log' for more details" "$LINENO" 5; }
2831 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2834 $as_echo "$ac_cv_objext" >&6; }
2835 OBJEXT=$ac_cv_objext
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2838 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2839 if ${ac_cv_c_compiler_gnu+:} false; then :
2840 $as_echo_n "(cached) " >&6
2842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2843 /* end confdefs.h. */
2856 if ac_fn_c_try_compile "$LINENO"; then :
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2866 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2867 if test $ac_compiler_gnu = yes; then
2872 ac_test_CFLAGS=${CFLAGS+set}
2873 ac_save_CFLAGS=$CFLAGS
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2875 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2876 if ${ac_cv_prog_cc_g+:} false; then :
2877 $as_echo_n "(cached) " >&6
2879 ac_save_c_werror_flag=$ac_c_werror_flag
2880 ac_c_werror_flag=yes
2883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2884 /* end confdefs.h. */
2894 if ac_fn_c_try_compile "$LINENO"; then :
2898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2899 /* end confdefs.h. */
2909 if ac_fn_c_try_compile "$LINENO"; then :
2912 ac_c_werror_flag=$ac_save_c_werror_flag
2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2925 if ac_fn_c_try_compile "$LINENO"; then :
2928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2933 ac_c_werror_flag=$ac_save_c_werror_flag
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2936 $as_echo "$ac_cv_prog_cc_g" >&6; }
2937 if test "$ac_test_CFLAGS" = set; then
2938 CFLAGS=$ac_save_CFLAGS
2939 elif test $ac_cv_prog_cc_g = yes; then
2940 if test "$GCC" = yes; then
2946 if test "$GCC" = yes; then
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2953 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2954 if ${ac_cv_prog_cc_c89+:} false; then :
2955 $as_echo_n "(cached) " >&6
2957 ac_cv_prog_cc_c89=no
2959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960 /* end confdefs.h. */
2964 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2965 struct buf { int x; };
2966 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2967 static char *e (p, i)
2973 static char *f (char * (*g) (char **, int), char **p, ...)
2978 s = g (p, va_arg (v,int));
2983 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2984 function prototypes and stuff, but not '\xHH' hex character constants.
2985 These don't provoke an error unfortunately, instead are silently treated
2986 as 'x'. The following induces an error, until -std is added to get
2987 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2988 array size at least. It's necessary to write '\x00'==0 to get something
2989 that's true only with -std. */
2990 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2992 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2993 inside strings and character constants. */
2995 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2997 int test (int i, double x);
2998 struct s1 {int (*f) (int a);};
2999 struct s2 {int (*f) (double a);};
3000 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3006 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3011 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3012 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3014 CC="$ac_save_CC $ac_arg"
3015 if ac_fn_c_try_compile "$LINENO"; then :
3016 ac_cv_prog_cc_c89=$ac_arg
3018 rm -f core conftest.err conftest.$ac_objext
3019 test "x$ac_cv_prog_cc_c89" != "xno" && break
3021 rm -f conftest.$ac_ext
3026 case "x$ac_cv_prog_cc_c89" in
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3029 $as_echo "none needed" >&6; } ;;
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3032 $as_echo "unsupported" >&6; } ;;
3034 CC="$CC $ac_cv_prog_cc_c89"
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3036 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3038 if test "x$ac_cv_prog_cc_c89" != xno; then :
3043 ac_cpp='$CPP $CPPFLAGS'
3044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3050 ac_cpp='$CPP $CPPFLAGS'
3051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3055 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3056 # On Suns, sometimes $CPP names a directory.
3057 if test -n "$CPP" && test -d "$CPP"; then
3060 if test -z "$CPP"; then
3061 if ${ac_cv_prog_CPP+:} false; then :
3062 $as_echo_n "(cached) " >&6
3064 # Double quotes because CPP needs to be expanded
3065 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3068 for ac_c_preproc_warn_flag in '' yes
3070 # Use a header file that comes with gcc, so configuring glibc
3071 # with a fresh cross-compiler works.
3072 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3073 # <limits.h> exists even on freestanding compilers.
3074 # On the NeXT, cc -E runs the code through the compiler's parser,
3075 # not just through cpp. "Syntax error" is here to catch this case.
3076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3077 /* end confdefs.h. */
3079 # include <limits.h>
3081 # include <assert.h>
3085 if ac_fn_c_try_cpp "$LINENO"; then :
3088 # Broken: fails on valid input.
3091 rm -f conftest.err conftest.i conftest.$ac_ext
3093 # OK, works on sane cases. Now check whether nonexistent headers
3094 # can be detected and how.
3095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3096 /* end confdefs.h. */
3097 #include <ac_nonexistent.h>
3099 if ac_fn_c_try_cpp "$LINENO"; then :
3100 # Broken: success on invalid input.
3103 # Passes both tests.
3107 rm -f conftest.err conftest.i conftest.$ac_ext
3110 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3111 rm -f conftest.i conftest.err conftest.$ac_ext
3112 if $ac_preproc_ok; then :
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3125 $as_echo "$CPP" >&6; }
3127 for ac_c_preproc_warn_flag in '' yes
3129 # Use a header file that comes with gcc, so configuring glibc
3130 # with a fresh cross-compiler works.
3131 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3132 # <limits.h> exists even on freestanding compilers.
3133 # On the NeXT, cc -E runs the code through the compiler's parser,
3134 # not just through cpp. "Syntax error" is here to catch this case.
3135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3136 /* end confdefs.h. */
3138 # include <limits.h>
3140 # include <assert.h>
3144 if ac_fn_c_try_cpp "$LINENO"; then :
3147 # Broken: fails on valid input.
3150 rm -f conftest.err conftest.i conftest.$ac_ext
3152 # OK, works on sane cases. Now check whether nonexistent headers
3153 # can be detected and how.
3154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3155 /* end confdefs.h. */
3156 #include <ac_nonexistent.h>
3158 if ac_fn_c_try_cpp "$LINENO"; then :
3159 # Broken: success on invalid input.
3162 # Passes both tests.
3166 rm -f conftest.err conftest.i conftest.$ac_ext
3169 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3170 rm -f conftest.i conftest.err conftest.$ac_ext
3171 if $ac_preproc_ok; then :
3174 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3176 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3177 See \`config.log' for more details" "$LINENO" 5; }
3181 ac_cpp='$CPP $CPPFLAGS'
3182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3188 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3189 if ${ac_cv_path_GREP+:} false; then :
3190 $as_echo_n "(cached) " >&6
3192 if test -z "$GREP"; then
3193 ac_path_GREP_found=false
3194 # Loop through the user's path and test for each of PROGNAME-LIST
3195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3196 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3199 test -z "$as_dir" && as_dir=.
3200 for ac_prog in grep ggrep; do
3201 for ac_exec_ext in '' $ac_executable_extensions; do
3202 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3203 as_fn_executable_p "$ac_path_GREP" || continue
3204 # Check for GNU ac_path_GREP and select it if it is found.
3205 # Check for GNU $ac_path_GREP
3206 case `"$ac_path_GREP" --version 2>&1` in
3208 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3211 $as_echo_n 0123456789 >"conftest.in"
3214 cat "conftest.in" "conftest.in" >"conftest.tmp"
3215 mv "conftest.tmp" "conftest.in"
3216 cp "conftest.in" "conftest.nl"
3217 $as_echo 'GREP' >> "conftest.nl"
3218 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3219 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3220 as_fn_arith $ac_count + 1 && ac_count=$as_val
3221 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3222 # Best one so far, save it but keep looking for a better one
3223 ac_cv_path_GREP="$ac_path_GREP"
3224 ac_path_GREP_max=$ac_count
3226 # 10*(2^10) chars as input seems more than enough
3227 test $ac_count -gt 10 && break
3229 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3232 $ac_path_GREP_found && break 3
3237 if test -z "$ac_cv_path_GREP"; then
3238 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3241 ac_cv_path_GREP=$GREP
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3246 $as_echo "$ac_cv_path_GREP" >&6; }
3247 GREP="$ac_cv_path_GREP"
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3251 $as_echo_n "checking for egrep... " >&6; }
3252 if ${ac_cv_path_EGREP+:} false; then :
3253 $as_echo_n "(cached) " >&6
3255 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3256 then ac_cv_path_EGREP="$GREP -E"
3258 if test -z "$EGREP"; then
3259 ac_path_EGREP_found=false
3260 # Loop through the user's path and test for each of PROGNAME-LIST
3261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3262 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3265 test -z "$as_dir" && as_dir=.
3266 for ac_prog in egrep; do
3267 for ac_exec_ext in '' $ac_executable_extensions; do
3268 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3269 as_fn_executable_p "$ac_path_EGREP" || continue
3270 # Check for GNU ac_path_EGREP and select it if it is found.
3271 # Check for GNU $ac_path_EGREP
3272 case `"$ac_path_EGREP" --version 2>&1` in
3274 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3277 $as_echo_n 0123456789 >"conftest.in"
3280 cat "conftest.in" "conftest.in" >"conftest.tmp"
3281 mv "conftest.tmp" "conftest.in"
3282 cp "conftest.in" "conftest.nl"
3283 $as_echo 'EGREP' >> "conftest.nl"
3284 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3285 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3286 as_fn_arith $ac_count + 1 && ac_count=$as_val
3287 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3288 # Best one so far, save it but keep looking for a better one
3289 ac_cv_path_EGREP="$ac_path_EGREP"
3290 ac_path_EGREP_max=$ac_count
3292 # 10*(2^10) chars as input seems more than enough
3293 test $ac_count -gt 10 && break
3295 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3298 $ac_path_EGREP_found && break 3
3303 if test -z "$ac_cv_path_EGREP"; then
3304 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3307 ac_cv_path_EGREP=$EGREP
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3313 $as_echo "$ac_cv_path_EGREP" >&6; }
3314 EGREP="$ac_cv_path_EGREP"
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3318 $as_echo_n "checking for ANSI C header files... " >&6; }
3319 if ${ac_cv_header_stdc+:} false; then :
3320 $as_echo_n "(cached) " >&6
3322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3323 /* end confdefs.h. */
3337 if ac_fn_c_try_compile "$LINENO"; then :
3338 ac_cv_header_stdc=yes
3340 ac_cv_header_stdc=no
3342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3344 if test $ac_cv_header_stdc = yes; then
3345 # SunOS 4.x string.h does not declare mem*, 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 "memchr" >/dev/null 2>&1; then :
3355 ac_cv_header_stdc=no
3361 if test $ac_cv_header_stdc = yes; then
3362 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3368 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3369 $EGREP "free" >/dev/null 2>&1; then :
3372 ac_cv_header_stdc=no
3378 if test $ac_cv_header_stdc = yes; then
3379 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3380 if test "$cross_compiling" = yes; then :
3383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3384 /* end confdefs.h. */
3387 #if ((' ' & 0x0FF) == 0x020)
3388 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3389 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3391 # define ISLOWER(c) \
3392 (('a' <= (c) && (c) <= 'i') \
3393 || ('j' <= (c) && (c) <= 'r') \
3394 || ('s' <= (c) && (c) <= 'z'))
3395 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3398 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3403 for (i = 0; i < 256; i++)
3404 if (XOR (islower (i), ISLOWER (i))
3405 || toupper (i) != TOUPPER (i))
3410 if ac_fn_c_try_run "$LINENO"; then :
3413 ac_cv_header_stdc=no
3415 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3416 conftest.$ac_objext conftest.beam conftest.$ac_ext
3421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3422 $as_echo "$ac_cv_header_stdc" >&6; }
3423 if test $ac_cv_header_stdc = yes; then
3425 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3429 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3430 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3431 inttypes.h stdint.h unistd.h
3433 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3434 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3436 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3437 cat >>confdefs.h <<_ACEOF
3438 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3447 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3448 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3455 if test "$MINIX" = yes; then
3457 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3460 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3463 $as_echo "#define _MINIX 1" >>confdefs.h
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3469 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3470 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3471 $as_echo_n "(cached) " >&6
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3476 # define __EXTENSIONS__ 1
3477 $ac_includes_default
3486 if ac_fn_c_try_compile "$LINENO"; then :
3487 ac_cv_safe_to_define___extensions__=yes
3489 ac_cv_safe_to_define___extensions__=no
3491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3494 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3495 test $ac_cv_safe_to_define___extensions__ = yes &&
3496 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3498 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3500 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3502 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3504 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3509 $as_echo_n "checking whether ln -s works... " >&6; }
3511 if test "$LN_S" = "ln -s"; then
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3513 $as_echo "yes" >&6; }
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3516 $as_echo "no, using $LN_S" >&6; }
3522 # Extract the first word of "chmod", so it can be a program name with args.
3523 set dummy chmod; ac_word=$2
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3525 $as_echo_n "checking for $ac_word... " >&6; }
3526 if ${ac_cv_prog_CHMOD+:} false; then :
3527 $as_echo_n "(cached) " >&6
3529 if test -n "$CHMOD"; then
3530 ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3536 test -z "$as_dir" && as_dir=.
3537 for ac_exec_ext in '' $ac_executable_extensions; do
3538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3539 ac_cv_prog_CHMOD="chmod"
3540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3549 CHMOD=$ac_cv_prog_CHMOD
3550 if test -n "$CHMOD"; then
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
3552 $as_echo "$CHMOD" >&6; }
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555 $as_echo "no" >&6; }
3559 # Extract the first word of "chown", so it can be a program name with args.
3560 set dummy chown; ac_word=$2
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3562 $as_echo_n "checking for $ac_word... " >&6; }
3563 if ${ac_cv_prog_CHOWN+:} false; then :
3564 $as_echo_n "(cached) " >&6
3566 if test -n "$CHOWN"; then
3567 ac_cv_prog_CHOWN="$CHOWN" # Let the user override the test.
3569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3573 test -z "$as_dir" && as_dir=.
3574 for ac_exec_ext in '' $ac_executable_extensions; do
3575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3576 ac_cv_prog_CHOWN="chown"
3577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3586 CHOWN=$ac_cv_prog_CHOWN
3587 if test -n "$CHOWN"; then
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHOWN" >&5
3589 $as_echo "$CHOWN" >&6; }
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3592 $as_echo "no" >&6; }
3596 # Extract the first word of "ar", so it can be a program name with args.
3597 set dummy ar; ac_word=$2
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3599 $as_echo_n "checking for $ac_word... " >&6; }
3600 if ${ac_cv_prog_AR+:} false; then :
3601 $as_echo_n "(cached) " >&6
3603 if test -n "$AR"; then
3604 ac_cv_prog_AR="$AR" # Let the user override the test.
3606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3610 test -z "$as_dir" && as_dir=.
3611 for ac_exec_ext in '' $ac_executable_extensions; do
3612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3624 if test -n "$AR"; then
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3626 $as_echo "$AR" >&6; }
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3633 # Extract the first word of "install", so it can be a program name with args.
3634 set dummy install; ac_word=$2
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3636 $as_echo_n "checking for $ac_word... " >&6; }
3637 if ${ac_cv_prog_INSTALL+:} false; then :
3638 $as_echo_n "(cached) " >&6
3640 if test -n "$INSTALL"; then
3641 ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
3643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3647 test -z "$as_dir" && as_dir=.
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3650 ac_cv_prog_INSTALL="install"
3651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3660 INSTALL=$ac_cv_prog_INSTALL
3661 if test -n "$INSTALL"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3663 $as_echo "$INSTALL" >&6; }
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3666 $as_echo "no" >&6; }
3670 # Extract the first word of "msgfmt", so it can be a program name with args.
3671 set dummy msgfmt; ac_word=$2
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3673 $as_echo_n "checking for $ac_word... " >&6; }
3674 if ${ac_cv_prog_MSGFMT+:} false; then :
3675 $as_echo_n "(cached) " >&6
3677 if test -n "$MSGFMT"; then
3678 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
3680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3684 test -z "$as_dir" && as_dir=.
3685 for ac_exec_ext in '' $ac_executable_extensions; do
3686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3687 ac_cv_prog_MSGFMT="msgfmt"
3688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3697 MSGFMT=$ac_cv_prog_MSGFMT
3698 if test -n "$MSGFMT"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3700 $as_echo "$MSGFMT" >&6; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3703 $as_echo "no" >&6; }
3707 # Extract the first word of "xgettext", so it can be a program name with args.
3708 set dummy xgettext; ac_word=$2
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3710 $as_echo_n "checking for $ac_word... " >&6; }
3711 if ${ac_cv_prog_XGETTEXT+:} false; then :
3712 $as_echo_n "(cached) " >&6
3714 if test -n "$XGETTEXT"; then
3715 ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test.
3717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3721 test -z "$as_dir" && as_dir=.
3722 for ac_exec_ext in '' $ac_executable_extensions; do
3723 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3724 ac_cv_prog_XGETTEXT="xgettext"
3725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3734 XGETTEXT=$ac_cv_prog_XGETTEXT
3735 if test -n "$XGETTEXT"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3737 $as_echo "$XGETTEXT" >&6; }
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3744 # Extract the first word of "msgmerge", so it can be a program name with args.
3745 set dummy msgmerge; ac_word=$2
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3747 $as_echo_n "checking for $ac_word... " >&6; }
3748 if ${ac_cv_prog_MSGMERGE+:} false; then :
3749 $as_echo_n "(cached) " >&6
3751 if test -n "$MSGMERGE"; then
3752 ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test.
3754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3758 test -z "$as_dir" && as_dir=.
3759 for ac_exec_ext in '' $ac_executable_extensions; do
3760 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3761 ac_cv_prog_MSGMERGE="msgmerge"
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 MSGMERGE=$ac_cv_prog_MSGMERGE
3772 if test -n "$MSGMERGE"; then
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3774 $as_echo "$MSGMERGE" >&6; }
3776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3777 $as_echo "no" >&6; }
3781 for ac_prog in bzip2 gzip
3783 # Extract the first word of "$ac_prog", so it can be a program name with args.
3784 set dummy $ac_prog; ac_word=$2
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3786 $as_echo_n "checking for $ac_word... " >&6; }
3787 if ${ac_cv_prog_ZIP+:} false; then :
3788 $as_echo_n "(cached) " >&6
3790 if test -n "$ZIP"; then
3791 ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
3793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3794 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3797 test -z "$as_dir" && as_dir=.
3798 for ac_exec_ext in '' $ac_executable_extensions; do
3799 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3800 ac_cv_prog_ZIP="$ac_prog"
3801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3811 if test -n "$ZIP"; then
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
3813 $as_echo "$ZIP" >&6; }
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3816 $as_echo "no" >&6; }
3820 test -n "$ZIP" && break
3822 test -n "$ZIP" || ZIP="gzip"
3824 INSTALL_DATA="\${INSTALL} -m 644"
3826 INSTALL_BIN="\${INSTALL} -m 755"
3831 # Extract the first word of "$ac_prog", so it can be a program name with args.
3832 set dummy $ac_prog; ac_word=$2
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3834 $as_echo_n "checking for $ac_word... " >&6; }
3835 if ${ac_cv_path_PATH_CP+:} false; then :
3836 $as_echo_n "(cached) " >&6
3840 ac_cv_path_PATH_CP="$PATH_CP" # Let the user override the test with a path.
3843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3844 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3847 test -z "$as_dir" && as_dir=.
3848 for ac_exec_ext in '' $ac_executable_extensions; do
3849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3850 ac_cv_path_PATH_CP="$as_dir/$ac_word$ac_exec_ext"
3851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3861 PATH_CP=$ac_cv_path_PATH_CP
3862 if test -n "$PATH_CP"; then
3863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CP" >&5
3864 $as_echo "$PATH_CP" >&6; }
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3867 $as_echo "no" >&6; }
3871 test -n "$PATH_CP" && break
3873 test -n "$PATH_CP" || PATH_CP="cp"
3875 for ac_prog in chkconfig
3877 # Extract the first word of "$ac_prog", so it can be a program name with args.
3878 set dummy $ac_prog; ac_word=$2
3879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3880 $as_echo_n "checking for $ac_word... " >&6; }
3881 if ${ac_cv_path_PATH_CHKCONFIG+:} false; then :
3882 $as_echo_n "(cached) " >&6
3884 case $PATH_CHKCONFIG in
3886 ac_cv_path_PATH_CHKCONFIG="$PATH_CHKCONFIG" # Let the user override the test with a path.
3889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3890 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3893 test -z "$as_dir" && as_dir=.
3894 for ac_exec_ext in '' $ac_executable_extensions; do
3895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3896 ac_cv_path_PATH_CHKCONFIG="$as_dir/$ac_word$ac_exec_ext"
3897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 PATH_CHKCONFIG=$ac_cv_path_PATH_CHKCONFIG
3908 if test -n "$PATH_CHKCONFIG"; then
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CHKCONFIG" >&5
3910 $as_echo "$PATH_CHKCONFIG" >&6; }
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3913 $as_echo "no" >&6; }
3917 test -n "$PATH_CHKCONFIG" && break
3919 test -n "$PATH_CHKCONFIG" || PATH_CHKCONFIG="chkconfig"
3924 for ac_prog in systemctl
3926 # Extract the first word of "$ac_prog", so it can be a program name with args.
3927 set dummy $ac_prog; ac_word=$2
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3929 $as_echo_n "checking for $ac_word... " >&6; }
3930 if ${ac_cv_path_SYSTEMCTL+:} false; then :
3931 $as_echo_n "(cached) " >&6
3935 ac_cv_path_SYSTEMCTL="$SYSTEMCTL" # Let the user override the test with a path.
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3942 test -z "$as_dir" && as_dir=.
3943 for ac_exec_ext in '' $ac_executable_extensions; do
3944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3945 ac_cv_path_SYSTEMCTL="$as_dir/$ac_word$ac_exec_ext"
3946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3956 SYSTEMCTL=$ac_cv_path_SYSTEMCTL
3957 if test -n "$SYSTEMCTL"; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSTEMCTL" >&5
3959 $as_echo "$SYSTEMCTL" >&6; }
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3966 test -n "$SYSTEMCTL" && break
3968 test -n "$SYSTEMCTL" || SYSTEMCTL="systemctl"
3971 # Check whether --with-systemdsystemunitdir was given.
3972 if test "${with_systemdsystemunitdir+set}" = set; then :
3973 withval=$with_systemdsystemunitdir;
3975 with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
3978 if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ; then
3979 SYSTEMD_UNIT_DIR=$with_systemdsystemunitdir
3985 # Check header files
3987 echo Check header files:
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3992 $as_echo_n "checking for ANSI C header files... " >&6; }
3993 if ${ac_cv_header_stdc+:} false; then :
3994 $as_echo_n "(cached) " >&6
3996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3997 /* end confdefs.h. */
4011 if ac_fn_c_try_compile "$LINENO"; then :
4012 ac_cv_header_stdc=yes
4014 ac_cv_header_stdc=no
4016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4018 if test $ac_cv_header_stdc = yes; then
4019 # SunOS 4.x string.h does not declare mem*, 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 "memchr" >/dev/null 2>&1; then :
4029 ac_cv_header_stdc=no
4035 if test $ac_cv_header_stdc = yes; then
4036 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4038 /* end confdefs.h. */
4042 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4043 $EGREP "free" >/dev/null 2>&1; then :
4046 ac_cv_header_stdc=no
4052 if test $ac_cv_header_stdc = yes; then
4053 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4054 if test "$cross_compiling" = yes; then :
4057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4061 #if ((' ' & 0x0FF) == 0x020)
4062 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4063 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4065 # define ISLOWER(c) \
4066 (('a' <= (c) && (c) <= 'i') \
4067 || ('j' <= (c) && (c) <= 'r') \
4068 || ('s' <= (c) && (c) <= 'z'))
4069 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4072 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4077 for (i = 0; i < 256; i++)
4078 if (XOR (islower (i), ISLOWER (i))
4079 || toupper (i) != TOUPPER (i))
4084 if ac_fn_c_try_run "$LINENO"; then :
4087 ac_cv_header_stdc=no
4089 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4090 conftest.$ac_objext conftest.beam conftest.$ac_ext
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4096 $as_echo "$ac_cv_header_stdc" >&6; }
4097 if test $ac_cv_header_stdc = yes; then
4099 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4104 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4105 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4107 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4108 if eval \${$as_ac_Header+:} false; then :
4109 $as_echo_n "(cached) " >&6
4111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4112 /* end confdefs.h. */
4113 #include <sys/types.h>
4125 if ac_fn_c_try_compile "$LINENO"; then :
4126 eval "$as_ac_Header=yes"
4128 eval "$as_ac_Header=no"
4130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4132 eval ac_res=\$$as_ac_Header
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4134 $as_echo "$ac_res" >&6; }
4135 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4136 cat >>confdefs.h <<_ACEOF
4137 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4140 ac_header_dirent=$ac_hdr; break
4144 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4145 if test $ac_header_dirent = dirent.h; then
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4147 $as_echo_n "checking for library containing opendir... " >&6; }
4148 if ${ac_cv_search_opendir+:} false; then :
4149 $as_echo_n "(cached) " >&6
4151 ac_func_search_save_LIBS=$LIBS
4152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4153 /* end confdefs.h. */
4155 /* Override any GCC internal prototype to avoid an error.
4156 Use char because int might match the return type of a GCC
4157 builtin and then its argument prototype would still apply. */
4170 for ac_lib in '' dir; do
4171 if test -z "$ac_lib"; then
4172 ac_res="none required"
4175 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4177 if ac_fn_c_try_link "$LINENO"; then :
4178 ac_cv_search_opendir=$ac_res
4180 rm -f core conftest.err conftest.$ac_objext \
4182 if ${ac_cv_search_opendir+:} false; then :
4186 if ${ac_cv_search_opendir+:} false; then :
4189 ac_cv_search_opendir=no
4192 LIBS=$ac_func_search_save_LIBS
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4195 $as_echo "$ac_cv_search_opendir" >&6; }
4196 ac_res=$ac_cv_search_opendir
4197 if test "$ac_res" != no; then :
4198 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4204 $as_echo_n "checking for library containing opendir... " >&6; }
4205 if ${ac_cv_search_opendir+:} false; then :
4206 $as_echo_n "(cached) " >&6
4208 ac_func_search_save_LIBS=$LIBS
4209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4210 /* end confdefs.h. */
4212 /* Override any GCC internal prototype to avoid an error.
4213 Use char because int might match the return type of a GCC
4214 builtin and then its argument prototype would still apply. */
4227 for ac_lib in '' x; do
4228 if test -z "$ac_lib"; then
4229 ac_res="none required"
4232 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4234 if ac_fn_c_try_link "$LINENO"; then :
4235 ac_cv_search_opendir=$ac_res
4237 rm -f core conftest.err conftest.$ac_objext \
4239 if ${ac_cv_search_opendir+:} false; then :
4243 if ${ac_cv_search_opendir+:} false; then :
4246 ac_cv_search_opendir=no
4249 LIBS=$ac_func_search_save_LIBS
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4252 $as_echo "$ac_cv_search_opendir" >&6; }
4253 ac_res=$ac_cv_search_opendir
4254 if test "$ac_res" != no; then :
4255 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4261 for ac_header in ctype.h
4263 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
4264 if test "x$ac_cv_header_ctype_h" = xyes; then :
4265 cat >>confdefs.h <<_ACEOF
4266 #define HAVE_CTYPE_H 1
4273 for ac_header in errno.h
4275 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
4276 if test "x$ac_cv_header_errno_h" = xyes; then :
4277 cat >>confdefs.h <<_ACEOF
4278 #define HAVE_ERRNO_H 1
4285 for ac_header in libintl.h
4287 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4288 if test "x$ac_cv_header_libintl_h" = xyes; then :
4289 cat >>confdefs.h <<_ACEOF
4290 #define HAVE_LIBINTL_H 1
4297 for ac_header in locale.h
4299 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4300 if test "x$ac_cv_header_locale_h" = xyes; then :
4301 cat >>confdefs.h <<_ACEOF
4302 #define HAVE_LOCALE_H 1
4309 for ac_header in net/if.h
4311 ac_fn_c_check_header_mongrel "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default"
4312 if test "x$ac_cv_header_net_if_h" = xyes; then :
4313 cat >>confdefs.h <<_ACEOF
4314 #define HAVE_NET_IF_H 1
4321 for ac_header in regex.h
4323 ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
4324 if test "x$ac_cv_header_regex_h" = xyes; then :
4325 cat >>confdefs.h <<_ACEOF
4326 #define HAVE_REGEX_H 1
4333 for ac_header in signal.h
4335 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
4336 if test "x$ac_cv_header_signal_h" = xyes; then :
4337 cat >>confdefs.h <<_ACEOF
4338 #define HAVE_SIGNAL_H 1
4345 for ac_header in stdio.h
4347 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
4348 if test "x$ac_cv_header_stdio_h" = xyes; then :
4349 cat >>confdefs.h <<_ACEOF
4350 #define HAVE_STDIO_H 1
4357 for ac_header in sys/file.h
4359 ac_fn_c_check_header_mongrel "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
4360 if test "x$ac_cv_header_sys_file_h" = xyes; then :
4361 cat >>confdefs.h <<_ACEOF
4362 #define HAVE_SYS_FILE_H 1
4369 for ac_header in sys/ioctl.h
4371 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
4372 if test "x$ac_cv_header_sys_ioctl_h" = xyes; then :
4373 cat >>confdefs.h <<_ACEOF
4374 #define HAVE_SYS_IOCTL_H 1
4381 for ac_header in sys/stat.h
4383 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
4384 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
4385 cat >>confdefs.h <<_ACEOF
4386 #define HAVE_SYS_STAT_H 1
4395 echo Check typedefs, structures and compiler characteristics:
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4398 $as_echo_n "checking return type of signal handlers... " >&6; }
4399 if ${ac_cv_type_signal+:} false; then :
4400 $as_echo_n "(cached) " >&6
4402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4403 /* end confdefs.h. */
4404 #include <sys/types.h>
4410 return *(signal (0, 0)) (0) == 1;
4415 if ac_fn_c_try_compile "$LINENO"; then :
4416 ac_cv_type_signal=int
4418 ac_cv_type_signal=void
4420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4423 $as_echo "$ac_cv_type_signal" >&6; }
4425 cat >>confdefs.h <<_ACEOF
4426 #define RETSIGTYPE $ac_cv_type_signal
4430 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4431 if test "x$ac_cv_type_size_t" = xyes; then :
4435 cat >>confdefs.h <<_ACEOF
4436 #define size_t unsigned int
4441 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4442 if test "x$ac_cv_type_off_t" = xyes; then :
4446 cat >>confdefs.h <<_ACEOF
4447 #define off_t long int
4454 echo Check library functions:
4456 for ac_func in strchr
4458 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
4459 if test "x$ac_cv_func_strchr" = xyes; then :
4460 cat >>confdefs.h <<_ACEOF
4461 #define HAVE_STRCHR 1
4467 for ac_func in strcspn
4469 ac_fn_c_check_func "$LINENO" "strcspn" "ac_cv_func_strcspn"
4470 if test "x$ac_cv_func_strcspn" = xyes; then :
4471 cat >>confdefs.h <<_ACEOF
4472 #define HAVE_STRCSPN 1
4478 for ac_func in strspn
4480 ac_fn_c_check_func "$LINENO" "strspn" "ac_cv_func_strspn"
4481 if test "x$ac_cv_func_strspn" = xyes; then :
4482 cat >>confdefs.h <<_ACEOF
4483 #define HAVE_STRSPN 1
4489 for ac_func in strstr
4491 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
4492 if test "x$ac_cv_func_strstr" = xyes; then :
4493 cat >>confdefs.h <<_ACEOF
4494 #define HAVE_STRSTR 1
4501 # Should we check for lm_sensors?
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors support" >&5
4503 $as_echo_n "checking for sensors support... " >&6; }
4504 # Check whether --enable-sensors was given.
4505 if test "${enable_sensors+set}" = set; then :
4506 enableval=$enable_sensors; SENSORS=$enableval
4511 if test $SENSORS != "yes"; then
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4517 $as_echo "$SENSORS" >&6; }
4519 # Check for lm_sensors
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_get_detected_chips in -lsensors" >&5
4524 $as_echo_n "checking for sensors_get_detected_chips in -lsensors... " >&6; }
4525 if ${ac_cv_lib_sensors_sensors_get_detected_chips+:} false; then :
4526 $as_echo_n "(cached) " >&6
4528 ac_check_lib_save_LIBS=$LIBS
4529 LIBS="-lsensors $LIBS"
4530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4531 /* end confdefs.h. */
4533 /* Override any GCC internal prototype to avoid an error.
4534 Use char because int might match the return type of a GCC
4535 builtin and then its argument prototype would still apply. */
4539 char sensors_get_detected_chips ();
4543 return sensors_get_detected_chips ();
4548 if ac_fn_c_try_link "$LINENO"; then :
4549 ac_cv_lib_sensors_sensors_get_detected_chips=yes
4551 ac_cv_lib_sensors_sensors_get_detected_chips=no
4553 rm -f core conftest.err conftest.$ac_objext \
4554 conftest$ac_exeext conftest.$ac_ext
4555 LIBS=$ac_check_lib_save_LIBS
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_get_detected_chips" >&5
4558 $as_echo "$ac_cv_lib_sensors_sensors_get_detected_chips" >&6; }
4559 if test "x$ac_cv_lib_sensors_sensors_get_detected_chips" = xyes; then :
4560 LFSENSORS="-lsensors"
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors lib" >&5
4566 $as_echo_n "checking for sensors lib... " >&6; }
4567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4568 /* end confdefs.h. */
4569 #include <sensors/sensors.h>
4570 #include <sensors/error.h>
4580 if ac_fn_c_try_compile "$LINENO"; then :
4581 SENSORS=yes; DFSENSORS="-DHAVE_SENSORS"
4583 HAVE_SENSORS="n"; SENSORS=no
4585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4587 $as_echo "$SENSORS" >&6; }
4593 echo Check system services:
4595 # Check whether --enable-largefile was given.
4596 if test "${enable_largefile+set}" = set; then :
4597 enableval=$enable_largefile;
4600 if test "$enable_largefile" != no; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4603 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4604 if ${ac_cv_sys_largefile_CC+:} false; then :
4605 $as_echo_n "(cached) " >&6
4607 ac_cv_sys_largefile_CC=no
4608 if test "$GCC" != yes; then
4611 # IRIX 6.2 and later do not support large files by default,
4612 # so use the C compiler's -n32 option if that helps.
4613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4614 /* end confdefs.h. */
4615 #include <sys/types.h>
4616 /* Check that off_t can represent 2**63 - 1 correctly.
4617 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4618 since some C++ compilers masquerading as C compilers
4619 incorrectly reject 9223372036854775807. */
4620 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4621 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4622 && LARGE_OFF_T % 2147483647 == 1)
4632 if ac_fn_c_try_compile "$LINENO"; then :
4635 rm -f core conftest.err conftest.$ac_objext
4637 if ac_fn_c_try_compile "$LINENO"; then :
4638 ac_cv_sys_largefile_CC=' -n32'; break
4640 rm -f core conftest.err conftest.$ac_objext
4644 rm -f conftest.$ac_ext
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4648 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4649 if test "$ac_cv_sys_largefile_CC" != no; then
4650 CC=$CC$ac_cv_sys_largefile_CC
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4654 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4655 if ${ac_cv_sys_file_offset_bits+:} false; then :
4656 $as_echo_n "(cached) " >&6
4659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4660 /* end confdefs.h. */
4661 #include <sys/types.h>
4662 /* Check that off_t can represent 2**63 - 1 correctly.
4663 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4664 since some C++ compilers masquerading as C compilers
4665 incorrectly reject 9223372036854775807. */
4666 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4667 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4668 && LARGE_OFF_T % 2147483647 == 1)
4678 if ac_fn_c_try_compile "$LINENO"; then :
4679 ac_cv_sys_file_offset_bits=no; break
4681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4683 /* end confdefs.h. */
4684 #define _FILE_OFFSET_BITS 64
4685 #include <sys/types.h>
4686 /* Check that off_t can represent 2**63 - 1 correctly.
4687 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4688 since some C++ compilers masquerading as C compilers
4689 incorrectly reject 9223372036854775807. */
4690 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4691 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4692 && LARGE_OFF_T % 2147483647 == 1)
4702 if ac_fn_c_try_compile "$LINENO"; then :
4703 ac_cv_sys_file_offset_bits=64; break
4705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4706 ac_cv_sys_file_offset_bits=unknown
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4711 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4712 case $ac_cv_sys_file_offset_bits in #(
4715 cat >>confdefs.h <<_ACEOF
4716 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4721 if test $ac_cv_sys_file_offset_bits = unknown; then
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4723 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4724 if ${ac_cv_sys_large_files+:} false; then :
4725 $as_echo_n "(cached) " >&6
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4730 #include <sys/types.h>
4731 /* Check that off_t can represent 2**63 - 1 correctly.
4732 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4733 since some C++ compilers masquerading as C compilers
4734 incorrectly reject 9223372036854775807. */
4735 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4736 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4737 && LARGE_OFF_T % 2147483647 == 1)
4747 if ac_fn_c_try_compile "$LINENO"; then :
4748 ac_cv_sys_large_files=no; break
4750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4752 /* end confdefs.h. */
4753 #define _LARGE_FILES 1
4754 #include <sys/types.h>
4755 /* Check that off_t can represent 2**63 - 1 correctly.
4756 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4757 since some C++ compilers masquerading as C compilers
4758 incorrectly reject 9223372036854775807. */
4759 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4760 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4761 && LARGE_OFF_T % 2147483647 == 1)
4771 if ac_fn_c_try_compile "$LINENO"; then :
4772 ac_cv_sys_large_files=1; break
4774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4775 ac_cv_sys_large_files=unknown
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4780 $as_echo "$ac_cv_sys_large_files" >&6; }
4781 case $ac_cv_sys_large_files in #(
4784 cat >>confdefs.h <<_ACEOF
4785 #define _LARGE_FILES $ac_cv_sys_large_files
4797 echo Check configuration:
4799 # Check arguments used
4801 # Optional Features:
4802 # --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
4803 # --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
4804 # --disable-largefile omit support for large files
4805 # --disable-nls disable National Language Support
4806 # --enable-yesterday tell sa2 to use "yesterday" data files
4807 # --disable-man-group ignore man_group variable value
4808 # --enable-install-cron tell sysstat to install cron scripts
4809 # --collect-all tell sadc to collect all possible data
4810 # --enable-clean-sa-dir clean system activity directory
4811 # --enable-compress-manpg compress manual pages
4812 # --enable-install-isag install isag script
4813 # --enable-debuginfo enable debug output (--debuginfo option)
4814 # --disable-documentation do not install documentation (man pages...)
4815 # --disable-sensors do not link against libsensors even if available
4816 # --disable-stripping do not strip object files
4818 # Some influential environment variables:
4819 # rcdir directory where startup scripts are installed
4820 # sa_lib_dir sadc, sa1 and sa2 directory
4821 # sa_dir system activity daily datafiles directory
4822 # conf_dir sysstat configuration directory (default is /etc/sysconfig)
4823 # history number of daily datafiles to keep (default value is 7)
4824 # compressafter number of days after which datafiles are compressed
4825 # man_group group for man pages
4826 # cron_owner crontab owner
4827 # cron_interval crontab sampling interval
4829 # Fine tuning the installation directories:
4830 # --mandir=DIR man documentation directory [PREFIX/man]
4831 # --docdir=DIR other documentation directory [PREFIX/share/doc]
4833 # Installation directories:
4834 # --prefix=PREFIX install architecture-independent files in PREFIX
4836 # --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
4840 if test -d /etc/init.d && test ! -L /etc/init.d; then
4841 if test -d /etc/init.d/rc2.d; then
4848 INIT_DIR=/etc/init.d
4849 elif test -d /sbin/init.d; then
4851 INIT_DIR=/sbin/init.d
4855 INIT_DIR=/etc/rc.d/init.d
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking run-commands directory" >&5
4860 $as_echo_n "checking run-commands directory... " >&6; }
4862 if test x$rcdir != x""; then
4863 # Override previous rc directories values
4865 INIT_DIR=$rcdir/init.d
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC_DIR" >&5
4869 $as_echo "$RC_DIR" >&6; }
4870 if test ! -d $RC_DIR; then
4871 echo "INFO: Directory ${RC_DIR} doesn't exist."
4872 echo "INFO: Startup scripts won't be installed."
4879 # Set sadc directory
4880 if test $prefix != "NONE"; then
4883 AuxPrefix=/usr/local
4886 SADC_DIR=$AuxPrefix/lib
4887 if test -d $AuxPrefix/lib64; then
4888 # Look for lm (long mode) flag to know if CPU is 64 bit
4889 grep " lm " /proc/cpuinfo >/dev/null 2>&1
4890 if test $? = 0; then
4891 SADC_DIR=$AuxPrefix/lib64
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sadc directory" >&5
4896 $as_echo_n "checking sadc directory... " >&6; }
4898 if test x$sa_lib_dir != x""; then
4899 SA_LIB_DIR=$sa_lib_dir
4901 SA_LIB_DIR=$SADC_DIR/sa
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_LIB_DIR" >&5
4904 $as_echo "$SA_LIB_DIR" >&6; }
4905 if test ! -d $SA_LIB_DIR; then
4906 echo "INFO: Directory ${SA_LIB_DIR} will be created during installation stage."
4910 # Set system activity directory
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system activity directory" >&5
4912 $as_echo_n "checking system activity directory... " >&6; }
4914 if test x$sa_dir != x""; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_DIR" >&5
4920 $as_echo "$SA_DIR" >&6; }
4921 if test ! -d $SA_DIR; then
4922 echo "INFO: Directory ${SA_DIR} will be created during installation stage."
4926 # Set configuration directory
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysstat configuration directory" >&5
4928 $as_echo_n "checking sysstat configuration directory... " >&6; }
4930 if test x$conf_dir != x""; then
4931 SYSCONFIG_DIR=$conf_dir
4933 SYSCONFIG_DIR=/etc/sysconfig
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFIG_DIR" >&5
4936 $as_echo "$SYSCONFIG_DIR" >&6; }
4937 if test ! -d $SYSCONFIG_DIR; then
4938 echo "INFO: Directory ${SYSCONFIG_DIR} will be created during installation stage."
4942 # National Language Support
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking National Language Support" >&5
4944 $as_echo_n "checking National Language Support... " >&6; }
4945 # Check whether --enable-nls was given.
4946 if test "${enable_nls+set}" = set; then :
4947 enableval=$enable_nls; AUX_NLS=$enableval
4952 if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_NLS" >&5
4960 $as_echo "$AUX_NLS" >&6; }
4962 if test $AUX_NLS = "yes" && test x$MSGFMT != x"msgfmt"; then
4963 echo "WARNING: msgfmt command not found!"
4965 if test $AUX_NLS = "yes" && test x$XGETTEXT != x"xgettext"; then
4966 echo "WARNING: xgettext command not found!"
4968 if test $AUX_NLS = "yes" && test x$MSGMERGE != x"msgmerge"; then
4969 echo "WARNING: msgmerge command not found!"
4972 # Check whether sa2 should process data file of the day before
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sa2 should process data file of the day before" >&5
4974 $as_echo_n "checking whether sa2 should process data file of the day before... " >&6; }
4975 # Check whether --enable-yesterday was given.
4976 if test "${enable_yesterday+set}" = set; then :
4977 enableval=$enable_yesterday; AUX_YESTERDAY=$enableval
4982 if test $AUX_YESTERDAY = "yes"; then
4983 YESTERDAY="--date=yesterday"
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4985 $as_echo "yes" >&6; }
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4993 # Data history to keep by sa2
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of daily data files to keep" >&5
4995 $as_echo_n "checking number of daily data files to keep... " >&6; }
4997 if test x$history = x""; then
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HISTORY" >&5
5003 $as_echo "$HISTORY" >&6; }
5006 # Number of days after which datafiles are compressed
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of days after which data files are compressed" >&5
5008 $as_echo_n "checking number of days after which data files are compressed... " >&6; }
5010 if test x$compressafter = x""; then
5013 COMPRESSAFTER=$compressafter
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESSAFTER" >&5
5016 $as_echo "$COMPRESSAFTER" >&6; }
5020 grep ^man: /etc/group >/dev/null 2>&1
5021 if test $? = 0; then
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group for manual pages" >&5
5028 $as_echo_n "checking group for manual pages... " >&6; }
5030 if test x$man_group = x""; then
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5033 $as_echo "$MAN_GROUP" >&6; }
5035 grep ^$man_group: /etc/group >/dev/null 2>&1
5036 if test $? = 1; then
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5039 $as_echo "$MAN_GROUP" >&6; }
5040 echo "WARNING: Group ${man_group} not found: Using ${GRP} instead"
5042 MAN_GROUP=$man_group
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5044 $as_echo "$MAN_GROUP" >&6; }
5049 # Ignore manual pages group?
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether man_group variable should be ignored" >&5
5051 $as_echo_n "checking whether man_group variable should be ignored... " >&6; }
5052 # Check whether --enable-man-group was given.
5053 if test "${enable_man_group+set}" = set; then :
5054 enableval=$enable_man_group; AUX_IMG=$enableval
5059 if test $AUX_IMG != "no"; then
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_IMG" >&5
5067 $as_echo "$AUX_IMG" >&6; }
5070 # Compress manual pages?
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether manual pages should be compressed" >&5
5072 $as_echo_n "checking whether manual pages should be compressed... " >&6; }
5073 # Check whether --enable-compress-manpg was given.
5074 if test "${enable_compress_manpg+set}" = set; then :
5075 enableval=$enable_compress_manpg; AUX_MPG=$enableval
5080 if test $AUX_MPG != "yes"; then
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_MPG" >&5
5087 $as_echo "$AUX_MPG" >&6; }
5090 # Check whether isag should be installed
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isag script should be installed" >&5
5092 $as_echo_n "checking whether isag script should be installed... " >&6; }
5093 # Check whether --enable-install-isag was given.
5094 if test "${enable_install_isag+set}" = set; then :
5095 enableval=$enable_install_isag; AUX_IIS=$enableval
5100 if test $AUX_IIS != "yes"; then
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_IIS" >&5
5107 $as_echo "$AUX_IIS" >&6; }
5110 # Check whether sa directory should be cleaned
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system activity directory should be cleaned" >&5
5112 $as_echo_n "checking whether system activity directory should be cleaned... " >&6; }
5113 # Check whether --enable-clean-sa-dir was given.
5114 if test "${enable_clean_sa_dir+set}" = set; then :
5115 enableval=$enable_clean_sa_dir; AUX_CSD=$enableval
5120 if test $AUX_CSD != "yes"; then
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CSD" >&5
5127 $as_echo "$AUX_CSD" >&6; }
5131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cron should start sar automatically" >&5
5132 $as_echo_n "checking whether cron should start sar automatically... " >&6; }
5133 # Check whether --enable-install-cron was given.
5134 if test "${enable_install_cron+set}" = set; then :
5135 enableval=$enable_install_cron; INSTALL_CRON=$enableval
5140 if test $INSTALL_CRON != "yes"; then
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CRON" >&5
5148 $as_echo "$AUX_CRON" >&6; }
5153 if test $INSTALL_CRON = "y"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab owner" >&5
5155 $as_echo_n "checking crontab owner... " >&6; }
5157 if test x$cron_owner = x""; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5160 $as_echo "$CRON_OWNER" >&6; }
5162 grep ^$cron_owner: /etc/passwd >/dev/null 2>&1
5163 if test $? = 1; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5166 $as_echo "$CRON_OWNER" >&6; }
5167 echo "WARNING: User ${cron_owner} not found: Using ${CUSR} instead."
5169 CRON_OWNER=$cron_owner
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5171 $as_echo "$CRON_OWNER" >&6; }
5174 echo "INFO: Crontab for ${CRON_OWNER} will be saved in current directory if necessary"
5175 if test $CRON_OWNER = "root"; then
5178 REM_CHOWN="# REM_CHOWN"
5180 SU_C_OWNER="su $CRON_OWNER -c "
5182 # " (ignore this line)
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab interval" >&5
5188 $as_echo_n "checking crontab interval... " >&6; }
5190 if test x$cron_interval = x""; then
5193 CRON_INTERVAL=$cron_interval
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_INTERVAL" >&5
5196 $as_echo "$CRON_INTERVAL" >&6; }
5197 CRON_INTERVAL_SEC=`expr ${CRON_INTERVAL} \* 60`
5198 CRON_COUNT=`expr 60 / ${CRON_INTERVAL}`
5200 # Check whether sadc should collect all possible activities
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sadc should collect all possible activities" >&5
5202 $as_echo_n "checking whether sadc should collect all possible activities... " >&6; }
5203 # Check whether --enable-collect-all was given.
5204 if test "${enable_collect_all+set}" = set; then :
5205 enableval=$enable_collect_all; COLLECT_ALL=$enableval
5210 if test $COLLECT_ALL != "yes"; then
5214 COLLECT_ALL="-S XALL"
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_COLL" >&5
5218 $as_echo "$AUX_COLL" >&6; }
5224 REM_CHOWN="# REM_CHOWN"
5226 CRON_INTERVAL_SEC=600
5239 # Check whether documentation should be installed
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether documentation should be installed" >&5
5241 $as_echo_n "checking whether documentation should be installed... " >&6; }
5242 # Check whether --enable-documentation was given.
5243 if test "${enable_documentation+set}" = set; then :
5244 enableval=$enable_documentation; AUX_DOC=$enableval
5249 if test $AUX_DOC != "no"; then
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_DOC" >&5
5257 $as_echo "$AUX_DOC" >&6; }
5260 # Set directory for installing manual pages (see comment in Makefile)
5263 # Check whether --debuginfo options should be allowed
5264 # Check whether --enable-debuginfo was given.
5265 if test "${enable_debuginfo+set}" = set; then :
5266 enableval=$enable_debuginfo; WITH_DEBUG=yes ; DFLAGS="$DFLAGS -DDEBUG"
5274 # Check whether object files should be stripped
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether object files should be stripped" >&5
5276 $as_echo_n "checking whether object files should be stripped... " >&6; }
5277 # Check whether --enable-stripping was given.
5278 if test "${enable_stripping+set}" = set; then :
5279 enableval=$enable_stripping; AUX_STRIP=$enableval
5284 if test $AUX_STRIP != "no"; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_STRIP" >&5
5292 $as_echo "$AUX_STRIP" >&6; }
5294 # National Language Support
5295 #AC_MSG_CHECKING(National Language Support)
5297 # AC_HELP_STRING([--disable-nls],
5298 # [disable National Language Support]),
5299 # AUX_NLS=$enableval,AUX_NLS=yes)
5300 #if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
5307 #AC_MSG_RESULT($AUX_NLS)
5312 echo Now create files:
5314 ac_config_files="$ac_config_files sa1"
5315 # Permissions must be changed
5316 ac_config_files="$ac_config_files sa2"
5317 # Permissions must be changed
5318 ac_config_files="$ac_config_files cron/crontab:cron/crontab.sample"
5319 # File must be renamed
5320 ac_config_files="$ac_config_files sysstat.sysconfig"
5322 ac_config_files="$ac_config_files version.h:version.in"
5323 # File must be renamed
5324 ac_config_files="$ac_config_files sysconfig.h:sysconfig.in"
5325 # File must be renamed
5326 ac_config_files="$ac_config_files cron/sysstat.cron.daily"
5328 ac_config_files="$ac_config_files cron/sysstat.cron.hourly"
5330 ac_config_files="$ac_config_files cron/sysstat.crond"
5332 ac_config_files="$ac_config_files cron/sysstat.crond.sample.in:cron/sysstat.crond.in"
5334 ac_config_files="$ac_config_files sysstat"
5335 # Permissions must be changed
5336 ac_config_files="$ac_config_files sysstat.service"
5338 ac_config_files="$ac_config_files man/sa1.8:man/sa1.in"
5339 # File must be renamed
5340 ac_config_files="$ac_config_files man/sa2.8:man/sa2.in"
5341 # File must be renamed
5342 ac_config_files="$ac_config_files man/sadc.8:man/sadc.in"
5343 # File must be renamed
5344 ac_config_files="$ac_config_files man/sadf.1:man/sadf.in"
5345 # File must be renamed
5346 ac_config_files="$ac_config_files man/sar.1:man/sar.in"
5347 # File must be renamed
5348 ac_config_files="$ac_config_files man/sysstat.5:man/sysstat.in"
5349 # File must be renamed
5350 ac_config_files="$ac_config_files man/iostat.1:man/iostat.in"
5351 # File must be renamed
5352 ac_config_files="$ac_config_files man/cifsiostat.1:man/cifsiostat.in"
5353 # File must be renamed
5354 ac_config_files="$ac_config_files man/nfsiostat.1:man/nfsiostat.in"
5355 # File must be renamed
5356 ac_config_files="$ac_config_files contrib/isag/isag"
5357 # Permissions must be changed
5359 ac_config_files="$ac_config_files Makefile"
5361 cat >confcache <<\_ACEOF
5362 # This file is a shell script that caches the results of configure
5363 # tests run on this system so they can be shared between configure
5364 # scripts and configure runs, see configure's option --config-cache.
5365 # It is not useful on other systems. If it contains results you don't
5366 # want to keep, you may remove or edit it.
5368 # config.status only pays attention to the cache file if you give it
5369 # the --recheck option to rerun configure.
5371 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5372 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5377 # The following way of writing the cache mishandles newlines in values,
5378 # but we know of no workaround that is simple, portable, and efficient.
5379 # So, we kill variables containing newlines.
5380 # Ultrix sh set writes to stderr and can't be redirected directly,
5381 # and sets the high bit in the cache file unless we assign to the vars.
5383 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5384 eval ac_val=\$$ac_var
5388 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5389 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5392 _ | IFS | as_nl) ;; #(
5393 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5394 *) { eval $ac_var=; unset $ac_var;} ;;
5400 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5401 *${as_nl}ac_space=\ *)
5402 # `set' does not quote correctly, so add quotes: double-quote
5403 # substitution turns \\\\ into \\, and sed turns \\ into \.
5406 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5409 # `set' quotes correctly as required by POSIX, so do not add quotes.
5410 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5419 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5421 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5423 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5424 if test -w "$cache_file"; then
5425 if test "x$cache_file" != "x/dev/null"; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5427 $as_echo "$as_me: updating cache $cache_file" >&6;}
5428 if test ! -f "$cache_file" || test -h "$cache_file"; then
5429 cat confcache >"$cache_file"
5431 case $cache_file in #(
5433 mv -f confcache "$cache_file"$$ &&
5434 mv -f "$cache_file"$$ "$cache_file" ;; #(
5436 mv -f confcache "$cache_file" ;;
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5442 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5447 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5448 # Let make expand exec_prefix.
5449 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5451 # Transform confdefs.h into DEFS.
5452 # Protect against shell expansion while executing Makefile rules.
5453 # Protect against Makefile macro expansion.
5455 # If the first sed substitution is executed (which looks for macros that
5456 # take arguments), then branch to the quote section. Otherwise,
5457 # look for a macro that doesn't take arguments.
5467 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5469 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5473 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5486 DEFS=`sed -n "$ac_script" confdefs.h`
5492 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5493 # 1. Remove the extension, and $U if already installed.
5494 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5495 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5496 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5497 # will be set to the directory where LIBOBJS objects are built.
5498 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5499 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5503 LTLIBOBJS=$ac_ltlibobjs
5507 : "${CONFIG_STATUS=./config.status}"
5509 ac_clean_files_save=$ac_clean_files
5510 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5512 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5514 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5516 # Generated by $as_me.
5517 # Run this file to recreate the current configuration.
5518 # Compiler output produced by configure, useful for debugging
5519 # configure, is in config.log if it exists.
5525 SHELL=\${CONFIG_SHELL-$SHELL}
5528 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5529 ## -------------------- ##
5530 ## M4sh Initialization. ##
5531 ## -------------------- ##
5533 # Be more Bourne compatible
5534 DUALCASE=1; export DUALCASE # for MKS sh
5535 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5538 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5539 # is contrary to our usage. Disable this feature.
5540 alias -g '${1+"$@"}'='"$@"'
5541 setopt NO_GLOB_SUBST
5543 case `(set -o) 2>/dev/null` in #(
5555 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5556 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5557 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5558 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5559 # Prefer a ksh shell builtin over an external printf program on Solaris,
5560 # but without wasting forks for bash or zsh.
5561 if test -z "$BASH_VERSION$ZSH_VERSION" \
5562 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5563 as_echo='print -r --'
5564 as_echo_n='print -rn --'
5565 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5566 as_echo='printf %s\n'
5567 as_echo_n='printf %s'
5569 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5570 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5571 as_echo_n='/usr/ucb/echo -n'
5573 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5574 as_echo_n_body='eval
5578 expr "X$arg" : "X\\(.*\\)$as_nl";
5579 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5581 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5583 export as_echo_n_body
5584 as_echo_n='sh -c $as_echo_n_body as_echo'
5587 as_echo='sh -c $as_echo_body as_echo'
5590 # The user is always right.
5591 if test "${PATH_SEPARATOR+set}" != set; then
5593 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5594 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5601 # We need space, tab and new line, in precisely that order. Quoting is
5602 # there to prevent editors from complaining about space-tab.
5603 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5604 # splitting by setting IFS to empty value.)
5607 # Find who we are. Look in the path if we contain no directory separator.
5610 *[\\/]* ) as_myself=$0 ;;
5611 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 test -z "$as_dir" && as_dir=.
5616 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5622 # We did not find ourselves, most probably we were run as `sh COMMAND'
5623 # in which case we are not to be found in the path.
5624 if test "x$as_myself" = x; then
5627 if test ! -f "$as_myself"; then
5628 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5632 # Unset variables that we do not need and which cause bugs (e.g. in
5633 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5634 # suppresses any "Segmentation fault" message there. '((' could
5635 # trigger a bug in pdksh 5.2.14.
5636 for as_var in BASH_ENV ENV MAIL MAILPATH
5637 do eval test x\${$as_var+set} = xset \
5638 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5651 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5654 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5655 # ----------------------------------------
5656 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5657 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5658 # script with STATUS, using 1 if that was 0.
5661 as_status=$1; test $as_status -eq 0 && as_status=1
5663 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5664 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5666 $as_echo "$as_me: error: $2" >&2
5667 as_fn_exit $as_status
5671 # as_fn_set_status STATUS
5672 # -----------------------
5673 # Set $? to STATUS, without forking.
5677 } # as_fn_set_status
5681 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5691 # Portably unset VAR.
5694 { eval $1=; unset $1;}
5696 as_unset=as_fn_unset
5697 # as_fn_append VAR VALUE
5698 # ----------------------
5699 # Append the text in VALUE to the end of the definition contained in VAR. Take
5700 # advantage of any shell optimizations that allow amortized linear growth over
5701 # repeated appends, instead of the typical quadratic growth present in naive
5703 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5704 eval 'as_fn_append ()
5715 # as_fn_arith ARG...
5716 # ------------------
5717 # Perform arithmetic evaluation on the ARGs, and store the result in the
5718 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5719 # must be portable across $(()) and expr.
5720 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5721 eval 'as_fn_arith ()
5728 as_val=`expr "$@" || test $? -eq 1`
5733 if expr a : '\(a\)' >/dev/null 2>&1 &&
5734 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5740 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5741 as_basename=basename
5746 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5752 as_me=`$as_basename -- "$0" ||
5753 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5754 X"$0" : 'X\(//\)$' \| \
5755 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5757 sed '/^.*\/\([^/][^/]*\)\/*$/{
5771 # Avoid depending upon Character Ranges.
5772 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5773 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5774 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5775 as_cr_digits='0123456789'
5776 as_cr_alnum=$as_cr_Letters$as_cr_digits
5778 ECHO_C= ECHO_N= ECHO_T=
5779 case `echo -n x` in #(((((
5781 case `echo 'xy\c'` in
5782 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5784 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5791 rm -f conf$$ conf$$.exe conf$$.file
5792 if test -d conf$$.dir; then
5793 rm -f conf$$.dir/conf$$.file
5796 mkdir conf$$.dir 2>/dev/null
5798 if (echo >conf$$.file) 2>/dev/null; then
5799 if ln -s conf$$.file conf$$ 2>/dev/null; then
5801 # ... but there are two gotchas:
5802 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5803 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5804 # In both cases, we have to default to `cp -pR'.
5805 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5807 elif ln conf$$.file conf$$ 2>/dev/null; then
5815 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5816 rmdir conf$$.dir 2>/dev/null
5821 # Create "$as_dir" as a directory, including parents if necessary.
5826 -*) as_dir=./$as_dir;;
5828 test -d "$as_dir" || eval $as_mkdir_p || {
5832 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5833 *) as_qdir=$as_dir;;
5835 as_dirs="'$as_qdir' $as_dirs"
5836 as_dir=`$as_dirname -- "$as_dir" ||
5837 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5838 X"$as_dir" : 'X\(//\)[^/]' \| \
5839 X"$as_dir" : 'X\(//\)$' \| \
5840 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5841 $as_echo X"$as_dir" |
5842 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5859 test -d "$as_dir" && break
5861 test -z "$as_dirs" || eval "mkdir $as_dirs"
5862 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5866 if mkdir -p . 2>/dev/null; then
5867 as_mkdir_p='mkdir -p "$as_dir"'
5869 test -d ./-p && rmdir ./-p
5874 # as_fn_executable_p FILE
5875 # -----------------------
5876 # Test if FILE is an executable regular file.
5877 as_fn_executable_p ()
5879 test -f "$1" && test -x "$1"
5880 } # as_fn_executable_p
5882 as_executable_p=as_fn_executable_p
5884 # Sed expression to map a string onto a valid CPP name.
5885 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5887 # Sed expression to map a string onto a valid variable name.
5888 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5892 ## ----------------------------------- ##
5893 ## Main body of $CONFIG_STATUS script. ##
5894 ## ----------------------------------- ##
5896 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5899 # Save the log message, to keep $0 and so on meaningful, and to
5900 # report actual input values of CONFIG_FILES etc. instead of their
5901 # values after options handling.
5903 This file was extended by sysstat $as_me 10.1.4, which was
5904 generated by GNU Autoconf 2.69. Invocation command line was
5906 CONFIG_FILES = $CONFIG_FILES
5907 CONFIG_HEADERS = $CONFIG_HEADERS
5908 CONFIG_LINKS = $CONFIG_LINKS
5909 CONFIG_COMMANDS = $CONFIG_COMMANDS
5912 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5917 case $ac_config_files in *"
5918 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5923 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5924 # Files that config.status was made for.
5925 config_files="$ac_config_files"
5929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5931 \`$as_me' instantiates files and other configuration actions
5932 from templates according to the current configuration. Unless the files
5933 and actions are specified as TAGs, all are instantiated by default.
5935 Usage: $0 [OPTION]... [TAG]...
5937 -h, --help print this help, then exit
5938 -V, --version print version number and configuration settings, then exit
5939 --config print configuration, then exit
5940 -q, --quiet, --silent
5941 do not print progress messages
5942 -d, --debug don't remove temporary files
5943 --recheck update $as_me by reconfiguring in the same conditions
5944 --file=FILE[:TEMPLATE]
5945 instantiate the configuration file FILE
5947 Configuration files:
5950 Report bugs to the package provider."
5953 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5954 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5956 sysstat config.status 10.1.4
5957 configured by $0, generated by GNU Autoconf 2.69,
5958 with options \\"\$ac_cs_config\\"
5960 Copyright (C) 2012 Free Software Foundation, Inc.
5961 This config.status script is free software; the Free Software Foundation
5962 gives unlimited permission to copy, distribute and modify it."
5966 test -n "\$AWK" || AWK=awk
5969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5970 # The default lists apply if the user does not specify any file.
5976 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5977 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5981 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5993 # Handling of the options.
5994 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5996 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5997 $as_echo "$ac_cs_version"; exit ;;
5998 --config | --confi | --conf | --con | --co | --c )
5999 $as_echo "$ac_cs_config"; exit ;;
6000 --debug | --debu | --deb | --de | --d | -d )
6002 --file | --fil | --fi | --f )
6005 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6006 '') as_fn_error $? "missing file argument" ;;
6008 as_fn_append CONFIG_FILES " '$ac_optarg'"
6009 ac_need_defaults=false;;
6010 --he | --h | --help | --hel | -h )
6011 $as_echo "$ac_cs_usage"; exit ;;
6012 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6013 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6017 -*) as_fn_error $? "unrecognized option: \`$1'
6018 Try \`$0 --help' for more information." ;;
6020 *) as_fn_append ac_config_targets " $1"
6021 ac_need_defaults=false ;;
6027 ac_configure_extra_args=
6029 if $ac_cs_silent; then
6031 ac_configure_extra_args="$ac_configure_extra_args --silent"
6035 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6036 if \$ac_cs_recheck; then
6037 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6039 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6040 CONFIG_SHELL='$SHELL'
6046 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6050 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6051 ## Running $as_me. ##
6057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6062 # Handling of arguments.
6063 for ac_config_target in $ac_config_targets
6065 case $ac_config_target in
6066 "sa1") CONFIG_FILES="$CONFIG_FILES sa1" ;;
6067 "sa2") CONFIG_FILES="$CONFIG_FILES sa2" ;;
6068 "cron/crontab") CONFIG_FILES="$CONFIG_FILES cron/crontab:cron/crontab.sample" ;;
6069 "sysstat.sysconfig") CONFIG_FILES="$CONFIG_FILES sysstat.sysconfig" ;;
6070 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:version.in" ;;
6071 "sysconfig.h") CONFIG_FILES="$CONFIG_FILES sysconfig.h:sysconfig.in" ;;
6072 "cron/sysstat.cron.daily") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.daily" ;;
6073 "cron/sysstat.cron.hourly") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.hourly" ;;
6074 "cron/sysstat.crond") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond" ;;
6075 "cron/sysstat.crond.sample.in") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond.sample.in:cron/sysstat.crond.in" ;;
6076 "sysstat") CONFIG_FILES="$CONFIG_FILES sysstat" ;;
6077 "sysstat.service") CONFIG_FILES="$CONFIG_FILES sysstat.service" ;;
6078 "man/sa1.8") CONFIG_FILES="$CONFIG_FILES man/sa1.8:man/sa1.in" ;;
6079 "man/sa2.8") CONFIG_FILES="$CONFIG_FILES man/sa2.8:man/sa2.in" ;;
6080 "man/sadc.8") CONFIG_FILES="$CONFIG_FILES man/sadc.8:man/sadc.in" ;;
6081 "man/sadf.1") CONFIG_FILES="$CONFIG_FILES man/sadf.1:man/sadf.in" ;;
6082 "man/sar.1") CONFIG_FILES="$CONFIG_FILES man/sar.1:man/sar.in" ;;
6083 "man/sysstat.5") CONFIG_FILES="$CONFIG_FILES man/sysstat.5:man/sysstat.in" ;;
6084 "man/iostat.1") CONFIG_FILES="$CONFIG_FILES man/iostat.1:man/iostat.in" ;;
6085 "man/cifsiostat.1") CONFIG_FILES="$CONFIG_FILES man/cifsiostat.1:man/cifsiostat.in" ;;
6086 "man/nfsiostat.1") CONFIG_FILES="$CONFIG_FILES man/nfsiostat.1:man/nfsiostat.in" ;;
6087 "contrib/isag/isag") CONFIG_FILES="$CONFIG_FILES contrib/isag/isag" ;;
6088 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6090 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6095 # If the user did not use the arguments to specify the items to instantiate,
6096 # then the envvar interface is used. Set only those that are not.
6097 # We use the long form for the default assignment because of an extremely
6098 # bizarre bug on SunOS 4.1.3.
6099 if $ac_need_defaults; then
6100 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6103 # Have a temporary directory for convenience. Make it in the build tree
6104 # simply because there is no reason against having it here, and in addition,
6105 # creating and moving files from /tmp can sometimes cause problems.
6106 # Hook for its removal unless debugging.
6107 # Note that there is a small window in which the directory will not be cleaned:
6108 # after its creation but before its name has been assigned to `$tmp'.
6112 trap 'exit_status=$?
6114 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6116 trap 'as_fn_exit 1' 1 2 13 15
6118 # Create a (secure) tmp directory for tmp files.
6121 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6125 tmp=./conf$$-$RANDOM
6126 (umask 077 && mkdir "$tmp")
6127 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6130 # Set up the scripts for CONFIG_FILES section.
6131 # No need to generate them if there are no CONFIG_FILES.
6132 # This happens for instance with `./config.status config.h'.
6133 if test -n "$CONFIG_FILES"; then
6136 ac_cr=`echo X | tr X '\015'`
6137 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6138 # But we know of no other shell where ac_cr would be empty at this
6139 # point, so we can use a bashism as a fallback.
6140 if test "x$ac_cr" = x; then
6141 eval ac_cr=\$\'\\r\'
6143 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6144 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6150 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6155 echo "cat >conf$$subs.awk <<_ACEOF" &&
6156 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6159 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6160 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6162 for ac_last_try in false false false false false :; do
6163 . ./conf$$subs.sh ||
6164 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6166 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6167 if test $ac_delim_n = $ac_delim_num; then
6169 elif $ac_last_try; then
6170 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6172 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6178 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6182 s/^/S["/; s/!.*/"]=/
6192 s/\(.\{148\}\)..*/\1/
6194 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6199 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6206 s/\(.\{148\}\)..*/\1/
6208 s/["\\]/\\&/g; s/^/"/; s/$/"/
6212 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6217 ' <conf$$subs.awk | sed '
6222 ' >>$CONFIG_STATUS || ac_write_fail=1
6223 rm -f conf$$subs.awk
6224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6226 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6227 for (key in S) S_is_set[key] = 1
6233 nfields = split(line, field, "@")
6235 len = length(field[1])
6236 for (i = 2; i < nfields; i++) {
6238 keylen = length(key)
6239 if (S_is_set[key]) {
6241 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6242 len += length(value) + length(field[++i])
6253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6254 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6255 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6258 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6259 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6262 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6263 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6264 # trailing colons and then remove the whole line if VPATH becomes empty
6265 # (actually we leave an empty line to preserve line numbers).
6266 if test "x$srcdir" = x.; then
6267 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6286 fi # test -n "$CONFIG_FILES"
6289 eval set X " :F $CONFIG_FILES "
6294 :[FHLC]) ac_mode=$ac_tag; continue;;
6296 case $ac_mode$ac_tag in
6298 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6299 :[FH]-) ac_tag=-:-;;
6300 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6317 -) ac_f="$ac_tmp/stdin";;
6318 *) # Look for the file first in the build tree, then in the source tree
6319 # (if the path is not absolute). The absolute path cannot be DOS-style,
6320 # because $ac_f cannot contain `:'.
6324 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6326 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6328 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6329 as_fn_append ac_file_inputs " '$ac_f'"
6332 # Let's still pretend it is `configure' which instantiates (i.e., don't
6333 # use $as_me), people would be surprised to read:
6334 # /* config.h. Generated by config.status. */
6335 configure_input='Generated from '`
6336 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6338 if test x"$ac_file" != x-; then
6339 configure_input="$ac_file. $configure_input"
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6341 $as_echo "$as_me: creating $ac_file" >&6;}
6343 # Neutralize special characters interpreted by sed in replacement strings.
6344 case $configure_input in #(
6345 *\&* | *\|* | *\\* )
6346 ac_sed_conf_input=`$as_echo "$configure_input" |
6347 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6348 *) ac_sed_conf_input=$configure_input;;
6352 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6353 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6358 ac_dir=`$as_dirname -- "$ac_file" ||
6359 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6360 X"$ac_file" : 'X\(//\)[^/]' \| \
6361 X"$ac_file" : 'X\(//\)$' \| \
6362 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6363 $as_echo X"$ac_file" |
6364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6381 as_dir="$ac_dir"; as_fn_mkdir_p
6385 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6387 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6388 # A ".." for each directory in $ac_dir_suffix.
6389 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6390 case $ac_top_builddir_sub in
6391 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6392 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6395 ac_abs_top_builddir=$ac_pwd
6396 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6397 # for backward compatibility:
6398 ac_top_builddir=$ac_top_build_prefix
6401 .) # We are building in place.
6403 ac_top_srcdir=$ac_top_builddir_sub
6404 ac_abs_top_srcdir=$ac_pwd ;;
6405 [\\/]* | ?:[\\/]* ) # Absolute name.
6406 ac_srcdir=$srcdir$ac_dir_suffix;
6407 ac_top_srcdir=$srcdir
6408 ac_abs_top_srcdir=$srcdir ;;
6410 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6411 ac_top_srcdir=$ac_top_build_prefix$srcdir
6412 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6414 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6425 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6426 # If the template does not know about datarootdir, expand it.
6427 # FIXME: This hack should be removed a few years after 2.60.
6428 ac_datarootdir_hack=; ac_datarootdir_seen=
6439 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6440 *datarootdir*) ac_datarootdir_seen=yes;;
6441 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6443 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6445 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6446 ac_datarootdir_hack='
6447 s&@datadir@&$datadir&g
6448 s&@docdir@&$docdir&g
6449 s&@infodir@&$infodir&g
6450 s&@localedir@&$localedir&g
6451 s&@mandir@&$mandir&g
6452 s&\\\${datarootdir}&$datarootdir&g' ;;
6456 # Neutralize VPATH when `$srcdir' = `.'.
6457 # Shell code in configure.ac might set extrasub.
6458 # FIXME: do we really want to maintain this feature?
6459 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6460 ac_sed_extra="$ac_vpsub
6463 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6465 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6466 s|@configure_input@|$ac_sed_conf_input|;t t
6467 s&@top_builddir@&$ac_top_builddir_sub&;t t
6468 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6469 s&@srcdir@&$ac_srcdir&;t t
6470 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6471 s&@top_srcdir@&$ac_top_srcdir&;t t
6472 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6473 s&@builddir@&$ac_builddir&;t t
6474 s&@abs_builddir@&$ac_abs_builddir&;t t
6475 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6476 $ac_datarootdir_hack
6478 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6479 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6481 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6482 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6483 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6484 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6486 which seems to be undefined. Please make sure it is defined" >&5
6487 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6488 which seems to be undefined. Please make sure it is defined" >&2;}
6490 rm -f "$ac_tmp/stdin"
6492 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6493 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6495 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6503 case $ac_file$ac_mode in
6504 "sa1":F) chmod +x sa1 ;;
6505 "sa2":F) chmod +x sa2 ;;
6506 "cron/sysstat.crond.sample.in":F) sed s/^/#/ cron/sysstat.crond.sample.in > cron/sysstat.crond.sample ;;
6507 "sysstat":F) chmod +x sysstat ;;
6508 "contrib/isag/isag":F) chmod +x contrib/isag/isag ;;
6516 ac_clean_files=$ac_clean_files_save
6518 test $ac_write_fail = 0 ||
6519 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6522 # configure is writing to config.log, and then calls config.status.
6523 # config.status does its own redirection, appending to config.log.
6524 # Unfortunately, on DOS this fails, as config.log is still kept open
6525 # by configure, so config.status won't be able to write to it; its
6526 # output is simply discarded. So we exec the FD to /dev/null,
6527 # effectively closing config.log, so it can be properly (re)opened and
6528 # appended to by config.status. When coming back to configure, we
6529 # need to make the FD available again.
6530 if test "$no_create" != yes; then
6532 ac_config_status_args=
6533 test "$silent" = yes &&
6534 ac_config_status_args="$ac_config_status_args --quiet"
6536 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6538 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6539 # would make configure fail if this is the last instruction.
6540 $ac_cs_success || as_fn_exit 1
6542 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6544 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6549 Sysstat version: $PACKAGE_VERSION
6550 Installation prefix: $prefix
6551 rc directory: ${RC_DIR}
6552 Init directory: ${INIT_DIR}
6553 Systemd unit dir: ${with_systemdsystemunitdir}
6554 Configuration directory: ${SYSCONFIG_DIR}
6555 Man pages directory: $mandir
6557 Compiler flags: $CFLAGS