2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sysstat 10.1.6.
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.6'
581 PACKAGE_STRING='sysstat 10.1.6'
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
717 program_transform_name
730 enable_option_checking
731 with_systemdsystemunitdir
737 enable_compress_manpg
746 ac_precious_vars='build_alias
766 # Initialize some variables set by options.
768 ac_init_version=false
769 ac_unrecognized_opts=
771 # The variables have the same names as the options, with
772 # dashes changed to underlines.
780 program_transform_name=s,x,x,
788 # Installation directory options.
789 # These are left unexpanded so users can "make install exec_prefix=/foo"
790 # and all the variables that are supposed to be based on exec_prefix
791 # by default will actually change.
792 # Use braces instead of parens because sh, perl, etc. also accept them.
793 # (The list follows the same order as the GNU Coding Standards.)
794 bindir='${exec_prefix}/bin'
795 sbindir='${exec_prefix}/sbin'
796 libexecdir='${exec_prefix}/libexec'
797 datarootdir='${prefix}/share'
798 datadir='${datarootdir}'
799 sysconfdir='${prefix}/etc'
800 sharedstatedir='${prefix}/com'
801 localstatedir='${prefix}/var'
802 includedir='${prefix}/include'
803 oldincludedir='/usr/include'
804 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
805 infodir='${datarootdir}/info'
810 libdir='${exec_prefix}/lib'
811 localedir='${datarootdir}/locale'
812 mandir='${datarootdir}/man'
818 # If the previous option needs an argument, assign it.
819 if test -n "$ac_prev"; then
820 eval $ac_prev=\$ac_option
826 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
831 # Accept the important Cygnus configure options, so we can diagnose typos.
833 case $ac_dashdash$ac_option in
837 -bindir | --bindir | --bindi | --bind | --bin | --bi)
839 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
842 -build | --build | --buil | --bui | --bu)
843 ac_prev=build_alias ;;
844 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
845 build_alias=$ac_optarg ;;
847 -cache-file | --cache-file | --cache-fil | --cache-fi \
848 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
849 ac_prev=cache_file ;;
850 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
851 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
852 cache_file=$ac_optarg ;;
855 cache_file=config.cache ;;
857 -datadir | --datadir | --datadi | --datad)
859 -datadir=* | --datadir=* | --datadi=* | --datad=*)
860 datadir=$ac_optarg ;;
862 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
863 | --dataroo | --dataro | --datar)
864 ac_prev=datarootdir ;;
865 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
866 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
867 datarootdir=$ac_optarg ;;
869 -disable-* | --disable-*)
870 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
871 # Reject names that are not valid shell variable names.
872 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
873 as_fn_error $? "invalid feature name: $ac_useropt"
874 ac_useropt_orig=$ac_useropt
875 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
876 case $ac_user_opts in
880 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
881 ac_unrecognized_sep=', ';;
883 eval enable_$ac_useropt=no ;;
885 -docdir | --docdir | --docdi | --doc | --do)
887 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
890 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
892 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
895 -enable-* | --enable-*)
896 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
897 # Reject names that are not valid shell variable names.
898 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
899 as_fn_error $? "invalid feature name: $ac_useropt"
900 ac_useropt_orig=$ac_useropt
901 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
902 case $ac_user_opts in
906 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
907 ac_unrecognized_sep=', ';;
909 eval enable_$ac_useropt=\$ac_optarg ;;
911 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
912 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
913 | --exec | --exe | --ex)
914 ac_prev=exec_prefix ;;
915 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
916 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
917 | --exec=* | --exe=* | --ex=*)
918 exec_prefix=$ac_optarg ;;
920 -gas | --gas | --ga | --g)
921 # Obsolete; use --with-gas.
924 -help | --help | --hel | --he | -h)
926 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
927 ac_init_help=recursive ;;
928 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
929 ac_init_help=short ;;
931 -host | --host | --hos | --ho)
932 ac_prev=host_alias ;;
933 -host=* | --host=* | --hos=* | --ho=*)
934 host_alias=$ac_optarg ;;
936 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
938 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
940 htmldir=$ac_optarg ;;
942 -includedir | --includedir | --includedi | --included | --include \
943 | --includ | --inclu | --incl | --inc)
944 ac_prev=includedir ;;
945 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
946 | --includ=* | --inclu=* | --incl=* | --inc=*)
947 includedir=$ac_optarg ;;
949 -infodir | --infodir | --infodi | --infod | --info | --inf)
951 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
952 infodir=$ac_optarg ;;
954 -libdir | --libdir | --libdi | --libd)
956 -libdir=* | --libdir=* | --libdi=* | --libd=*)
959 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
960 | --libexe | --libex | --libe)
961 ac_prev=libexecdir ;;
962 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
963 | --libexe=* | --libex=* | --libe=*)
964 libexecdir=$ac_optarg ;;
966 -localedir | --localedir | --localedi | --localed | --locale)
968 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
969 localedir=$ac_optarg ;;
971 -localstatedir | --localstatedir | --localstatedi | --localstated \
972 | --localstate | --localstat | --localsta | --localst | --locals)
973 ac_prev=localstatedir ;;
974 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
975 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
976 localstatedir=$ac_optarg ;;
978 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
980 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
984 # Obsolete; use --without-fp.
987 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
988 | --no-cr | --no-c | -n)
991 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
992 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
995 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
996 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
997 | --oldin | --oldi | --old | --ol | --o)
998 ac_prev=oldincludedir ;;
999 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1000 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1001 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1002 oldincludedir=$ac_optarg ;;
1004 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1006 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1007 prefix=$ac_optarg ;;
1009 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1010 | --program-pre | --program-pr | --program-p)
1011 ac_prev=program_prefix ;;
1012 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1013 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1014 program_prefix=$ac_optarg ;;
1016 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1017 | --program-suf | --program-su | --program-s)
1018 ac_prev=program_suffix ;;
1019 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1020 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1021 program_suffix=$ac_optarg ;;
1023 -program-transform-name | --program-transform-name \
1024 | --program-transform-nam | --program-transform-na \
1025 | --program-transform-n | --program-transform- \
1026 | --program-transform | --program-transfor \
1027 | --program-transfo | --program-transf \
1028 | --program-trans | --program-tran \
1029 | --progr-tra | --program-tr | --program-t)
1030 ac_prev=program_transform_name ;;
1031 -program-transform-name=* | --program-transform-name=* \
1032 | --program-transform-nam=* | --program-transform-na=* \
1033 | --program-transform-n=* | --program-transform-=* \
1034 | --program-transform=* | --program-transfor=* \
1035 | --program-transfo=* | --program-transf=* \
1036 | --program-trans=* | --program-tran=* \
1037 | --progr-tra=* | --program-tr=* | --program-t=*)
1038 program_transform_name=$ac_optarg ;;
1040 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1042 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1043 pdfdir=$ac_optarg ;;
1045 -psdir | --psdir | --psdi | --psd | --ps)
1047 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1050 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1051 | -silent | --silent | --silen | --sile | --sil)
1054 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1056 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1058 sbindir=$ac_optarg ;;
1060 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1061 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1062 | --sharedst | --shareds | --shared | --share | --shar \
1064 ac_prev=sharedstatedir ;;
1065 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1066 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1067 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1069 sharedstatedir=$ac_optarg ;;
1071 -site | --site | --sit)
1073 -site=* | --site=* | --sit=*)
1076 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1078 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1079 srcdir=$ac_optarg ;;
1081 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1082 | --syscon | --sysco | --sysc | --sys | --sy)
1083 ac_prev=sysconfdir ;;
1084 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1085 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1086 sysconfdir=$ac_optarg ;;
1088 -target | --target | --targe | --targ | --tar | --ta | --t)
1089 ac_prev=target_alias ;;
1090 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1091 target_alias=$ac_optarg ;;
1093 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1096 -version | --version | --versio | --versi | --vers | -V)
1097 ac_init_version=: ;;
1100 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1101 # Reject names that are not valid shell variable names.
1102 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1103 as_fn_error $? "invalid package name: $ac_useropt"
1104 ac_useropt_orig=$ac_useropt
1105 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1106 case $ac_user_opts in
1110 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1111 ac_unrecognized_sep=', ';;
1113 eval with_$ac_useropt=\$ac_optarg ;;
1115 -without-* | --without-*)
1116 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1117 # Reject names that are not valid shell variable names.
1118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1119 as_fn_error $? "invalid package name: $ac_useropt"
1120 ac_useropt_orig=$ac_useropt
1121 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1122 case $ac_user_opts in
1126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1127 ac_unrecognized_sep=', ';;
1129 eval with_$ac_useropt=no ;;
1132 # Obsolete; use --with-x.
1135 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1136 | --x-incl | --x-inc | --x-in | --x-i)
1137 ac_prev=x_includes ;;
1138 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1139 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1140 x_includes=$ac_optarg ;;
1142 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1143 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1144 ac_prev=x_libraries ;;
1145 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1146 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1147 x_libraries=$ac_optarg ;;
1149 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1150 Try \`$0 --help' for more information"
1154 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1155 # Reject names that are not valid shell variable names.
1156 case $ac_envvar in #(
1157 '' | [0-9]* | *[!_$as_cr_alnum]* )
1158 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1160 eval $ac_envvar=\$ac_optarg
1161 export $ac_envvar ;;
1164 # FIXME: should be removed in autoconf 3.0.
1165 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1166 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1167 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1168 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1174 if test -n "$ac_prev"; then
1175 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1176 as_fn_error $? "missing argument to $ac_option"
1179 if test -n "$ac_unrecognized_opts"; then
1180 case $enable_option_checking in
1182 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1183 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1187 # Check all directory arguments for consistency.
1188 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1189 datadir sysconfdir sharedstatedir localstatedir includedir \
1190 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1191 libdir localedir mandir
1193 eval ac_val=\$$ac_var
1194 # Remove trailing slashes.
1197 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1198 eval $ac_var=\$ac_val;;
1200 # Be sure to have absolute directory names.
1202 [\\/$]* | ?:[\\/]* ) continue;;
1203 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1205 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1208 # There might be people who depend on the old broken behavior: `$host'
1209 # used to hold the argument of --host etc.
1210 # FIXME: To remove some day.
1213 target=$target_alias
1215 # FIXME: To remove some day.
1216 if test "x$host_alias" != x; then
1217 if test "x$build_alias" = x; then
1218 cross_compiling=maybe
1219 elif test "x$build_alias" != "x$host_alias"; then
1225 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1227 test "$silent" = yes && exec 6>/dev/null
1230 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1231 ac_ls_di=`ls -di .` &&
1232 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1233 as_fn_error $? "working directory cannot be determined"
1234 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1235 as_fn_error $? "pwd does not report name of working directory"
1238 # Find the source files, if location was not specified.
1239 if test -z "$srcdir"; then
1240 ac_srcdir_defaulted=yes
1241 # Try the directory containing this script, then the parent directory.
1242 ac_confdir=`$as_dirname -- "$as_myself" ||
1243 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1244 X"$as_myself" : 'X\(//\)[^/]' \| \
1245 X"$as_myself" : 'X\(//\)$' \| \
1246 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1247 $as_echo X"$as_myself" |
1248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1266 if test ! -r "$srcdir/$ac_unique_file"; then
1270 ac_srcdir_defaulted=no
1272 if test ! -r "$srcdir/$ac_unique_file"; then
1273 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1274 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1276 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1278 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1280 # When building in place, set srcdir=.
1281 if test "$ac_abs_confdir" = "$ac_pwd"; then
1284 # Remove unnecessary trailing slashes from srcdir.
1285 # Double slashes in file names in object file debugging info
1286 # mess up M-x gdb in Emacs.
1288 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1290 for ac_var in $ac_precious_vars; do
1291 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1292 eval ac_env_${ac_var}_value=\$${ac_var}
1293 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1294 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1298 # Report the --help message.
1300 if test "$ac_init_help" = "long"; then
1301 # Omit some internal or obsolete options to make the list less imposing.
1302 # This message is too long to be a string in the A/UX 3.1 sh.
1304 \`configure' configures sysstat 10.1.6 to adapt to many kinds of systems.
1306 Usage: $0 [OPTION]... [VAR=VALUE]...
1308 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1309 VAR=VALUE. See below for descriptions of some of the useful variables.
1311 Defaults for the options are specified in brackets.
1314 -h, --help display this help and exit
1315 --help=short display options specific to this package
1316 --help=recursive display the short help of all the included packages
1317 -V, --version display version information and exit
1318 -q, --quiet, --silent do not print \`checking ...' messages
1319 --cache-file=FILE cache test results in FILE [disabled]
1320 -C, --config-cache alias for \`--cache-file=config.cache'
1321 -n, --no-create do not create output files
1322 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1324 Installation directories:
1325 --prefix=PREFIX install architecture-independent files in PREFIX
1326 [$ac_default_prefix]
1327 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1330 By default, \`make install' will install all the files in
1331 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1332 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1333 for instance \`--prefix=\$HOME'.
1335 For better control, use the options below.
1337 Fine tuning of the installation directories:
1338 --bindir=DIR user executables [EPREFIX/bin]
1339 --sbindir=DIR system admin executables [EPREFIX/sbin]
1340 --libexecdir=DIR program executables [EPREFIX/libexec]
1341 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1342 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1343 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1344 --libdir=DIR object code libraries [EPREFIX/lib]
1345 --includedir=DIR C header files [PREFIX/include]
1346 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1347 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1348 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1349 --infodir=DIR info documentation [DATAROOTDIR/info]
1350 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1351 --mandir=DIR man documentation [DATAROOTDIR/man]
1352 --docdir=DIR documentation root [DATAROOTDIR/doc/sysstat]
1353 --htmldir=DIR html documentation [DOCDIR]
1354 --dvidir=DIR dvi documentation [DOCDIR]
1355 --pdfdir=DIR pdf documentation [DOCDIR]
1356 --psdir=DIR ps documentation [DOCDIR]
1363 if test -n "$ac_init_help"; then
1364 case $ac_init_help in
1365 short | recursive ) echo "Configuration of sysstat 10.1.6:";;
1370 --disable-option-checking ignore unrecognized --enable/--with options
1371 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1372 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1373 --disable-sensors disable sensors support
1374 --disable-largefile omit support for large files
1375 --disable-nls disable National Language Support
1376 --enable-yesterday tell sa2 to use data file of the day before
1377 --disable-man-group ignore man_group variable value
1378 --enable-compress-manpg compress sysstat manual pages
1379 --enable-install-isag install isag script
1380 --enable-clean-sa-dir clean system activity directory
1381 --enable-install-cron install a crontab to start sar
1382 --enable-collect-all collect all possible activities
1383 --disable-documentation do not install documentation
1384 --enable-debuginfo enable debug output (--debuginfo option)
1385 --disable-stripping do not strip object files
1388 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1389 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1390 --with-systemdsystemunitdir=DIR
1391 Directory for systemd service files
1393 Some influential environment variables:
1394 CC C compiler command
1395 CFLAGS C compiler flags
1396 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1397 nonstandard directory <lib dir>
1398 LIBS libraries to pass to the linker, e.g. -l<library>
1399 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1400 you have headers in a nonstandard directory <include dir>
1402 rcdir run-commands directory
1403 sa_lib_dir sadc directory
1404 sa_dir system activity directory
1405 conf_dir sysstat configuration directory
1406 history number of daily data files to keep (default value is 7)
1408 number of days after which data files are compressed (default
1410 man_group group for manual pages
1411 cron_owner crontab owner
1415 Use these variables to override the choices made by `configure' or to help
1416 it to find libraries and programs with nonstandard names/locations.
1418 Report bugs to the package provider.
1423 if test "$ac_init_help" = "recursive"; then
1424 # If there are subdirs, report their specific --help.
1425 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1426 test -d "$ac_dir" ||
1427 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1432 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1434 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1435 # A ".." for each directory in $ac_dir_suffix.
1436 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1437 case $ac_top_builddir_sub in
1438 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1439 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1442 ac_abs_top_builddir=$ac_pwd
1443 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1444 # for backward compatibility:
1445 ac_top_builddir=$ac_top_build_prefix
1448 .) # We are building in place.
1450 ac_top_srcdir=$ac_top_builddir_sub
1451 ac_abs_top_srcdir=$ac_pwd ;;
1452 [\\/]* | ?:[\\/]* ) # Absolute name.
1453 ac_srcdir=$srcdir$ac_dir_suffix;
1454 ac_top_srcdir=$srcdir
1455 ac_abs_top_srcdir=$srcdir ;;
1457 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1458 ac_top_srcdir=$ac_top_build_prefix$srcdir
1459 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1461 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1463 cd "$ac_dir" || { ac_status=$?; continue; }
1464 # Check for guested configure.
1465 if test -f "$ac_srcdir/configure.gnu"; then
1467 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1468 elif test -f "$ac_srcdir/configure"; then
1470 $SHELL "$ac_srcdir/configure" --help=recursive
1472 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1474 cd "$ac_pwd" || { ac_status=$?; break; }
1478 test -n "$ac_init_help" && exit $ac_status
1479 if $ac_init_version; then
1481 sysstat configure 10.1.6
1482 generated by GNU Autoconf 2.69
1484 Copyright (C) 2012 Free Software Foundation, Inc.
1485 This configure script is free software; the Free Software Foundation
1486 gives unlimited permission to copy, distribute and modify it.
1491 ## ------------------------ ##
1492 ## Autoconf initialization. ##
1493 ## ------------------------ ##
1495 # ac_fn_c_try_compile LINENO
1496 # --------------------------
1497 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1498 ac_fn_c_try_compile ()
1500 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1501 rm -f conftest.$ac_objext
1502 if { { ac_try="$ac_compile"
1504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1505 *) ac_try_echo=$ac_try;;
1507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1508 $as_echo "$ac_try_echo"; } >&5
1509 (eval "$ac_compile") 2>conftest.err
1511 if test -s conftest.err; then
1512 grep -v '^ *+' conftest.err >conftest.er1
1513 cat conftest.er1 >&5
1514 mv -f conftest.er1 conftest.err
1516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1517 test $ac_status = 0; } && {
1518 test -z "$ac_c_werror_flag" ||
1519 test ! -s conftest.err
1520 } && test -s conftest.$ac_objext; then :
1523 $as_echo "$as_me: failed program was:" >&5
1524 sed 's/^/| /' conftest.$ac_ext >&5
1528 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1529 as_fn_set_status $ac_retval
1531 } # ac_fn_c_try_compile
1533 # ac_fn_c_try_cpp LINENO
1534 # ----------------------
1535 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1538 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1539 if { { ac_try="$ac_cpp conftest.$ac_ext"
1541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1542 *) ac_try_echo=$ac_try;;
1544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545 $as_echo "$ac_try_echo"; } >&5
1546 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1548 if test -s conftest.err; then
1549 grep -v '^ *+' conftest.err >conftest.er1
1550 cat conftest.er1 >&5
1551 mv -f conftest.er1 conftest.err
1553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1554 test $ac_status = 0; } > conftest.i && {
1555 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1556 test ! -s conftest.err
1560 $as_echo "$as_me: failed program was:" >&5
1561 sed 's/^/| /' conftest.$ac_ext >&5
1565 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1566 as_fn_set_status $ac_retval
1570 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1571 # -------------------------------------------------------
1572 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1573 # the include files in INCLUDES and setting the cache variable VAR
1575 ac_fn_c_check_header_mongrel ()
1577 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1578 if eval \${$3+:} false; then :
1579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1580 $as_echo_n "checking for $2... " >&6; }
1581 if eval \${$3+:} false; then :
1582 $as_echo_n "(cached) " >&6
1585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1586 $as_echo "$ac_res" >&6; }
1588 # Is the header compilable?
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1590 $as_echo_n "checking $2 usability... " >&6; }
1591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1592 /* end confdefs.h. */
1596 if ac_fn_c_try_compile "$LINENO"; then :
1597 ac_header_compiler=yes
1599 ac_header_compiler=no
1601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1603 $as_echo "$ac_header_compiler" >&6; }
1605 # Is the header present?
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1607 $as_echo_n "checking $2 presence... " >&6; }
1608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1609 /* end confdefs.h. */
1612 if ac_fn_c_try_cpp "$LINENO"; then :
1613 ac_header_preproc=yes
1615 ac_header_preproc=no
1617 rm -f conftest.err conftest.i conftest.$ac_ext
1618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1619 $as_echo "$ac_header_preproc" >&6; }
1621 # So? What about this header?
1622 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1625 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1627 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1631 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1633 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1635 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1637 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1639 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1643 $as_echo_n "checking for $2... " >&6; }
1644 if eval \${$3+:} false; then :
1645 $as_echo_n "(cached) " >&6
1647 eval "$3=\$ac_header_compiler"
1650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1651 $as_echo "$ac_res" >&6; }
1653 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655 } # ac_fn_c_check_header_mongrel
1657 # ac_fn_c_try_run LINENO
1658 # ----------------------
1659 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1660 # that executables *can* be run.
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664 if { { ac_try="$ac_link"
1666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1667 *) ac_try_echo=$ac_try;;
1669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1670 $as_echo "$ac_try_echo"; } >&5
1671 (eval "$ac_link") 2>&5
1673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1674 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1675 { { case "(($ac_try" in
1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_try") 2>&5
1683 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1684 test $ac_status = 0; }; }; then :
1687 $as_echo "$as_me: program exited with status $ac_status" >&5
1688 $as_echo "$as_me: failed program was:" >&5
1689 sed 's/^/| /' conftest.$ac_ext >&5
1691 ac_retval=$ac_status
1693 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1694 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1695 as_fn_set_status $ac_retval
1699 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1700 # -------------------------------------------------------
1701 # Tests whether HEADER exists and can be compiled using the include files in
1702 # INCLUDES, setting the cache variable VAR accordingly.
1703 ac_fn_c_check_header_compile ()
1705 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1707 $as_echo_n "checking for $2... " >&6; }
1708 if eval \${$3+:} false; then :
1709 $as_echo_n "(cached) " >&6
1711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1712 /* end confdefs.h. */
1716 if ac_fn_c_try_compile "$LINENO"; then :
1721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1725 $as_echo "$ac_res" >&6; }
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 } # ac_fn_c_check_header_compile
1730 # ac_fn_c_try_link LINENO
1731 # -----------------------
1732 # Try to link conftest.$ac_ext, and return whether this succeeded.
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 rm -f conftest.$ac_objext conftest$ac_exeext
1737 if { { ac_try="$ac_link"
1739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740 *) ac_try_echo=$ac_try;;
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_link") 2>conftest.err
1746 if test -s conftest.err; then
1747 grep -v '^ *+' conftest.err >conftest.er1
1748 cat conftest.er1 >&5
1749 mv -f conftest.er1 conftest.err
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } && {
1753 test -z "$ac_c_werror_flag" ||
1754 test ! -s conftest.err
1755 } && test -s conftest$ac_exeext && {
1756 test "$cross_compiling" = yes ||
1757 test -x conftest$ac_exeext
1761 $as_echo "$as_me: failed program was:" >&5
1762 sed 's/^/| /' conftest.$ac_ext >&5
1766 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1767 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1768 # interfere with the next link command; also delete a directory that is
1769 # left behind by Apple's compiler. We do this before executing the actions.
1770 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1771 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772 as_fn_set_status $ac_retval
1774 } # ac_fn_c_try_link
1776 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1777 # -------------------------------------------
1778 # Tests whether TYPE exists after having included INCLUDES, setting cache
1779 # variable VAR accordingly.
1780 ac_fn_c_check_type ()
1782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1784 $as_echo_n "checking for $2... " >&6; }
1785 if eval \${$3+:} false; then :
1786 $as_echo_n "(cached) " >&6
1789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1801 if ac_fn_c_try_compile "$LINENO"; then :
1802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803 /* end confdefs.h. */
1814 if ac_fn_c_try_compile "$LINENO"; then :
1819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1825 $as_echo "$ac_res" >&6; }
1826 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1828 } # ac_fn_c_check_type
1830 # ac_fn_c_check_func LINENO FUNC VAR
1831 # ----------------------------------
1832 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1833 ac_fn_c_check_func ()
1835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1837 $as_echo_n "checking for $2... " >&6; }
1838 if eval \${$3+:} false; then :
1839 $as_echo_n "(cached) " >&6
1841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1842 /* end confdefs.h. */
1843 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1845 #define $2 innocuous_$2
1847 /* System header to define __stub macros and hopefully few prototypes,
1848 which can conflict with char $2 (); below.
1849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1850 <limits.h> exists even on freestanding compilers. */
1853 # include <limits.h>
1855 # include <assert.h>
1860 /* Override any GCC internal prototype to avoid an error.
1861 Use char because int might match the return type of a GCC
1862 builtin and then its argument prototype would still apply. */
1867 /* The GNU C library defines this for functions which it implements
1868 to always fail with ENOSYS. Some functions are actually named
1869 something starting with __ and the normal name is an alias. */
1870 #if defined __stub_$2 || defined __stub___$2
1882 if ac_fn_c_try_link "$LINENO"; then :
1887 rm -f core conftest.err conftest.$ac_objext \
1888 conftest$ac_exeext conftest.$ac_ext
1891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1892 $as_echo "$ac_res" >&6; }
1893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1895 } # ac_fn_c_check_func
1896 cat >config.log <<_ACEOF
1897 This file contains any messages produced by compilers while
1898 running configure, to aid debugging if configure makes a mistake.
1900 It was created by sysstat $as_me 10.1.6, which was
1901 generated by GNU Autoconf 2.69. Invocation command line was
1913 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1914 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1915 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1916 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1917 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1919 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1920 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1922 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1923 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1924 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1925 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1926 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1927 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1928 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1936 test -z "$as_dir" && as_dir=.
1937 $as_echo "PATH: $as_dir"
1953 # Keep a trace of the command line.
1954 # Strip out --no-create and --no-recursion so they do not pile up.
1955 # Strip out --silent because we don't want to record it for future runs.
1956 # Also quote any args containing shell meta-characters.
1957 # Make two passes to allow for proper duplicate-argument suppression.
1961 ac_must_keep_next=false
1967 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1968 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1969 | -silent | --silent | --silen | --sile | --sil)
1972 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1975 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1977 as_fn_append ac_configure_args1 " '$ac_arg'"
1978 if test $ac_must_keep_next = true; then
1979 ac_must_keep_next=false # Got value, back to normal.
1982 *=* | --config-cache | -C | -disable-* | --disable-* \
1983 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1984 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1985 | -with-* | --with-* | -without-* | --without-* | --x)
1986 case "$ac_configure_args0 " in
1987 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1990 -* ) ac_must_keep_next=true ;;
1993 as_fn_append ac_configure_args " '$ac_arg'"
1998 { ac_configure_args0=; unset ac_configure_args0;}
1999 { ac_configure_args1=; unset ac_configure_args1;}
2001 # When interrupted or exit'd, cleanup temporary files, and complete
2002 # config.log. We remove comments because anyway the quotes in there
2003 # would cause problems or look ugly.
2004 # WARNING: Use '\'' to represent an apostrophe within the trap.
2005 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2006 trap 'exit_status=$?
2007 # Save into config.log some information that might help in debugging.
2011 $as_echo "## ---------------- ##
2012 ## Cache variables. ##
2013 ## ---------------- ##"
2015 # The following way of writing the cache mishandles newlines in values,
2017 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2018 eval ac_val=\$$ac_var
2022 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2023 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2026 _ | IFS | as_nl) ;; #(
2027 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2028 *) { eval $ac_var=; unset $ac_var;} ;;
2033 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2034 *${as_nl}ac_space=\ *)
2036 "s/'\''/'\''\\\\'\'''\''/g;
2037 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2040 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2047 $as_echo "## ----------------- ##
2048 ## Output variables. ##
2049 ## ----------------- ##"
2051 for ac_var in $ac_subst_vars
2053 eval ac_val=\$$ac_var
2055 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2057 $as_echo "$ac_var='\''$ac_val'\''"
2061 if test -n "$ac_subst_files"; then
2062 $as_echo "## ------------------- ##
2063 ## File substitutions. ##
2064 ## ------------------- ##"
2066 for ac_var in $ac_subst_files
2068 eval ac_val=\$$ac_var
2070 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2072 $as_echo "$ac_var='\''$ac_val'\''"
2077 if test -s confdefs.h; then
2078 $as_echo "## ----------- ##
2085 test "$ac_signal" != 0 &&
2086 $as_echo "$as_me: caught signal $ac_signal"
2087 $as_echo "$as_me: exit $exit_status"
2089 rm -f core *.core core.conftest.* &&
2090 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2093 for ac_signal in 1 2 13 15; do
2094 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2098 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2099 rm -f -r conftest* confdefs.h
2101 $as_echo "/* confdefs.h */" > confdefs.h
2103 # Predefined preprocessor variables.
2105 cat >>confdefs.h <<_ACEOF
2106 #define PACKAGE_NAME "$PACKAGE_NAME"
2109 cat >>confdefs.h <<_ACEOF
2110 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2113 cat >>confdefs.h <<_ACEOF
2114 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2117 cat >>confdefs.h <<_ACEOF
2118 #define PACKAGE_STRING "$PACKAGE_STRING"
2121 cat >>confdefs.h <<_ACEOF
2122 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2125 cat >>confdefs.h <<_ACEOF
2126 #define PACKAGE_URL "$PACKAGE_URL"
2130 # Let the site file select an alternate cache file if it wants to.
2131 # Prefer an explicitly selected file to automatically selected ones.
2134 if test -n "$CONFIG_SITE"; then
2135 # We do not want a PATH search for config.site.
2136 case $CONFIG_SITE in #((
2137 -*) ac_site_file1=./$CONFIG_SITE;;
2138 */*) ac_site_file1=$CONFIG_SITE;;
2139 *) ac_site_file1=./$CONFIG_SITE;;
2141 elif test "x$prefix" != xNONE; then
2142 ac_site_file1=$prefix/share/config.site
2143 ac_site_file2=$prefix/etc/config.site
2145 ac_site_file1=$ac_default_prefix/share/config.site
2146 ac_site_file2=$ac_default_prefix/etc/config.site
2148 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2150 test "x$ac_site_file" = xNONE && continue
2151 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2153 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2154 sed 's/^/| /' "$ac_site_file" >&5
2156 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2157 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2158 as_fn_error $? "failed to load site script $ac_site_file
2159 See \`config.log' for more details" "$LINENO" 5; }
2163 if test -r "$cache_file"; then
2164 # Some versions of bash will fail to source /dev/null (special files
2165 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2166 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2168 $as_echo "$as_me: loading cache $cache_file" >&6;}
2170 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2171 *) . "./$cache_file";;
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2176 $as_echo "$as_me: creating cache $cache_file" >&6;}
2180 # Check that the precious variables saved in the cache have kept the same
2182 ac_cache_corrupted=false
2183 for ac_var in $ac_precious_vars; do
2184 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2185 eval ac_new_set=\$ac_env_${ac_var}_set
2186 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2187 eval ac_new_val=\$ac_env_${ac_var}_value
2188 case $ac_old_set,$ac_new_set in
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2191 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2192 ac_cache_corrupted=: ;;
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2195 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2196 ac_cache_corrupted=: ;;
2199 if test "x$ac_old_val" != "x$ac_new_val"; then
2200 # differences in whitespace do not lead to failure.
2201 ac_old_val_w=`echo x $ac_old_val`
2202 ac_new_val_w=`echo x $ac_new_val`
2203 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2205 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2206 ac_cache_corrupted=:
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2209 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2210 eval $ac_var=\$ac_old_val
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2213 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2214 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2215 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2218 # Pass precious variables to config.status.
2219 if test "$ac_new_set" = set; then
2221 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2222 *) ac_arg=$ac_var=$ac_new_val ;;
2224 case " $ac_configure_args " in
2225 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2226 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2230 if $ac_cache_corrupted; then
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2234 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2235 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2237 ## -------------------- ##
2238 ## Main body of script. ##
2239 ## -------------------- ##
2242 ac_cpp='$CPP $CPPFLAGS'
2243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2249 # Ensure that a recent enough version of Autoconf is being used
2252 # Check whether the configure script is in the right dir
2257 echo Check programs:
2261 ac_cpp='$CPP $CPPFLAGS'
2262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2265 if test -n "$ac_tool_prefix"; then
2266 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2267 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2269 $as_echo_n "checking for $ac_word... " >&6; }
2270 if ${ac_cv_prog_CC+:} false; then :
2271 $as_echo_n "(cached) " >&6
2273 if test -n "$CC"; then
2274 ac_cv_prog_CC="$CC" # Let the user override the test.
2276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 test -z "$as_dir" && as_dir=.
2281 for ac_exec_ext in '' $ac_executable_extensions; do
2282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2283 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2294 if test -n "$CC"; then
2295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2296 $as_echo "$CC" >&6; }
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2299 $as_echo "no" >&6; }
2304 if test -z "$ac_cv_prog_CC"; then
2306 # Extract the first word of "gcc", so it can be a program name with args.
2307 set dummy gcc; ac_word=$2
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2309 $as_echo_n "checking for $ac_word... " >&6; }
2310 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2311 $as_echo_n "(cached) " >&6
2313 if test -n "$ac_ct_CC"; then
2314 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2320 test -z "$as_dir" && as_dir=.
2321 for ac_exec_ext in '' $ac_executable_extensions; do
2322 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2323 ac_cv_prog_ac_ct_CC="gcc"
2324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2333 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2334 if test -n "$ac_ct_CC"; then
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2336 $as_echo "$ac_ct_CC" >&6; }
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2339 $as_echo "no" >&6; }
2342 if test "x$ac_ct_CC" = x; then
2345 case $cross_compiling:$ac_tool_warned in
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2349 ac_tool_warned=yes ;;
2357 if test -z "$CC"; then
2358 if test -n "$ac_tool_prefix"; then
2359 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2360 set dummy ${ac_tool_prefix}cc; ac_word=$2
2361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2362 $as_echo_n "checking for $ac_word... " >&6; }
2363 if ${ac_cv_prog_CC+:} false; then :
2364 $as_echo_n "(cached) " >&6
2366 if test -n "$CC"; then
2367 ac_cv_prog_CC="$CC" # Let the user override the test.
2369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir=.
2374 for ac_exec_ext in '' $ac_executable_extensions; do
2375 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2376 ac_cv_prog_CC="${ac_tool_prefix}cc"
2377 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2387 if test -n "$CC"; then
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2389 $as_echo "$CC" >&6; }
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2392 $as_echo "no" >&6; }
2398 if test -z "$CC"; then
2399 # Extract the first word of "cc", so it can be a program name with args.
2400 set dummy cc; ac_word=$2
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2402 $as_echo_n "checking for $ac_word... " >&6; }
2403 if ${ac_cv_prog_CC+:} false; then :
2404 $as_echo_n "(cached) " >&6
2406 if test -n "$CC"; then
2407 ac_cv_prog_CC="$CC" # Let the user override the test.
2410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2414 test -z "$as_dir" && as_dir=.
2415 for ac_exec_ext in '' $ac_executable_extensions; do
2416 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2417 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2418 ac_prog_rejected=yes
2422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2429 if test $ac_prog_rejected = yes; then
2430 # We found a bogon in the path, so make sure we never use it.
2431 set dummy $ac_cv_prog_CC
2433 if test $# != 0; then
2434 # We chose a different compiler from the bogus one.
2435 # However, it has the same basename, so the bogon will be chosen
2436 # first if we set CC to just the basename; use the full file name.
2438 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2444 if test -n "$CC"; then
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2446 $as_echo "$CC" >&6; }
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2449 $as_echo "no" >&6; }
2454 if test -z "$CC"; then
2455 if test -n "$ac_tool_prefix"; then
2456 for ac_prog in cl.exe
2458 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2459 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2461 $as_echo_n "checking for $ac_word... " >&6; }
2462 if ${ac_cv_prog_CC+:} false; then :
2463 $as_echo_n "(cached) " >&6
2465 if test -n "$CC"; then
2466 ac_cv_prog_CC="$CC" # Let the user override the test.
2468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2472 test -z "$as_dir" && as_dir=.
2473 for ac_exec_ext in '' $ac_executable_extensions; do
2474 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2475 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2476 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2486 if test -n "$CC"; then
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2488 $as_echo "$CC" >&6; }
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2491 $as_echo "no" >&6; }
2495 test -n "$CC" && break
2498 if test -z "$CC"; then
2500 for ac_prog in cl.exe
2502 # Extract the first word of "$ac_prog", so it can be a program name with args.
2503 set dummy $ac_prog; ac_word=$2
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2505 $as_echo_n "checking for $ac_word... " >&6; }
2506 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2507 $as_echo_n "(cached) " >&6
2509 if test -n "$ac_ct_CC"; then
2510 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2516 test -z "$as_dir" && as_dir=.
2517 for ac_exec_ext in '' $ac_executable_extensions; do
2518 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2519 ac_cv_prog_ac_ct_CC="$ac_prog"
2520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2530 if test -n "$ac_ct_CC"; then
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2532 $as_echo "$ac_ct_CC" >&6; }
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2535 $as_echo "no" >&6; }
2539 test -n "$ac_ct_CC" && break
2542 if test "x$ac_ct_CC" = x; then
2545 case $cross_compiling:$ac_tool_warned in
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2548 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2549 ac_tool_warned=yes ;;
2558 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2559 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2560 as_fn_error $? "no acceptable C compiler found in \$PATH
2561 See \`config.log' for more details" "$LINENO" 5; }
2563 # Provide some information about the compiler.
2564 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2567 for ac_option in --version -v -V -qversion; do
2568 { { ac_try="$ac_compiler $ac_option >&5"
2570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2571 *) ac_try_echo=$ac_try;;
2573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2574 $as_echo "$ac_try_echo"; } >&5
2575 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2577 if test -s conftest.err; then
2579 ... rest of stderr output deleted ...
2580 10q' conftest.err >conftest.er1
2581 cat conftest.er1 >&5
2583 rm -f conftest.er1 conftest.err
2584 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2585 test $ac_status = 0; }
2588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2589 /* end confdefs.h. */
2599 ac_clean_files_save=$ac_clean_files
2600 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2601 # Try to create an executable without -o first, disregard a.out.
2602 # It will help us diagnose broken compilers, and finding out an intuition
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2605 $as_echo_n "checking whether the C compiler works... " >&6; }
2606 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2608 # The possible output files:
2609 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2612 for ac_file in $ac_files
2615 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2616 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2621 if { { ac_try="$ac_link_default"
2623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2624 *) ac_try_echo=$ac_try;;
2626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2627 $as_echo "$ac_try_echo"; } >&5
2628 (eval "$ac_link_default") 2>&5
2630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2631 test $ac_status = 0; }; then :
2632 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2633 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2634 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2635 # so that the user can short-circuit this test for compilers unknown to
2637 for ac_file in $ac_files ''
2639 test -f "$ac_file" || continue
2641 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2644 # We found the default executable, but exeext='' is most
2648 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2650 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2652 # We set ac_cv_exeext here because the later test for it is not
2653 # safe: cross compilers may not add the suffix if given an `-o'
2654 # argument, so we may need to know it at that point already.
2655 # Even if this section looks crufty: it has the advantage of
2662 test "$ac_cv_exeext" = no && ac_cv_exeext=
2667 if test -z "$ac_file"; then :
2668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2669 $as_echo "no" >&6; }
2670 $as_echo "$as_me: failed program was:" >&5
2671 sed 's/^/| /' conftest.$ac_ext >&5
2673 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2674 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2675 as_fn_error 77 "C compiler cannot create executables
2676 See \`config.log' for more details" "$LINENO" 5; }
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2679 $as_echo "yes" >&6; }
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2682 $as_echo_n "checking for C compiler default output file name... " >&6; }
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2684 $as_echo "$ac_file" >&6; }
2685 ac_exeext=$ac_cv_exeext
2687 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2688 ac_clean_files=$ac_clean_files_save
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2690 $as_echo_n "checking for suffix of executables... " >&6; }
2691 if { { ac_try="$ac_link"
2693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2694 *) ac_try_echo=$ac_try;;
2696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2697 $as_echo "$ac_try_echo"; } >&5
2698 (eval "$ac_link") 2>&5
2700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2701 test $ac_status = 0; }; then :
2702 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2703 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2704 # work properly (i.e., refer to `conftest.exe'), while it won't with
2706 for ac_file in conftest.exe conftest conftest.*; do
2707 test -f "$ac_file" || continue
2709 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2710 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2718 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2719 See \`config.log' for more details" "$LINENO" 5; }
2721 rm -f conftest conftest$ac_cv_exeext
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2723 $as_echo "$ac_cv_exeext" >&6; }
2725 rm -f conftest.$ac_ext
2726 EXEEXT=$ac_cv_exeext
2728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2729 /* end confdefs.h. */
2734 FILE *f = fopen ("conftest.out", "w");
2735 return ferror (f) || fclose (f) != 0;
2741 ac_clean_files="$ac_clean_files conftest.out"
2742 # Check that the compiler produces executables we can run. If not, either
2743 # the compiler is broken, or we cross compile.
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2745 $as_echo_n "checking whether we are cross compiling... " >&6; }
2746 if test "$cross_compiling" != yes; then
2747 { { ac_try="$ac_link"
2749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2750 *) ac_try_echo=$ac_try;;
2752 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2753 $as_echo "$ac_try_echo"; } >&5
2754 (eval "$ac_link") 2>&5
2756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2757 test $ac_status = 0; }
2758 if { ac_try='./conftest$ac_cv_exeext'
2759 { { case "(($ac_try" in
2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2764 $as_echo "$ac_try_echo"; } >&5
2765 (eval "$ac_try") 2>&5
2767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2768 test $ac_status = 0; }; }; then
2771 if test "$cross_compiling" = maybe; then
2774 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2776 as_fn_error $? "cannot run C compiled programs.
2777 If you meant to cross compile, use \`--host'.
2778 See \`config.log' for more details" "$LINENO" 5; }
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2783 $as_echo "$cross_compiling" >&6; }
2785 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2786 ac_clean_files=$ac_clean_files_save
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2788 $as_echo_n "checking for suffix of object files... " >&6; }
2789 if ${ac_cv_objext+:} false; then :
2790 $as_echo_n "(cached) " >&6
2792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2793 /* end confdefs.h. */
2803 rm -f conftest.o conftest.obj
2804 if { { ac_try="$ac_compile"
2806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2807 *) ac_try_echo=$ac_try;;
2809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2810 $as_echo "$ac_try_echo"; } >&5
2811 (eval "$ac_compile") 2>&5
2813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2814 test $ac_status = 0; }; then :
2815 for ac_file in conftest.o conftest.obj conftest.*; do
2816 test -f "$ac_file" || continue;
2818 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2819 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2824 $as_echo "$as_me: failed program was:" >&5
2825 sed 's/^/| /' conftest.$ac_ext >&5
2827 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2829 as_fn_error $? "cannot compute suffix of object files: cannot compile
2830 See \`config.log' for more details" "$LINENO" 5; }
2832 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2835 $as_echo "$ac_cv_objext" >&6; }
2836 OBJEXT=$ac_cv_objext
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2839 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2840 if ${ac_cv_c_compiler_gnu+:} false; then :
2841 $as_echo_n "(cached) " >&6
2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 /* end confdefs.h. */
2857 if ac_fn_c_try_compile "$LINENO"; then :
2862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2863 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2867 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2868 if test $ac_compiler_gnu = yes; then
2873 ac_test_CFLAGS=${CFLAGS+set}
2874 ac_save_CFLAGS=$CFLAGS
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2876 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2877 if ${ac_cv_prog_cc_g+:} false; then :
2878 $as_echo_n "(cached) " >&6
2880 ac_save_c_werror_flag=$ac_c_werror_flag
2881 ac_c_werror_flag=yes
2884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2885 /* end confdefs.h. */
2895 if ac_fn_c_try_compile "$LINENO"; then :
2899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2900 /* end confdefs.h. */
2910 if ac_fn_c_try_compile "$LINENO"; then :
2913 ac_c_werror_flag=$ac_save_c_werror_flag
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2926 if ac_fn_c_try_compile "$LINENO"; then :
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934 ac_c_werror_flag=$ac_save_c_werror_flag
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2937 $as_echo "$ac_cv_prog_cc_g" >&6; }
2938 if test "$ac_test_CFLAGS" = set; then
2939 CFLAGS=$ac_save_CFLAGS
2940 elif test $ac_cv_prog_cc_g = yes; then
2941 if test "$GCC" = yes; then
2947 if test "$GCC" = yes; then
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2954 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2955 if ${ac_cv_prog_cc_c89+:} false; then :
2956 $as_echo_n "(cached) " >&6
2958 ac_cv_prog_cc_c89=no
2960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2961 /* end confdefs.h. */
2965 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2966 struct buf { int x; };
2967 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2968 static char *e (p, i)
2974 static char *f (char * (*g) (char **, int), char **p, ...)
2979 s = g (p, va_arg (v,int));
2984 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2985 function prototypes and stuff, but not '\xHH' hex character constants.
2986 These don't provoke an error unfortunately, instead are silently treated
2987 as 'x'. The following induces an error, until -std is added to get
2988 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2989 array size at least. It's necessary to write '\x00'==0 to get something
2990 that's true only with -std. */
2991 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2993 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2994 inside strings and character constants. */
2996 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2998 int test (int i, double x);
2999 struct s1 {int (*f) (int a);};
3000 struct s2 {int (*f) (double a);};
3001 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3007 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3012 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3013 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3015 CC="$ac_save_CC $ac_arg"
3016 if ac_fn_c_try_compile "$LINENO"; then :
3017 ac_cv_prog_cc_c89=$ac_arg
3019 rm -f core conftest.err conftest.$ac_objext
3020 test "x$ac_cv_prog_cc_c89" != "xno" && break
3022 rm -f conftest.$ac_ext
3027 case "x$ac_cv_prog_cc_c89" in
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3030 $as_echo "none needed" >&6; } ;;
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3033 $as_echo "unsupported" >&6; } ;;
3035 CC="$CC $ac_cv_prog_cc_c89"
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3037 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3039 if test "x$ac_cv_prog_cc_c89" != xno; then :
3044 ac_cpp='$CPP $CPPFLAGS'
3045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3051 ac_cpp='$CPP $CPPFLAGS'
3052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3056 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3057 # On Suns, sometimes $CPP names a directory.
3058 if test -n "$CPP" && test -d "$CPP"; then
3061 if test -z "$CPP"; then
3062 if ${ac_cv_prog_CPP+:} false; then :
3063 $as_echo_n "(cached) " >&6
3065 # Double quotes because CPP needs to be expanded
3066 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3069 for ac_c_preproc_warn_flag in '' yes
3071 # Use a header file that comes with gcc, so configuring glibc
3072 # with a fresh cross-compiler works.
3073 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3074 # <limits.h> exists even on freestanding compilers.
3075 # On the NeXT, cc -E runs the code through the compiler's parser,
3076 # not just through cpp. "Syntax error" is here to catch this case.
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3080 # include <limits.h>
3082 # include <assert.h>
3086 if ac_fn_c_try_cpp "$LINENO"; then :
3089 # Broken: fails on valid input.
3092 rm -f conftest.err conftest.i conftest.$ac_ext
3094 # OK, works on sane cases. Now check whether nonexistent headers
3095 # can be detected and how.
3096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h. */
3098 #include <ac_nonexistent.h>
3100 if ac_fn_c_try_cpp "$LINENO"; then :
3101 # Broken: success on invalid input.
3104 # Passes both tests.
3108 rm -f conftest.err conftest.i conftest.$ac_ext
3111 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3112 rm -f conftest.i conftest.err conftest.$ac_ext
3113 if $ac_preproc_ok; then :
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3126 $as_echo "$CPP" >&6; }
3128 for ac_c_preproc_warn_flag in '' yes
3130 # Use a header file that comes with gcc, so configuring glibc
3131 # with a fresh cross-compiler works.
3132 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3133 # <limits.h> exists even on freestanding compilers.
3134 # On the NeXT, cc -E runs the code through the compiler's parser,
3135 # not just through cpp. "Syntax error" is here to catch this case.
3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3137 /* end confdefs.h. */
3139 # include <limits.h>
3141 # include <assert.h>
3145 if ac_fn_c_try_cpp "$LINENO"; then :
3148 # Broken: fails on valid input.
3151 rm -f conftest.err conftest.i conftest.$ac_ext
3153 # OK, works on sane cases. Now check whether nonexistent headers
3154 # can be detected and how.
3155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3156 /* end confdefs.h. */
3157 #include <ac_nonexistent.h>
3159 if ac_fn_c_try_cpp "$LINENO"; then :
3160 # Broken: success on invalid input.
3163 # Passes both tests.
3167 rm -f conftest.err conftest.i conftest.$ac_ext
3170 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3171 rm -f conftest.i conftest.err conftest.$ac_ext
3172 if $ac_preproc_ok; then :
3175 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3176 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3177 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3178 See \`config.log' for more details" "$LINENO" 5; }
3182 ac_cpp='$CPP $CPPFLAGS'
3183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3189 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3190 if ${ac_cv_path_GREP+:} false; then :
3191 $as_echo_n "(cached) " >&6
3193 if test -z "$GREP"; then
3194 ac_path_GREP_found=false
3195 # Loop through the user's path and test for each of PROGNAME-LIST
3196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3197 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3200 test -z "$as_dir" && as_dir=.
3201 for ac_prog in grep ggrep; do
3202 for ac_exec_ext in '' $ac_executable_extensions; do
3203 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3204 as_fn_executable_p "$ac_path_GREP" || continue
3205 # Check for GNU ac_path_GREP and select it if it is found.
3206 # Check for GNU $ac_path_GREP
3207 case `"$ac_path_GREP" --version 2>&1` in
3209 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3212 $as_echo_n 0123456789 >"conftest.in"
3215 cat "conftest.in" "conftest.in" >"conftest.tmp"
3216 mv "conftest.tmp" "conftest.in"
3217 cp "conftest.in" "conftest.nl"
3218 $as_echo 'GREP' >> "conftest.nl"
3219 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3220 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3221 as_fn_arith $ac_count + 1 && ac_count=$as_val
3222 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3223 # Best one so far, save it but keep looking for a better one
3224 ac_cv_path_GREP="$ac_path_GREP"
3225 ac_path_GREP_max=$ac_count
3227 # 10*(2^10) chars as input seems more than enough
3228 test $ac_count -gt 10 && break
3230 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3233 $ac_path_GREP_found && break 3
3238 if test -z "$ac_cv_path_GREP"; then
3239 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3242 ac_cv_path_GREP=$GREP
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3247 $as_echo "$ac_cv_path_GREP" >&6; }
3248 GREP="$ac_cv_path_GREP"
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3252 $as_echo_n "checking for egrep... " >&6; }
3253 if ${ac_cv_path_EGREP+:} false; then :
3254 $as_echo_n "(cached) " >&6
3256 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3257 then ac_cv_path_EGREP="$GREP -E"
3259 if test -z "$EGREP"; then
3260 ac_path_EGREP_found=false
3261 # Loop through the user's path and test for each of PROGNAME-LIST
3262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3263 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3266 test -z "$as_dir" && as_dir=.
3267 for ac_prog in egrep; do
3268 for ac_exec_ext in '' $ac_executable_extensions; do
3269 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3270 as_fn_executable_p "$ac_path_EGREP" || continue
3271 # Check for GNU ac_path_EGREP and select it if it is found.
3272 # Check for GNU $ac_path_EGREP
3273 case `"$ac_path_EGREP" --version 2>&1` in
3275 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3278 $as_echo_n 0123456789 >"conftest.in"
3281 cat "conftest.in" "conftest.in" >"conftest.tmp"
3282 mv "conftest.tmp" "conftest.in"
3283 cp "conftest.in" "conftest.nl"
3284 $as_echo 'EGREP' >> "conftest.nl"
3285 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3286 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3287 as_fn_arith $ac_count + 1 && ac_count=$as_val
3288 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3289 # Best one so far, save it but keep looking for a better one
3290 ac_cv_path_EGREP="$ac_path_EGREP"
3291 ac_path_EGREP_max=$ac_count
3293 # 10*(2^10) chars as input seems more than enough
3294 test $ac_count -gt 10 && break
3296 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3299 $ac_path_EGREP_found && break 3
3304 if test -z "$ac_cv_path_EGREP"; then
3305 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3308 ac_cv_path_EGREP=$EGREP
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3314 $as_echo "$ac_cv_path_EGREP" >&6; }
3315 EGREP="$ac_cv_path_EGREP"
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3319 $as_echo_n "checking for ANSI C header files... " >&6; }
3320 if ${ac_cv_header_stdc+:} false; then :
3321 $as_echo_n "(cached) " >&6
3323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3324 /* end confdefs.h. */
3338 if ac_fn_c_try_compile "$LINENO"; then :
3339 ac_cv_header_stdc=yes
3341 ac_cv_header_stdc=no
3343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3345 if test $ac_cv_header_stdc = yes; then
3346 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3352 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3353 $EGREP "memchr" >/dev/null 2>&1; then :
3356 ac_cv_header_stdc=no
3362 if test $ac_cv_header_stdc = yes; then
3363 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3370 $EGREP "free" >/dev/null 2>&1; then :
3373 ac_cv_header_stdc=no
3379 if test $ac_cv_header_stdc = yes; then
3380 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3381 if test "$cross_compiling" = yes; then :
3384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3385 /* end confdefs.h. */
3388 #if ((' ' & 0x0FF) == 0x020)
3389 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3390 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3392 # define ISLOWER(c) \
3393 (('a' <= (c) && (c) <= 'i') \
3394 || ('j' <= (c) && (c) <= 'r') \
3395 || ('s' <= (c) && (c) <= 'z'))
3396 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3399 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3404 for (i = 0; i < 256; i++)
3405 if (XOR (islower (i), ISLOWER (i))
3406 || toupper (i) != TOUPPER (i))
3411 if ac_fn_c_try_run "$LINENO"; then :
3414 ac_cv_header_stdc=no
3416 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3417 conftest.$ac_objext conftest.beam conftest.$ac_ext
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3423 $as_echo "$ac_cv_header_stdc" >&6; }
3424 if test $ac_cv_header_stdc = yes; then
3426 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3430 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3431 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3432 inttypes.h stdint.h unistd.h
3434 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3435 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3437 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3438 cat >>confdefs.h <<_ACEOF
3439 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3448 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3449 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3456 if test "$MINIX" = yes; then
3458 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3461 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3464 $as_echo "#define _MINIX 1" >>confdefs.h
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3470 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3471 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3472 $as_echo_n "(cached) " >&6
3474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3475 /* end confdefs.h. */
3477 # define __EXTENSIONS__ 1
3478 $ac_includes_default
3487 if ac_fn_c_try_compile "$LINENO"; then :
3488 ac_cv_safe_to_define___extensions__=yes
3490 ac_cv_safe_to_define___extensions__=no
3492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3495 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3496 test $ac_cv_safe_to_define___extensions__ = yes &&
3497 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3499 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3501 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3503 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3505 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3510 $as_echo_n "checking whether ln -s works... " >&6; }
3512 if test "$LN_S" = "ln -s"; then
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3514 $as_echo "yes" >&6; }
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3517 $as_echo "no, using $LN_S" >&6; }
3523 # Extract the first word of "chmod", so it can be a program name with args.
3524 set dummy chmod; ac_word=$2
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3526 $as_echo_n "checking for $ac_word... " >&6; }
3527 if ${ac_cv_prog_CHMOD+:} false; then :
3528 $as_echo_n "(cached) " >&6
3530 if test -n "$CHMOD"; then
3531 ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
3533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3537 test -z "$as_dir" && as_dir=.
3538 for ac_exec_ext in '' $ac_executable_extensions; do
3539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3540 ac_cv_prog_CHMOD="chmod"
3541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3550 CHMOD=$ac_cv_prog_CHMOD
3551 if test -n "$CHMOD"; then
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
3553 $as_echo "$CHMOD" >&6; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3556 $as_echo "no" >&6; }
3560 # Extract the first word of "chown", so it can be a program name with args.
3561 set dummy chown; ac_word=$2
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3563 $as_echo_n "checking for $ac_word... " >&6; }
3564 if ${ac_cv_prog_CHOWN+:} false; then :
3565 $as_echo_n "(cached) " >&6
3567 if test -n "$CHOWN"; then
3568 ac_cv_prog_CHOWN="$CHOWN" # Let the user override the test.
3570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3574 test -z "$as_dir" && as_dir=.
3575 for ac_exec_ext in '' $ac_executable_extensions; do
3576 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3577 ac_cv_prog_CHOWN="chown"
3578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3587 CHOWN=$ac_cv_prog_CHOWN
3588 if test -n "$CHOWN"; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHOWN" >&5
3590 $as_echo "$CHOWN" >&6; }
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3593 $as_echo "no" >&6; }
3597 # Extract the first word of "ar", so it can be a program name with args.
3598 set dummy ar; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if ${ac_cv_prog_AR+:} false; then :
3602 $as_echo_n "(cached) " >&6
3604 if test -n "$AR"; then
3605 ac_cv_prog_AR="$AR" # Let the user override the test.
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3625 if test -n "$AR"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3627 $as_echo "$AR" >&6; }
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3634 # Extract the first word of "install", so it can be a program name with args.
3635 set dummy install; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if ${ac_cv_prog_INSTALL+:} false; then :
3639 $as_echo_n "(cached) " >&6
3641 if test -n "$INSTALL"; then
3642 ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3651 ac_cv_prog_INSTALL="install"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3661 INSTALL=$ac_cv_prog_INSTALL
3662 if test -n "$INSTALL"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3664 $as_echo "$INSTALL" >&6; }
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3671 # Extract the first word of "msgfmt", so it can be a program name with args.
3672 set dummy msgfmt; ac_word=$2
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3674 $as_echo_n "checking for $ac_word... " >&6; }
3675 if ${ac_cv_prog_MSGFMT+:} false; then :
3676 $as_echo_n "(cached) " >&6
3678 if test -n "$MSGFMT"; then
3679 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
3681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 test -z "$as_dir" && as_dir=.
3686 for ac_exec_ext in '' $ac_executable_extensions; do
3687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3688 ac_cv_prog_MSGFMT="msgfmt"
3689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 MSGFMT=$ac_cv_prog_MSGFMT
3699 if test -n "$MSGFMT"; then
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3701 $as_echo "$MSGFMT" >&6; }
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3704 $as_echo "no" >&6; }
3708 # Extract the first word of "xgettext", so it can be a program name with args.
3709 set dummy xgettext; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if ${ac_cv_prog_XGETTEXT+:} false; then :
3713 $as_echo_n "(cached) " >&6
3715 if test -n "$XGETTEXT"; then
3716 ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test.
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3725 ac_cv_prog_XGETTEXT="xgettext"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3735 XGETTEXT=$ac_cv_prog_XGETTEXT
3736 if test -n "$XGETTEXT"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3738 $as_echo "$XGETTEXT" >&6; }
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3745 # Extract the first word of "msgmerge", so it can be a program name with args.
3746 set dummy msgmerge; ac_word=$2
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3748 $as_echo_n "checking for $ac_word... " >&6; }
3749 if ${ac_cv_prog_MSGMERGE+:} false; then :
3750 $as_echo_n "(cached) " >&6
3752 if test -n "$MSGMERGE"; then
3753 ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test.
3755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3759 test -z "$as_dir" && as_dir=.
3760 for ac_exec_ext in '' $ac_executable_extensions; do
3761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3762 ac_cv_prog_MSGMERGE="msgmerge"
3763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 MSGMERGE=$ac_cv_prog_MSGMERGE
3773 if test -n "$MSGMERGE"; then
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3775 $as_echo "$MSGMERGE" >&6; }
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3782 for ac_prog in bzip2 gzip
3784 # Extract the first word of "$ac_prog", so it can be a program name with args.
3785 set dummy $ac_prog; ac_word=$2
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3787 $as_echo_n "checking for $ac_word... " >&6; }
3788 if ${ac_cv_prog_ZIP+:} false; then :
3789 $as_echo_n "(cached) " >&6
3791 if test -n "$ZIP"; then
3792 ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
3794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3795 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3798 test -z "$as_dir" && as_dir=.
3799 for ac_exec_ext in '' $ac_executable_extensions; do
3800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3801 ac_cv_prog_ZIP="$ac_prog"
3802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 if test -n "$ZIP"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
3814 $as_echo "$ZIP" >&6; }
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3821 test -n "$ZIP" && break
3823 test -n "$ZIP" || ZIP="gzip"
3825 INSTALL_DATA="\${INSTALL} -m 644"
3827 INSTALL_BIN="\${INSTALL} -m 755"
3832 # Extract the first word of "$ac_prog", so it can be a program name with args.
3833 set dummy $ac_prog; ac_word=$2
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3835 $as_echo_n "checking for $ac_word... " >&6; }
3836 if ${ac_cv_path_PATH_CP+:} false; then :
3837 $as_echo_n "(cached) " >&6
3841 ac_cv_path_PATH_CP="$PATH_CP" # Let the user override the test with a path.
3844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3845 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3848 test -z "$as_dir" && as_dir=.
3849 for ac_exec_ext in '' $ac_executable_extensions; do
3850 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3851 ac_cv_path_PATH_CP="$as_dir/$ac_word$ac_exec_ext"
3852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3862 PATH_CP=$ac_cv_path_PATH_CP
3863 if test -n "$PATH_CP"; then
3864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CP" >&5
3865 $as_echo "$PATH_CP" >&6; }
3867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3868 $as_echo "no" >&6; }
3872 test -n "$PATH_CP" && break
3874 test -n "$PATH_CP" || PATH_CP="cp"
3876 for ac_prog in chkconfig
3878 # Extract the first word of "$ac_prog", so it can be a program name with args.
3879 set dummy $ac_prog; ac_word=$2
3880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3881 $as_echo_n "checking for $ac_word... " >&6; }
3882 if ${ac_cv_path_PATH_CHKCONFIG+:} false; then :
3883 $as_echo_n "(cached) " >&6
3885 case $PATH_CHKCONFIG in
3887 ac_cv_path_PATH_CHKCONFIG="$PATH_CHKCONFIG" # Let the user override the test with a path.
3890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3894 test -z "$as_dir" && as_dir=.
3895 for ac_exec_ext in '' $ac_executable_extensions; do
3896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3897 ac_cv_path_PATH_CHKCONFIG="$as_dir/$ac_word$ac_exec_ext"
3898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3908 PATH_CHKCONFIG=$ac_cv_path_PATH_CHKCONFIG
3909 if test -n "$PATH_CHKCONFIG"; then
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CHKCONFIG" >&5
3911 $as_echo "$PATH_CHKCONFIG" >&6; }
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3914 $as_echo "no" >&6; }
3918 test -n "$PATH_CHKCONFIG" && break
3920 test -n "$PATH_CHKCONFIG" || PATH_CHKCONFIG="chkconfig"
3924 # Extract the first word of "pkg-config", so it can be a program name with args.
3925 set dummy pkg-config; ac_word=$2
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3927 $as_echo_n "checking for $ac_word... " >&6; }
3928 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
3929 $as_echo_n "(cached) " >&6
3931 if test -n "$PKG_CONFIG"; then
3932 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
3934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3938 test -z "$as_dir" && as_dir=.
3939 for ac_exec_ext in '' $ac_executable_extensions; do
3940 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3941 ac_cv_prog_PKG_CONFIG="pkg-config"
3942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3951 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
3952 if test -n "$PKG_CONFIG"; then
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3954 $as_echo "$PKG_CONFIG" >&6; }
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3957 $as_echo "no" >&6; }
3961 for ac_prog in systemctl
3963 # Extract the first word of "$ac_prog", so it can be a program name with args.
3964 set dummy $ac_prog; ac_word=$2
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3966 $as_echo_n "checking for $ac_word... " >&6; }
3967 if ${ac_cv_path_SYSTEMCTL+:} false; then :
3968 $as_echo_n "(cached) " >&6
3972 ac_cv_path_SYSTEMCTL="$SYSTEMCTL" # Let the user override the test with a path.
3975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976 for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
3979 test -z "$as_dir" && as_dir=.
3980 for ac_exec_ext in '' $ac_executable_extensions; do
3981 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3982 ac_cv_path_SYSTEMCTL="$as_dir/$ac_word$ac_exec_ext"
3983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 SYSTEMCTL=$ac_cv_path_SYSTEMCTL
3994 if test -n "$SYSTEMCTL"; then
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSTEMCTL" >&5
3996 $as_echo "$SYSTEMCTL" >&6; }
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3999 $as_echo "no" >&6; }
4003 test -n "$SYSTEMCTL" && break
4005 test -n "$SYSTEMCTL" || SYSTEMCTL="systemctl"
4008 # Check whether --with-systemdsystemunitdir was given.
4009 if test "${with_systemdsystemunitdir+set}" = set; then :
4010 withval=$with_systemdsystemunitdir;
4012 with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
4015 if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ; then
4016 SYSTEMD_UNIT_DIR=$with_systemdsystemunitdir
4022 # Check header files
4024 echo Check header files:
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4029 $as_echo_n "checking for ANSI C header files... " >&6; }
4030 if ${ac_cv_header_stdc+:} false; then :
4031 $as_echo_n "(cached) " >&6
4033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4034 /* end confdefs.h. */
4048 if ac_fn_c_try_compile "$LINENO"; then :
4049 ac_cv_header_stdc=yes
4051 ac_cv_header_stdc=no
4053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4055 if test $ac_cv_header_stdc = yes; then
4056 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4058 /* end confdefs.h. */
4062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4063 $EGREP "memchr" >/dev/null 2>&1; then :
4066 ac_cv_header_stdc=no
4072 if test $ac_cv_header_stdc = yes; then
4073 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4075 /* end confdefs.h. */
4079 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4080 $EGREP "free" >/dev/null 2>&1; then :
4083 ac_cv_header_stdc=no
4089 if test $ac_cv_header_stdc = yes; then
4090 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4091 if test "$cross_compiling" = yes; then :
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4098 #if ((' ' & 0x0FF) == 0x020)
4099 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4100 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4102 # define ISLOWER(c) \
4103 (('a' <= (c) && (c) <= 'i') \
4104 || ('j' <= (c) && (c) <= 'r') \
4105 || ('s' <= (c) && (c) <= 'z'))
4106 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4109 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4114 for (i = 0; i < 256; i++)
4115 if (XOR (islower (i), ISLOWER (i))
4116 || toupper (i) != TOUPPER (i))
4121 if ac_fn_c_try_run "$LINENO"; then :
4124 ac_cv_header_stdc=no
4126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4127 conftest.$ac_objext conftest.beam conftest.$ac_ext
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4133 $as_echo "$ac_cv_header_stdc" >&6; }
4134 if test $ac_cv_header_stdc = yes; then
4136 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4141 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4142 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4144 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4145 if eval \${$as_ac_Header+:} false; then :
4146 $as_echo_n "(cached) " >&6
4148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4149 /* end confdefs.h. */
4150 #include <sys/types.h>
4162 if ac_fn_c_try_compile "$LINENO"; then :
4163 eval "$as_ac_Header=yes"
4165 eval "$as_ac_Header=no"
4167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4169 eval ac_res=\$$as_ac_Header
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4171 $as_echo "$ac_res" >&6; }
4172 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4173 cat >>confdefs.h <<_ACEOF
4174 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4177 ac_header_dirent=$ac_hdr; break
4181 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4182 if test $ac_header_dirent = dirent.h; then
4183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4184 $as_echo_n "checking for library containing opendir... " >&6; }
4185 if ${ac_cv_search_opendir+:} false; then :
4186 $as_echo_n "(cached) " >&6
4188 ac_func_search_save_LIBS=$LIBS
4189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4190 /* end confdefs.h. */
4192 /* Override any GCC internal prototype to avoid an error.
4193 Use char because int might match the return type of a GCC
4194 builtin and then its argument prototype would still apply. */
4207 for ac_lib in '' dir; do
4208 if test -z "$ac_lib"; then
4209 ac_res="none required"
4212 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4214 if ac_fn_c_try_link "$LINENO"; then :
4215 ac_cv_search_opendir=$ac_res
4217 rm -f core conftest.err conftest.$ac_objext \
4219 if ${ac_cv_search_opendir+:} false; then :
4223 if ${ac_cv_search_opendir+:} false; then :
4226 ac_cv_search_opendir=no
4229 LIBS=$ac_func_search_save_LIBS
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4232 $as_echo "$ac_cv_search_opendir" >&6; }
4233 ac_res=$ac_cv_search_opendir
4234 if test "$ac_res" != no; then :
4235 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4241 $as_echo_n "checking for library containing opendir... " >&6; }
4242 if ${ac_cv_search_opendir+:} false; then :
4243 $as_echo_n "(cached) " >&6
4245 ac_func_search_save_LIBS=$LIBS
4246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4247 /* end confdefs.h. */
4249 /* Override any GCC internal prototype to avoid an error.
4250 Use char because int might match the return type of a GCC
4251 builtin and then its argument prototype would still apply. */
4264 for ac_lib in '' x; do
4265 if test -z "$ac_lib"; then
4266 ac_res="none required"
4269 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4271 if ac_fn_c_try_link "$LINENO"; then :
4272 ac_cv_search_opendir=$ac_res
4274 rm -f core conftest.err conftest.$ac_objext \
4276 if ${ac_cv_search_opendir+:} false; then :
4280 if ${ac_cv_search_opendir+:} false; then :
4283 ac_cv_search_opendir=no
4286 LIBS=$ac_func_search_save_LIBS
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4289 $as_echo "$ac_cv_search_opendir" >&6; }
4290 ac_res=$ac_cv_search_opendir
4291 if test "$ac_res" != no; then :
4292 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4298 for ac_header in ctype.h
4300 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
4301 if test "x$ac_cv_header_ctype_h" = xyes; then :
4302 cat >>confdefs.h <<_ACEOF
4303 #define HAVE_CTYPE_H 1
4310 for ac_header in errno.h
4312 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
4313 if test "x$ac_cv_header_errno_h" = xyes; then :
4314 cat >>confdefs.h <<_ACEOF
4315 #define HAVE_ERRNO_H 1
4322 for ac_header in libintl.h
4324 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4325 if test "x$ac_cv_header_libintl_h" = xyes; then :
4326 cat >>confdefs.h <<_ACEOF
4327 #define HAVE_LIBINTL_H 1
4334 for ac_header in locale.h
4336 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4337 if test "x$ac_cv_header_locale_h" = xyes; then :
4338 cat >>confdefs.h <<_ACEOF
4339 #define HAVE_LOCALE_H 1
4346 for ac_header in net/if.h
4348 ac_fn_c_check_header_mongrel "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default"
4349 if test "x$ac_cv_header_net_if_h" = xyes; then :
4350 cat >>confdefs.h <<_ACEOF
4351 #define HAVE_NET_IF_H 1
4358 for ac_header in regex.h
4360 ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
4361 if test "x$ac_cv_header_regex_h" = xyes; then :
4362 cat >>confdefs.h <<_ACEOF
4363 #define HAVE_REGEX_H 1
4370 for ac_header in signal.h
4372 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
4373 if test "x$ac_cv_header_signal_h" = xyes; then :
4374 cat >>confdefs.h <<_ACEOF
4375 #define HAVE_SIGNAL_H 1
4382 for ac_header in stdio.h
4384 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
4385 if test "x$ac_cv_header_stdio_h" = xyes; then :
4386 cat >>confdefs.h <<_ACEOF
4387 #define HAVE_STDIO_H 1
4394 for ac_header in sys/file.h
4396 ac_fn_c_check_header_mongrel "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
4397 if test "x$ac_cv_header_sys_file_h" = xyes; then :
4398 cat >>confdefs.h <<_ACEOF
4399 #define HAVE_SYS_FILE_H 1
4406 for ac_header in sys/ioctl.h
4408 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
4409 if test "x$ac_cv_header_sys_ioctl_h" = xyes; then :
4410 cat >>confdefs.h <<_ACEOF
4411 #define HAVE_SYS_IOCTL_H 1
4418 for ac_header in sys/stat.h
4420 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
4421 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
4422 cat >>confdefs.h <<_ACEOF
4423 #define HAVE_SYS_STAT_H 1
4432 echo Check typedefs, structures and compiler characteristics:
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4435 $as_echo_n "checking return type of signal handlers... " >&6; }
4436 if ${ac_cv_type_signal+:} false; then :
4437 $as_echo_n "(cached) " >&6
4439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4440 /* end confdefs.h. */
4441 #include <sys/types.h>
4447 return *(signal (0, 0)) (0) == 1;
4452 if ac_fn_c_try_compile "$LINENO"; then :
4453 ac_cv_type_signal=int
4455 ac_cv_type_signal=void
4457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4460 $as_echo "$ac_cv_type_signal" >&6; }
4462 cat >>confdefs.h <<_ACEOF
4463 #define RETSIGTYPE $ac_cv_type_signal
4467 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4468 if test "x$ac_cv_type_size_t" = xyes; then :
4472 cat >>confdefs.h <<_ACEOF
4473 #define size_t unsigned int
4478 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4479 if test "x$ac_cv_type_off_t" = xyes; then :
4483 cat >>confdefs.h <<_ACEOF
4484 #define off_t long int
4491 echo Check library functions:
4493 for ac_func in strchr
4495 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
4496 if test "x$ac_cv_func_strchr" = xyes; then :
4497 cat >>confdefs.h <<_ACEOF
4498 #define HAVE_STRCHR 1
4504 for ac_func in strcspn
4506 ac_fn_c_check_func "$LINENO" "strcspn" "ac_cv_func_strcspn"
4507 if test "x$ac_cv_func_strcspn" = xyes; then :
4508 cat >>confdefs.h <<_ACEOF
4509 #define HAVE_STRCSPN 1
4515 for ac_func in strspn
4517 ac_fn_c_check_func "$LINENO" "strspn" "ac_cv_func_strspn"
4518 if test "x$ac_cv_func_strspn" = xyes; then :
4519 cat >>confdefs.h <<_ACEOF
4520 #define HAVE_STRSPN 1
4526 for ac_func in strstr
4528 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
4529 if test "x$ac_cv_func_strstr" = xyes; then :
4530 cat >>confdefs.h <<_ACEOF
4531 #define HAVE_STRSTR 1
4538 # Should we check for lm_sensors?
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors support" >&5
4540 $as_echo_n "checking for sensors support... " >&6; }
4541 # Check whether --enable-sensors was given.
4542 if test "${enable_sensors+set}" = set; then :
4543 enableval=$enable_sensors; SENSORS=$enableval
4548 if test $SENSORS != "yes"; then
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4554 $as_echo "$SENSORS" >&6; }
4556 # Check for lm_sensors
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_get_detected_chips in -lsensors" >&5
4561 $as_echo_n "checking for sensors_get_detected_chips in -lsensors... " >&6; }
4562 if ${ac_cv_lib_sensors_sensors_get_detected_chips+:} false; then :
4563 $as_echo_n "(cached) " >&6
4565 ac_check_lib_save_LIBS=$LIBS
4566 LIBS="-lsensors $LIBS"
4567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4568 /* end confdefs.h. */
4570 /* Override any GCC internal prototype to avoid an error.
4571 Use char because int might match the return type of a GCC
4572 builtin and then its argument prototype would still apply. */
4576 char sensors_get_detected_chips ();
4580 return sensors_get_detected_chips ();
4585 if ac_fn_c_try_link "$LINENO"; then :
4586 ac_cv_lib_sensors_sensors_get_detected_chips=yes
4588 ac_cv_lib_sensors_sensors_get_detected_chips=no
4590 rm -f core conftest.err conftest.$ac_objext \
4591 conftest$ac_exeext conftest.$ac_ext
4592 LIBS=$ac_check_lib_save_LIBS
4594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_get_detected_chips" >&5
4595 $as_echo "$ac_cv_lib_sensors_sensors_get_detected_chips" >&6; }
4596 if test "x$ac_cv_lib_sensors_sensors_get_detected_chips" = xyes; then :
4597 LFSENSORS="-lsensors"
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors lib" >&5
4603 $as_echo_n "checking for sensors lib... " >&6; }
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4606 #include <sensors/sensors.h>
4607 #include <sensors/error.h>
4617 if ac_fn_c_try_compile "$LINENO"; then :
4618 SENSORS=yes; DFSENSORS="-DHAVE_SENSORS"
4620 HAVE_SENSORS="n"; SENSORS=no
4622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4624 $as_echo "$SENSORS" >&6; }
4630 echo Check system services:
4632 # Check whether --enable-largefile was given.
4633 if test "${enable_largefile+set}" = set; then :
4634 enableval=$enable_largefile;
4637 if test "$enable_largefile" != no; then
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4640 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4641 if ${ac_cv_sys_largefile_CC+:} false; then :
4642 $as_echo_n "(cached) " >&6
4644 ac_cv_sys_largefile_CC=no
4645 if test "$GCC" != yes; then
4648 # IRIX 6.2 and later do not support large files by default,
4649 # so use the C compiler's -n32 option if that helps.
4650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4651 /* end confdefs.h. */
4652 #include <sys/types.h>
4653 /* Check that off_t can represent 2**63 - 1 correctly.
4654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4655 since some C++ compilers masquerading as C compilers
4656 incorrectly reject 9223372036854775807. */
4657 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4659 && LARGE_OFF_T % 2147483647 == 1)
4669 if ac_fn_c_try_compile "$LINENO"; then :
4672 rm -f core conftest.err conftest.$ac_objext
4674 if ac_fn_c_try_compile "$LINENO"; then :
4675 ac_cv_sys_largefile_CC=' -n32'; break
4677 rm -f core conftest.err conftest.$ac_objext
4681 rm -f conftest.$ac_ext
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4685 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4686 if test "$ac_cv_sys_largefile_CC" != no; then
4687 CC=$CC$ac_cv_sys_largefile_CC
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4691 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4692 if ${ac_cv_sys_file_offset_bits+:} false; then :
4693 $as_echo_n "(cached) " >&6
4696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4698 #include <sys/types.h>
4699 /* Check that off_t can represent 2**63 - 1 correctly.
4700 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4701 since some C++ compilers masquerading as C compilers
4702 incorrectly reject 9223372036854775807. */
4703 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4704 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4705 && LARGE_OFF_T % 2147483647 == 1)
4715 if ac_fn_c_try_compile "$LINENO"; then :
4716 ac_cv_sys_file_offset_bits=no; break
4718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4721 #define _FILE_OFFSET_BITS 64
4722 #include <sys/types.h>
4723 /* Check that off_t can represent 2**63 - 1 correctly.
4724 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4725 since some C++ compilers masquerading as C compilers
4726 incorrectly reject 9223372036854775807. */
4727 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4728 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4729 && LARGE_OFF_T % 2147483647 == 1)
4739 if ac_fn_c_try_compile "$LINENO"; then :
4740 ac_cv_sys_file_offset_bits=64; break
4742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4743 ac_cv_sys_file_offset_bits=unknown
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4748 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4749 case $ac_cv_sys_file_offset_bits in #(
4752 cat >>confdefs.h <<_ACEOF
4753 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4758 if test $ac_cv_sys_file_offset_bits = unknown; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4760 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4761 if ${ac_cv_sys_large_files+:} false; then :
4762 $as_echo_n "(cached) " >&6
4765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4766 /* end confdefs.h. */
4767 #include <sys/types.h>
4768 /* Check that off_t can represent 2**63 - 1 correctly.
4769 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4770 since some C++ compilers masquerading as C compilers
4771 incorrectly reject 9223372036854775807. */
4772 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4773 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4774 && LARGE_OFF_T % 2147483647 == 1)
4784 if ac_fn_c_try_compile "$LINENO"; then :
4785 ac_cv_sys_large_files=no; break
4787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4789 /* end confdefs.h. */
4790 #define _LARGE_FILES 1
4791 #include <sys/types.h>
4792 /* Check that off_t can represent 2**63 - 1 correctly.
4793 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4794 since some C++ compilers masquerading as C compilers
4795 incorrectly reject 9223372036854775807. */
4796 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4797 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4798 && LARGE_OFF_T % 2147483647 == 1)
4808 if ac_fn_c_try_compile "$LINENO"; then :
4809 ac_cv_sys_large_files=1; break
4811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4812 ac_cv_sys_large_files=unknown
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4817 $as_echo "$ac_cv_sys_large_files" >&6; }
4818 case $ac_cv_sys_large_files in #(
4821 cat >>confdefs.h <<_ACEOF
4822 #define _LARGE_FILES $ac_cv_sys_large_files
4834 echo Check configuration:
4836 # Check arguments used
4838 # Optional Features:
4839 # --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
4840 # --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
4841 # --disable-largefile omit support for large files
4842 # --disable-nls disable National Language Support
4843 # --enable-yesterday tell sa2 to use "yesterday" data files
4844 # --disable-man-group ignore man_group variable value
4845 # --enable-install-cron tell sysstat to install cron scripts
4846 # --collect-all tell sadc to collect all possible data
4847 # --enable-clean-sa-dir clean system activity directory
4848 # --enable-compress-manpg compress manual pages
4849 # --enable-install-isag install isag script
4850 # --enable-debuginfo enable debug output (--debuginfo option)
4851 # --disable-documentation do not install documentation (man pages...)
4852 # --disable-sensors do not link against libsensors even if available
4853 # --disable-stripping do not strip object files
4855 # Some influential environment variables:
4856 # rcdir directory where startup scripts are installed
4857 # sa_lib_dir sadc, sa1 and sa2 directory
4858 # sa_dir system activity daily datafiles directory
4859 # conf_dir sysstat configuration directory (default is /etc/sysconfig)
4860 # history number of daily datafiles to keep (default value is 7)
4861 # compressafter number of days after which datafiles are compressed
4862 # man_group group for man pages
4863 # cron_owner crontab owner
4864 # cron_interval crontab sampling interval
4866 # Fine tuning the installation directories:
4867 # --mandir=DIR man documentation directory [PREFIX/man]
4868 # --docdir=DIR other documentation directory [PREFIX/share/doc]
4870 # Installation directories:
4871 # --prefix=PREFIX install architecture-independent files in PREFIX
4873 # --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
4877 if test -d /etc/init.d && test ! -L /etc/init.d; then
4878 if test -d /etc/init.d/rc2.d; then
4885 INIT_DIR=/etc/init.d
4886 elif test -d /sbin/init.d; then
4888 INIT_DIR=/sbin/init.d
4892 INIT_DIR=/etc/rc.d/init.d
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking run-commands directory" >&5
4897 $as_echo_n "checking run-commands directory... " >&6; }
4899 if test x$rcdir != x""; then
4900 # Override previous rc directories values
4902 INIT_DIR=$rcdir/init.d
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC_DIR" >&5
4906 $as_echo "$RC_DIR" >&6; }
4907 if test ! -d $RC_DIR; then
4908 echo "INFO: Directory ${RC_DIR} doesn't exist."
4909 echo "INFO: Startup scripts won't be installed."
4916 # Set sadc directory
4917 if test $prefix != "NONE"; then
4920 AuxPrefix=/usr/local
4923 SADC_DIR=$AuxPrefix/lib
4924 if test -d $AuxPrefix/lib64; then
4925 # Look for lm (long mode) flag to know if CPU is 64 bit
4926 grep " lm " /proc/cpuinfo >/dev/null 2>&1
4927 if test $? = 0; then
4928 SADC_DIR=$AuxPrefix/lib64
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sadc directory" >&5
4933 $as_echo_n "checking sadc directory... " >&6; }
4935 if test x$sa_lib_dir != x""; then
4936 SA_LIB_DIR=$sa_lib_dir
4938 SA_LIB_DIR=$SADC_DIR/sa
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_LIB_DIR" >&5
4941 $as_echo "$SA_LIB_DIR" >&6; }
4942 if test ! -d $SA_LIB_DIR; then
4943 echo "INFO: Directory ${SA_LIB_DIR} will be created during installation stage."
4947 # Set system activity directory
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system activity directory" >&5
4949 $as_echo_n "checking system activity directory... " >&6; }
4951 if test x$sa_dir != x""; then
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_DIR" >&5
4957 $as_echo "$SA_DIR" >&6; }
4958 if test ! -d $SA_DIR; then
4959 echo "INFO: Directory ${SA_DIR} will be created during installation stage."
4963 # Set configuration directory
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysstat configuration directory" >&5
4965 $as_echo_n "checking sysstat configuration directory... " >&6; }
4967 if test x$conf_dir != x""; then
4968 SYSCONFIG_DIR=$conf_dir
4970 SYSCONFIG_DIR=/etc/sysconfig
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFIG_DIR" >&5
4973 $as_echo "$SYSCONFIG_DIR" >&6; }
4974 if test ! -d $SYSCONFIG_DIR; then
4975 echo "INFO: Directory ${SYSCONFIG_DIR} will be created during installation stage."
4979 # National Language Support
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking National Language Support" >&5
4981 $as_echo_n "checking National Language Support... " >&6; }
4982 # Check whether --enable-nls was given.
4983 if test "${enable_nls+set}" = set; then :
4984 enableval=$enable_nls; AUX_NLS=$enableval
4989 if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_NLS" >&5
4997 $as_echo "$AUX_NLS" >&6; }
4999 if test $AUX_NLS = "yes" && test x$MSGFMT != x"msgfmt"; then
5000 echo "WARNING: msgfmt command not found!"
5002 if test $AUX_NLS = "yes" && test x$XGETTEXT != x"xgettext"; then
5003 echo "WARNING: xgettext command not found!"
5005 if test $AUX_NLS = "yes" && test x$MSGMERGE != x"msgmerge"; then
5006 echo "WARNING: msgmerge command not found!"
5009 # Check whether sa2 should process data file of the day before
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sa2 should process data file of the day before" >&5
5011 $as_echo_n "checking whether sa2 should process data file of the day before... " >&6; }
5012 # Check whether --enable-yesterday was given.
5013 if test "${enable_yesterday+set}" = set; then :
5014 enableval=$enable_yesterday; AUX_YESTERDAY=$enableval
5019 if test $AUX_YESTERDAY = "yes"; then
5020 YESTERDAY="--date=yesterday"
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5022 $as_echo "yes" >&6; }
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026 $as_echo "no" >&6; }
5030 # Data history to keep by sa2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of daily data files to keep" >&5
5032 $as_echo_n "checking number of daily data files to keep... " >&6; }
5034 if test x$history = x""; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HISTORY" >&5
5040 $as_echo "$HISTORY" >&6; }
5043 # Number of days after which datafiles are compressed
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of days after which data files are compressed" >&5
5045 $as_echo_n "checking number of days after which data files are compressed... " >&6; }
5047 if test x$compressafter = x""; then
5050 COMPRESSAFTER=$compressafter
5052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESSAFTER" >&5
5053 $as_echo "$COMPRESSAFTER" >&6; }
5057 grep ^man: /etc/group >/dev/null 2>&1
5058 if test $? = 0; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group for manual pages" >&5
5065 $as_echo_n "checking group for manual pages... " >&6; }
5067 if test x$man_group = x""; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5070 $as_echo "$MAN_GROUP" >&6; }
5072 grep ^$man_group: /etc/group >/dev/null 2>&1
5073 if test $? = 1; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5076 $as_echo "$MAN_GROUP" >&6; }
5077 echo "WARNING: Group ${man_group} not found: Using ${GRP} instead"
5079 MAN_GROUP=$man_group
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5081 $as_echo "$MAN_GROUP" >&6; }
5086 # Ignore manual pages group?
5087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether man_group variable should be ignored" >&5
5088 $as_echo_n "checking whether man_group variable should be ignored... " >&6; }
5089 # Check whether --enable-man-group was given.
5090 if test "${enable_man_group+set}" = set; then :
5091 enableval=$enable_man_group; AUX_IMG=$enableval
5096 if test $AUX_IMG != "no"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_IMG" >&5
5104 $as_echo "$AUX_IMG" >&6; }
5107 # Compress manual pages?
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether manual pages should be compressed" >&5
5109 $as_echo_n "checking whether manual pages should be compressed... " >&6; }
5110 # Check whether --enable-compress-manpg was given.
5111 if test "${enable_compress_manpg+set}" = set; then :
5112 enableval=$enable_compress_manpg; AUX_MPG=$enableval
5117 if test $AUX_MPG != "yes"; then
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_MPG" >&5
5124 $as_echo "$AUX_MPG" >&6; }
5127 # Check whether isag should be installed
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isag script should be installed" >&5
5129 $as_echo_n "checking whether isag script should be installed... " >&6; }
5130 # Check whether --enable-install-isag was given.
5131 if test "${enable_install_isag+set}" = set; then :
5132 enableval=$enable_install_isag; AUX_IIS=$enableval
5137 if test $AUX_IIS != "yes"; then
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_IIS" >&5
5144 $as_echo "$AUX_IIS" >&6; }
5147 # Check whether sa directory should be cleaned
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system activity directory should be cleaned" >&5
5149 $as_echo_n "checking whether system activity directory should be cleaned... " >&6; }
5150 # Check whether --enable-clean-sa-dir was given.
5151 if test "${enable_clean_sa_dir+set}" = set; then :
5152 enableval=$enable_clean_sa_dir; AUX_CSD=$enableval
5157 if test $AUX_CSD != "yes"; then
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CSD" >&5
5164 $as_echo "$AUX_CSD" >&6; }
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cron should start sar automatically" >&5
5169 $as_echo_n "checking whether cron should start sar automatically... " >&6; }
5170 # Check whether --enable-install-cron was given.
5171 if test "${enable_install_cron+set}" = set; then :
5172 enableval=$enable_install_cron; INSTALL_CRON=$enableval
5177 if test $INSTALL_CRON != "yes"; then
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CRON" >&5
5185 $as_echo "$AUX_CRON" >&6; }
5190 if test $INSTALL_CRON = "y"; then
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab owner" >&5
5192 $as_echo_n "checking crontab owner... " >&6; }
5194 if test x$cron_owner = x""; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5197 $as_echo "$CRON_OWNER" >&6; }
5199 grep ^$cron_owner: /etc/passwd >/dev/null 2>&1
5200 if test $? = 1; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5203 $as_echo "$CRON_OWNER" >&6; }
5204 echo "WARNING: User ${cron_owner} not found: Using ${CUSR} instead."
5206 CRON_OWNER=$cron_owner
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5208 $as_echo "$CRON_OWNER" >&6; }
5211 echo "INFO: Crontab for ${CRON_OWNER} will be saved in current directory if necessary"
5212 if test $CRON_OWNER = "root"; then
5215 REM_CHOWN="# REM_CHOWN"
5217 SU_C_OWNER="su $CRON_OWNER -c "
5219 # " (ignore this line)
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab interval" >&5
5225 $as_echo_n "checking crontab interval... " >&6; }
5227 if test x$cron_interval = x""; then
5230 CRON_INTERVAL=$cron_interval
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_INTERVAL" >&5
5233 $as_echo "$CRON_INTERVAL" >&6; }
5234 CRON_INTERVAL_SEC=`expr ${CRON_INTERVAL} \* 60`
5235 CRON_COUNT=`expr 60 / ${CRON_INTERVAL}`
5237 # Check whether sadc should collect all possible activities
5238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sadc should collect all possible activities" >&5
5239 $as_echo_n "checking whether sadc should collect all possible activities... " >&6; }
5240 # Check whether --enable-collect-all was given.
5241 if test "${enable_collect_all+set}" = set; then :
5242 enableval=$enable_collect_all; COLLECT_ALL=$enableval
5247 if test $COLLECT_ALL != "yes"; then
5251 COLLECT_ALL="-S XALL"
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_COLL" >&5
5255 $as_echo "$AUX_COLL" >&6; }
5261 REM_CHOWN="# REM_CHOWN"
5263 CRON_INTERVAL_SEC=600
5276 # Check whether documentation should be installed
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether documentation should be installed" >&5
5278 $as_echo_n "checking whether documentation should be installed... " >&6; }
5279 # Check whether --enable-documentation was given.
5280 if test "${enable_documentation+set}" = set; then :
5281 enableval=$enable_documentation; AUX_DOC=$enableval
5286 if test $AUX_DOC != "no"; then
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_DOC" >&5
5294 $as_echo "$AUX_DOC" >&6; }
5297 # Set directory for installing manual pages (see comment in Makefile)
5300 # Check whether --debuginfo options should be allowed
5301 # Check whether --enable-debuginfo was given.
5302 if test "${enable_debuginfo+set}" = set; then :
5303 enableval=$enable_debuginfo; WITH_DEBUG=yes ; DFLAGS="$DFLAGS -DDEBUG"
5311 # Check whether object files should be stripped
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether object files should be stripped" >&5
5313 $as_echo_n "checking whether object files should be stripped... " >&6; }
5314 # Check whether --enable-stripping was given.
5315 if test "${enable_stripping+set}" = set; then :
5316 enableval=$enable_stripping; AUX_STRIP=$enableval
5321 if test $AUX_STRIP != "no"; then
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_STRIP" >&5
5329 $as_echo "$AUX_STRIP" >&6; }
5331 # National Language Support
5332 #AC_MSG_CHECKING(National Language Support)
5334 # AC_HELP_STRING([--disable-nls],
5335 # [disable National Language Support]),
5336 # AUX_NLS=$enableval,AUX_NLS=yes)
5337 #if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
5344 #AC_MSG_RESULT($AUX_NLS)
5349 echo Now create files:
5351 ac_config_files="$ac_config_files sa1"
5352 # Permissions must be changed
5353 ac_config_files="$ac_config_files sa2"
5354 # Permissions must be changed
5355 ac_config_files="$ac_config_files cron/crontab:cron/crontab.sample"
5356 # File must be renamed
5357 ac_config_files="$ac_config_files sysstat.sysconfig"
5359 ac_config_files="$ac_config_files version.h:version.in"
5360 # File must be renamed
5361 ac_config_files="$ac_config_files sysconfig.h:sysconfig.in"
5362 # File must be renamed
5363 ac_config_files="$ac_config_files cron/sysstat.cron.daily"
5365 ac_config_files="$ac_config_files cron/sysstat.cron.hourly"
5367 ac_config_files="$ac_config_files cron/sysstat.crond"
5369 ac_config_files="$ac_config_files cron/sysstat.crond.sample.in:cron/sysstat.crond.in"
5371 ac_config_files="$ac_config_files sysstat"
5372 # Permissions must be changed
5373 ac_config_files="$ac_config_files sysstat.service"
5375 ac_config_files="$ac_config_files man/sa1.8:man/sa1.in"
5376 # File must be renamed
5377 ac_config_files="$ac_config_files man/sa2.8:man/sa2.in"
5378 # File must be renamed
5379 ac_config_files="$ac_config_files man/sadc.8:man/sadc.in"
5380 # File must be renamed
5381 ac_config_files="$ac_config_files man/sadf.1:man/sadf.in"
5382 # File must be renamed
5383 ac_config_files="$ac_config_files man/sar.1:man/sar.in"
5384 # File must be renamed
5385 ac_config_files="$ac_config_files man/sysstat.5:man/sysstat.in"
5386 # File must be renamed
5387 ac_config_files="$ac_config_files man/iostat.1:man/iostat.in"
5388 # File must be renamed
5389 ac_config_files="$ac_config_files man/cifsiostat.1:man/cifsiostat.in"
5390 # File must be renamed
5391 ac_config_files="$ac_config_files man/nfsiostat.1:man/nfsiostat.in"
5392 # File must be renamed
5393 ac_config_files="$ac_config_files contrib/isag/isag"
5394 # Permissions must be changed
5396 ac_config_files="$ac_config_files Makefile"
5398 cat >confcache <<\_ACEOF
5399 # This file is a shell script that caches the results of configure
5400 # tests run on this system so they can be shared between configure
5401 # scripts and configure runs, see configure's option --config-cache.
5402 # It is not useful on other systems. If it contains results you don't
5403 # want to keep, you may remove or edit it.
5405 # config.status only pays attention to the cache file if you give it
5406 # the --recheck option to rerun configure.
5408 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5409 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5414 # The following way of writing the cache mishandles newlines in values,
5415 # but we know of no workaround that is simple, portable, and efficient.
5416 # So, we kill variables containing newlines.
5417 # Ultrix sh set writes to stderr and can't be redirected directly,
5418 # and sets the high bit in the cache file unless we assign to the vars.
5420 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5421 eval ac_val=\$$ac_var
5425 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5426 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5429 _ | IFS | as_nl) ;; #(
5430 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5431 *) { eval $ac_var=; unset $ac_var;} ;;
5437 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5438 *${as_nl}ac_space=\ *)
5439 # `set' does not quote correctly, so add quotes: double-quote
5440 # substitution turns \\\\ into \\, and sed turns \\ into \.
5443 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5446 # `set' quotes correctly as required by POSIX, so do not add quotes.
5447 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5456 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5458 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5460 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5461 if test -w "$cache_file"; then
5462 if test "x$cache_file" != "x/dev/null"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5464 $as_echo "$as_me: updating cache $cache_file" >&6;}
5465 if test ! -f "$cache_file" || test -h "$cache_file"; then
5466 cat confcache >"$cache_file"
5468 case $cache_file in #(
5470 mv -f confcache "$cache_file"$$ &&
5471 mv -f "$cache_file"$$ "$cache_file" ;; #(
5473 mv -f confcache "$cache_file" ;;
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5479 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5484 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5485 # Let make expand exec_prefix.
5486 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5488 # Transform confdefs.h into DEFS.
5489 # Protect against shell expansion while executing Makefile rules.
5490 # Protect against Makefile macro expansion.
5492 # If the first sed substitution is executed (which looks for macros that
5493 # take arguments), then branch to the quote section. Otherwise,
5494 # look for a macro that doesn't take arguments.
5504 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5506 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5510 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5523 DEFS=`sed -n "$ac_script" confdefs.h`
5529 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5530 # 1. Remove the extension, and $U if already installed.
5531 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5532 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5533 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5534 # will be set to the directory where LIBOBJS objects are built.
5535 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5536 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5540 LTLIBOBJS=$ac_ltlibobjs
5544 : "${CONFIG_STATUS=./config.status}"
5546 ac_clean_files_save=$ac_clean_files
5547 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5549 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5551 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5553 # Generated by $as_me.
5554 # Run this file to recreate the current configuration.
5555 # Compiler output produced by configure, useful for debugging
5556 # configure, is in config.log if it exists.
5562 SHELL=\${CONFIG_SHELL-$SHELL}
5565 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5566 ## -------------------- ##
5567 ## M4sh Initialization. ##
5568 ## -------------------- ##
5570 # Be more Bourne compatible
5571 DUALCASE=1; export DUALCASE # for MKS sh
5572 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5575 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5576 # is contrary to our usage. Disable this feature.
5577 alias -g '${1+"$@"}'='"$@"'
5578 setopt NO_GLOB_SUBST
5580 case `(set -o) 2>/dev/null` in #(
5592 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5593 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5594 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5595 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5596 # Prefer a ksh shell builtin over an external printf program on Solaris,
5597 # but without wasting forks for bash or zsh.
5598 if test -z "$BASH_VERSION$ZSH_VERSION" \
5599 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5600 as_echo='print -r --'
5601 as_echo_n='print -rn --'
5602 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5603 as_echo='printf %s\n'
5604 as_echo_n='printf %s'
5606 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5607 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5608 as_echo_n='/usr/ucb/echo -n'
5610 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5611 as_echo_n_body='eval
5615 expr "X$arg" : "X\\(.*\\)$as_nl";
5616 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5618 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5620 export as_echo_n_body
5621 as_echo_n='sh -c $as_echo_n_body as_echo'
5624 as_echo='sh -c $as_echo_body as_echo'
5627 # The user is always right.
5628 if test "${PATH_SEPARATOR+set}" != set; then
5630 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5631 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5638 # We need space, tab and new line, in precisely that order. Quoting is
5639 # there to prevent editors from complaining about space-tab.
5640 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5641 # splitting by setting IFS to empty value.)
5644 # Find who we are. Look in the path if we contain no directory separator.
5647 *[\\/]* ) as_myself=$0 ;;
5648 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5652 test -z "$as_dir" && as_dir=.
5653 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5659 # We did not find ourselves, most probably we were run as `sh COMMAND'
5660 # in which case we are not to be found in the path.
5661 if test "x$as_myself" = x; then
5664 if test ! -f "$as_myself"; then
5665 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5669 # Unset variables that we do not need and which cause bugs (e.g. in
5670 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5671 # suppresses any "Segmentation fault" message there. '((' could
5672 # trigger a bug in pdksh 5.2.14.
5673 for as_var in BASH_ENV ENV MAIL MAILPATH
5674 do eval test x\${$as_var+set} = xset \
5675 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5688 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5691 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5692 # ----------------------------------------
5693 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5694 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5695 # script with STATUS, using 1 if that was 0.
5698 as_status=$1; test $as_status -eq 0 && as_status=1
5700 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5701 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5703 $as_echo "$as_me: error: $2" >&2
5704 as_fn_exit $as_status
5708 # as_fn_set_status STATUS
5709 # -----------------------
5710 # Set $? to STATUS, without forking.
5714 } # as_fn_set_status
5718 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5728 # Portably unset VAR.
5731 { eval $1=; unset $1;}
5733 as_unset=as_fn_unset
5734 # as_fn_append VAR VALUE
5735 # ----------------------
5736 # Append the text in VALUE to the end of the definition contained in VAR. Take
5737 # advantage of any shell optimizations that allow amortized linear growth over
5738 # repeated appends, instead of the typical quadratic growth present in naive
5740 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5741 eval 'as_fn_append ()
5752 # as_fn_arith ARG...
5753 # ------------------
5754 # Perform arithmetic evaluation on the ARGs, and store the result in the
5755 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5756 # must be portable across $(()) and expr.
5757 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5758 eval 'as_fn_arith ()
5765 as_val=`expr "$@" || test $? -eq 1`
5770 if expr a : '\(a\)' >/dev/null 2>&1 &&
5771 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5777 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5778 as_basename=basename
5783 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5789 as_me=`$as_basename -- "$0" ||
5790 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5791 X"$0" : 'X\(//\)$' \| \
5792 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5794 sed '/^.*\/\([^/][^/]*\)\/*$/{
5808 # Avoid depending upon Character Ranges.
5809 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5810 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5811 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5812 as_cr_digits='0123456789'
5813 as_cr_alnum=$as_cr_Letters$as_cr_digits
5815 ECHO_C= ECHO_N= ECHO_T=
5816 case `echo -n x` in #(((((
5818 case `echo 'xy\c'` in
5819 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5821 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5828 rm -f conf$$ conf$$.exe conf$$.file
5829 if test -d conf$$.dir; then
5830 rm -f conf$$.dir/conf$$.file
5833 mkdir conf$$.dir 2>/dev/null
5835 if (echo >conf$$.file) 2>/dev/null; then
5836 if ln -s conf$$.file conf$$ 2>/dev/null; then
5838 # ... but there are two gotchas:
5839 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5840 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5841 # In both cases, we have to default to `cp -pR'.
5842 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5844 elif ln conf$$.file conf$$ 2>/dev/null; then
5852 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5853 rmdir conf$$.dir 2>/dev/null
5858 # Create "$as_dir" as a directory, including parents if necessary.
5863 -*) as_dir=./$as_dir;;
5865 test -d "$as_dir" || eval $as_mkdir_p || {
5869 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5870 *) as_qdir=$as_dir;;
5872 as_dirs="'$as_qdir' $as_dirs"
5873 as_dir=`$as_dirname -- "$as_dir" ||
5874 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5875 X"$as_dir" : 'X\(//\)[^/]' \| \
5876 X"$as_dir" : 'X\(//\)$' \| \
5877 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5878 $as_echo X"$as_dir" |
5879 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5896 test -d "$as_dir" && break
5898 test -z "$as_dirs" || eval "mkdir $as_dirs"
5899 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5903 if mkdir -p . 2>/dev/null; then
5904 as_mkdir_p='mkdir -p "$as_dir"'
5906 test -d ./-p && rmdir ./-p
5911 # as_fn_executable_p FILE
5912 # -----------------------
5913 # Test if FILE is an executable regular file.
5914 as_fn_executable_p ()
5916 test -f "$1" && test -x "$1"
5917 } # as_fn_executable_p
5919 as_executable_p=as_fn_executable_p
5921 # Sed expression to map a string onto a valid CPP name.
5922 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5924 # Sed expression to map a string onto a valid variable name.
5925 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5929 ## ----------------------------------- ##
5930 ## Main body of $CONFIG_STATUS script. ##
5931 ## ----------------------------------- ##
5933 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5935 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5936 # Save the log message, to keep $0 and so on meaningful, and to
5937 # report actual input values of CONFIG_FILES etc. instead of their
5938 # values after options handling.
5940 This file was extended by sysstat $as_me 10.1.6, which was
5941 generated by GNU Autoconf 2.69. Invocation command line was
5943 CONFIG_FILES = $CONFIG_FILES
5944 CONFIG_HEADERS = $CONFIG_HEADERS
5945 CONFIG_LINKS = $CONFIG_LINKS
5946 CONFIG_COMMANDS = $CONFIG_COMMANDS
5949 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5954 case $ac_config_files in *"
5955 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5961 # Files that config.status was made for.
5962 config_files="$ac_config_files"
5966 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5968 \`$as_me' instantiates files and other configuration actions
5969 from templates according to the current configuration. Unless the files
5970 and actions are specified as TAGs, all are instantiated by default.
5972 Usage: $0 [OPTION]... [TAG]...
5974 -h, --help print this help, then exit
5975 -V, --version print version number and configuration settings, then exit
5976 --config print configuration, then exit
5977 -q, --quiet, --silent
5978 do not print progress messages
5979 -d, --debug don't remove temporary files
5980 --recheck update $as_me by reconfiguring in the same conditions
5981 --file=FILE[:TEMPLATE]
5982 instantiate the configuration file FILE
5984 Configuration files:
5987 Report bugs to the package provider."
5990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5991 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5993 sysstat config.status 10.1.6
5994 configured by $0, generated by GNU Autoconf 2.69,
5995 with options \\"\$ac_cs_config\\"
5997 Copyright (C) 2012 Free Software Foundation, Inc.
5998 This config.status script is free software; the Free Software Foundation
5999 gives unlimited permission to copy, distribute and modify it."
6003 test -n "\$AWK" || AWK=awk
6006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6007 # The default lists apply if the user does not specify any file.
6013 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6014 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6018 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6030 # Handling of the options.
6031 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6033 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6034 $as_echo "$ac_cs_version"; exit ;;
6035 --config | --confi | --conf | --con | --co | --c )
6036 $as_echo "$ac_cs_config"; exit ;;
6037 --debug | --debu | --deb | --de | --d | -d )
6039 --file | --fil | --fi | --f )
6042 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6043 '') as_fn_error $? "missing file argument" ;;
6045 as_fn_append CONFIG_FILES " '$ac_optarg'"
6046 ac_need_defaults=false;;
6047 --he | --h | --help | --hel | -h )
6048 $as_echo "$ac_cs_usage"; exit ;;
6049 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6050 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6054 -*) as_fn_error $? "unrecognized option: \`$1'
6055 Try \`$0 --help' for more information." ;;
6057 *) as_fn_append ac_config_targets " $1"
6058 ac_need_defaults=false ;;
6064 ac_configure_extra_args=
6066 if $ac_cs_silent; then
6068 ac_configure_extra_args="$ac_configure_extra_args --silent"
6072 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6073 if \$ac_cs_recheck; then
6074 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6076 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6077 CONFIG_SHELL='$SHELL'
6083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6087 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6088 ## Running $as_me. ##
6094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6099 # Handling of arguments.
6100 for ac_config_target in $ac_config_targets
6102 case $ac_config_target in
6103 "sa1") CONFIG_FILES="$CONFIG_FILES sa1" ;;
6104 "sa2") CONFIG_FILES="$CONFIG_FILES sa2" ;;
6105 "cron/crontab") CONFIG_FILES="$CONFIG_FILES cron/crontab:cron/crontab.sample" ;;
6106 "sysstat.sysconfig") CONFIG_FILES="$CONFIG_FILES sysstat.sysconfig" ;;
6107 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:version.in" ;;
6108 "sysconfig.h") CONFIG_FILES="$CONFIG_FILES sysconfig.h:sysconfig.in" ;;
6109 "cron/sysstat.cron.daily") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.daily" ;;
6110 "cron/sysstat.cron.hourly") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.hourly" ;;
6111 "cron/sysstat.crond") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond" ;;
6112 "cron/sysstat.crond.sample.in") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond.sample.in:cron/sysstat.crond.in" ;;
6113 "sysstat") CONFIG_FILES="$CONFIG_FILES sysstat" ;;
6114 "sysstat.service") CONFIG_FILES="$CONFIG_FILES sysstat.service" ;;
6115 "man/sa1.8") CONFIG_FILES="$CONFIG_FILES man/sa1.8:man/sa1.in" ;;
6116 "man/sa2.8") CONFIG_FILES="$CONFIG_FILES man/sa2.8:man/sa2.in" ;;
6117 "man/sadc.8") CONFIG_FILES="$CONFIG_FILES man/sadc.8:man/sadc.in" ;;
6118 "man/sadf.1") CONFIG_FILES="$CONFIG_FILES man/sadf.1:man/sadf.in" ;;
6119 "man/sar.1") CONFIG_FILES="$CONFIG_FILES man/sar.1:man/sar.in" ;;
6120 "man/sysstat.5") CONFIG_FILES="$CONFIG_FILES man/sysstat.5:man/sysstat.in" ;;
6121 "man/iostat.1") CONFIG_FILES="$CONFIG_FILES man/iostat.1:man/iostat.in" ;;
6122 "man/cifsiostat.1") CONFIG_FILES="$CONFIG_FILES man/cifsiostat.1:man/cifsiostat.in" ;;
6123 "man/nfsiostat.1") CONFIG_FILES="$CONFIG_FILES man/nfsiostat.1:man/nfsiostat.in" ;;
6124 "contrib/isag/isag") CONFIG_FILES="$CONFIG_FILES contrib/isag/isag" ;;
6125 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6127 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6132 # If the user did not use the arguments to specify the items to instantiate,
6133 # then the envvar interface is used. Set only those that are not.
6134 # We use the long form for the default assignment because of an extremely
6135 # bizarre bug on SunOS 4.1.3.
6136 if $ac_need_defaults; then
6137 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6140 # Have a temporary directory for convenience. Make it in the build tree
6141 # simply because there is no reason against having it here, and in addition,
6142 # creating and moving files from /tmp can sometimes cause problems.
6143 # Hook for its removal unless debugging.
6144 # Note that there is a small window in which the directory will not be cleaned:
6145 # after its creation but before its name has been assigned to `$tmp'.
6149 trap 'exit_status=$?
6151 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6153 trap 'as_fn_exit 1' 1 2 13 15
6155 # Create a (secure) tmp directory for tmp files.
6158 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6162 tmp=./conf$$-$RANDOM
6163 (umask 077 && mkdir "$tmp")
6164 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6167 # Set up the scripts for CONFIG_FILES section.
6168 # No need to generate them if there are no CONFIG_FILES.
6169 # This happens for instance with `./config.status config.h'.
6170 if test -n "$CONFIG_FILES"; then
6173 ac_cr=`echo X | tr X '\015'`
6174 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6175 # But we know of no other shell where ac_cr would be empty at this
6176 # point, so we can use a bashism as a fallback.
6177 if test "x$ac_cr" = x; then
6178 eval ac_cr=\$\'\\r\'
6180 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6181 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6187 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6192 echo "cat >conf$$subs.awk <<_ACEOF" &&
6193 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6196 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6197 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6199 for ac_last_try in false false false false false :; do
6200 . ./conf$$subs.sh ||
6201 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6203 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6204 if test $ac_delim_n = $ac_delim_num; then
6206 elif $ac_last_try; then
6207 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6209 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6215 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6219 s/^/S["/; s/!.*/"]=/
6229 s/\(.\{148\}\)..*/\1/
6231 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6236 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6243 s/\(.\{148\}\)..*/\1/
6245 s/["\\]/\\&/g; s/^/"/; s/$/"/
6249 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6254 ' <conf$$subs.awk | sed '
6259 ' >>$CONFIG_STATUS || ac_write_fail=1
6260 rm -f conf$$subs.awk
6261 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6263 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6264 for (key in S) S_is_set[key] = 1
6270 nfields = split(line, field, "@")
6272 len = length(field[1])
6273 for (i = 2; i < nfields; i++) {
6275 keylen = length(key)
6276 if (S_is_set[key]) {
6278 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6279 len += length(value) + length(field[++i])
6290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6291 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6292 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6295 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6296 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6299 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6300 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6301 # trailing colons and then remove the whole line if VPATH becomes empty
6302 # (actually we leave an empty line to preserve line numbers).
6303 if test "x$srcdir" = x.; then
6304 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6323 fi # test -n "$CONFIG_FILES"
6326 eval set X " :F $CONFIG_FILES "
6331 :[FHLC]) ac_mode=$ac_tag; continue;;
6333 case $ac_mode$ac_tag in
6335 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6336 :[FH]-) ac_tag=-:-;;
6337 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6354 -) ac_f="$ac_tmp/stdin";;
6355 *) # Look for the file first in the build tree, then in the source tree
6356 # (if the path is not absolute). The absolute path cannot be DOS-style,
6357 # because $ac_f cannot contain `:'.
6361 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6363 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6365 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6366 as_fn_append ac_file_inputs " '$ac_f'"
6369 # Let's still pretend it is `configure' which instantiates (i.e., don't
6370 # use $as_me), people would be surprised to read:
6371 # /* config.h. Generated by config.status. */
6372 configure_input='Generated from '`
6373 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6375 if test x"$ac_file" != x-; then
6376 configure_input="$ac_file. $configure_input"
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6378 $as_echo "$as_me: creating $ac_file" >&6;}
6380 # Neutralize special characters interpreted by sed in replacement strings.
6381 case $configure_input in #(
6382 *\&* | *\|* | *\\* )
6383 ac_sed_conf_input=`$as_echo "$configure_input" |
6384 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6385 *) ac_sed_conf_input=$configure_input;;
6389 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6390 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6395 ac_dir=`$as_dirname -- "$ac_file" ||
6396 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6397 X"$ac_file" : 'X\(//\)[^/]' \| \
6398 X"$ac_file" : 'X\(//\)$' \| \
6399 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6400 $as_echo X"$ac_file" |
6401 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6418 as_dir="$ac_dir"; as_fn_mkdir_p
6422 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6424 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6425 # A ".." for each directory in $ac_dir_suffix.
6426 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6427 case $ac_top_builddir_sub in
6428 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6429 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6432 ac_abs_top_builddir=$ac_pwd
6433 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6434 # for backward compatibility:
6435 ac_top_builddir=$ac_top_build_prefix
6438 .) # We are building in place.
6440 ac_top_srcdir=$ac_top_builddir_sub
6441 ac_abs_top_srcdir=$ac_pwd ;;
6442 [\\/]* | ?:[\\/]* ) # Absolute name.
6443 ac_srcdir=$srcdir$ac_dir_suffix;
6444 ac_top_srcdir=$srcdir
6445 ac_abs_top_srcdir=$srcdir ;;
6447 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6448 ac_top_srcdir=$ac_top_build_prefix$srcdir
6449 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6451 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6463 # If the template does not know about datarootdir, expand it.
6464 # FIXME: This hack should be removed a few years after 2.60.
6465 ac_datarootdir_hack=; ac_datarootdir_seen=
6476 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6477 *datarootdir*) ac_datarootdir_seen=yes;;
6478 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6480 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6482 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6483 ac_datarootdir_hack='
6484 s&@datadir@&$datadir&g
6485 s&@docdir@&$docdir&g
6486 s&@infodir@&$infodir&g
6487 s&@localedir@&$localedir&g
6488 s&@mandir@&$mandir&g
6489 s&\\\${datarootdir}&$datarootdir&g' ;;
6493 # Neutralize VPATH when `$srcdir' = `.'.
6494 # Shell code in configure.ac might set extrasub.
6495 # FIXME: do we really want to maintain this feature?
6496 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6497 ac_sed_extra="$ac_vpsub
6500 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6502 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6503 s|@configure_input@|$ac_sed_conf_input|;t t
6504 s&@top_builddir@&$ac_top_builddir_sub&;t t
6505 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6506 s&@srcdir@&$ac_srcdir&;t t
6507 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6508 s&@top_srcdir@&$ac_top_srcdir&;t t
6509 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6510 s&@builddir@&$ac_builddir&;t t
6511 s&@abs_builddir@&$ac_abs_builddir&;t t
6512 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6513 $ac_datarootdir_hack
6515 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6516 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6518 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6519 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6520 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6521 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6523 which seems to be undefined. Please make sure it is defined" >&5
6524 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6525 which seems to be undefined. Please make sure it is defined" >&2;}
6527 rm -f "$ac_tmp/stdin"
6529 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6530 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6532 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6540 case $ac_file$ac_mode in
6541 "sa1":F) chmod +x sa1 ;;
6542 "sa2":F) chmod +x sa2 ;;
6543 "cron/sysstat.crond.sample.in":F) sed s/^/#/ cron/sysstat.crond.sample.in > cron/sysstat.crond.sample ;;
6544 "sysstat":F) chmod +x sysstat ;;
6545 "contrib/isag/isag":F) chmod +x contrib/isag/isag ;;
6553 ac_clean_files=$ac_clean_files_save
6555 test $ac_write_fail = 0 ||
6556 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6559 # configure is writing to config.log, and then calls config.status.
6560 # config.status does its own redirection, appending to config.log.
6561 # Unfortunately, on DOS this fails, as config.log is still kept open
6562 # by configure, so config.status won't be able to write to it; its
6563 # output is simply discarded. So we exec the FD to /dev/null,
6564 # effectively closing config.log, so it can be properly (re)opened and
6565 # appended to by config.status. When coming back to configure, we
6566 # need to make the FD available again.
6567 if test "$no_create" != yes; then
6569 ac_config_status_args=
6570 test "$silent" = yes &&
6571 ac_config_status_args="$ac_config_status_args --quiet"
6573 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6575 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6576 # would make configure fail if this is the last instruction.
6577 $ac_cs_success || as_fn_exit 1
6579 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6581 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6586 Sysstat version: $PACKAGE_VERSION
6587 Installation prefix: $prefix
6588 rc directory: ${RC_DIR}
6589 Init directory: ${INIT_DIR}
6590 Systemd unit dir: ${with_systemdsystemunitdir}
6591 Configuration directory: ${SYSCONFIG_DIR}
6592 Man pages directory: $mandir
6594 Compiler flags: $CFLAGS