2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sysstat 12.3.4.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
578 PACKAGE_NAME='sysstat'
579 PACKAGE_TARNAME='sysstat'
580 PACKAGE_VERSION='12.3.4'
581 PACKAGE_STRING='sysstat 12.3.4'
585 ac_unique_file="ioconf.h"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars='LTLIBOBJS
644 IGNORE_FILE_ATTRIBUTES
732 program_transform_name
745 enable_option_checking
746 with_systemdsystemunitdir
752 enable_compress_manpg
761 ac_precious_vars='build_alias
784 # Initialize some variables set by options.
786 ac_init_version=false
787 ac_unrecognized_opts=
789 # The variables have the same names as the options, with
790 # dashes changed to underlines.
798 program_transform_name=s,x,x,
806 # Installation directory options.
807 # These are left unexpanded so users can "make install exec_prefix=/foo"
808 # and all the variables that are supposed to be based on exec_prefix
809 # by default will actually change.
810 # Use braces instead of parens because sh, perl, etc. also accept them.
811 # (The list follows the same order as the GNU Coding Standards.)
812 bindir='${exec_prefix}/bin'
813 sbindir='${exec_prefix}/sbin'
814 libexecdir='${exec_prefix}/libexec'
815 datarootdir='${prefix}/share'
816 datadir='${datarootdir}'
817 sysconfdir='${prefix}/etc'
818 sharedstatedir='${prefix}/com'
819 localstatedir='${prefix}/var'
820 includedir='${prefix}/include'
821 oldincludedir='/usr/include'
822 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
823 infodir='${datarootdir}/info'
828 libdir='${exec_prefix}/lib'
829 localedir='${datarootdir}/locale'
830 mandir='${datarootdir}/man'
836 # If the previous option needs an argument, assign it.
837 if test -n "$ac_prev"; then
838 eval $ac_prev=\$ac_option
844 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
849 # Accept the important Cygnus configure options, so we can diagnose typos.
851 case $ac_dashdash$ac_option in
855 -bindir | --bindir | --bindi | --bind | --bin | --bi)
857 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
860 -build | --build | --buil | --bui | --bu)
861 ac_prev=build_alias ;;
862 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
863 build_alias=$ac_optarg ;;
865 -cache-file | --cache-file | --cache-fil | --cache-fi \
866 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
867 ac_prev=cache_file ;;
868 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
869 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
870 cache_file=$ac_optarg ;;
873 cache_file=config.cache ;;
875 -datadir | --datadir | --datadi | --datad)
877 -datadir=* | --datadir=* | --datadi=* | --datad=*)
878 datadir=$ac_optarg ;;
880 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
881 | --dataroo | --dataro | --datar)
882 ac_prev=datarootdir ;;
883 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
884 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
885 datarootdir=$ac_optarg ;;
887 -disable-* | --disable-*)
888 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
889 # Reject names that are not valid shell variable names.
890 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
891 as_fn_error $? "invalid feature name: $ac_useropt"
892 ac_useropt_orig=$ac_useropt
893 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
894 case $ac_user_opts in
898 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
899 ac_unrecognized_sep=', ';;
901 eval enable_$ac_useropt=no ;;
903 -docdir | --docdir | --docdi | --doc | --do)
905 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
908 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
910 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
913 -enable-* | --enable-*)
914 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
915 # Reject names that are not valid shell variable names.
916 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
917 as_fn_error $? "invalid feature name: $ac_useropt"
918 ac_useropt_orig=$ac_useropt
919 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
920 case $ac_user_opts in
924 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
925 ac_unrecognized_sep=', ';;
927 eval enable_$ac_useropt=\$ac_optarg ;;
929 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
930 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
931 | --exec | --exe | --ex)
932 ac_prev=exec_prefix ;;
933 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
934 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
935 | --exec=* | --exe=* | --ex=*)
936 exec_prefix=$ac_optarg ;;
938 -gas | --gas | --ga | --g)
939 # Obsolete; use --with-gas.
942 -help | --help | --hel | --he | -h)
944 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
945 ac_init_help=recursive ;;
946 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
947 ac_init_help=short ;;
949 -host | --host | --hos | --ho)
950 ac_prev=host_alias ;;
951 -host=* | --host=* | --hos=* | --ho=*)
952 host_alias=$ac_optarg ;;
954 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
956 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
958 htmldir=$ac_optarg ;;
960 -includedir | --includedir | --includedi | --included | --include \
961 | --includ | --inclu | --incl | --inc)
962 ac_prev=includedir ;;
963 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
964 | --includ=* | --inclu=* | --incl=* | --inc=*)
965 includedir=$ac_optarg ;;
967 -infodir | --infodir | --infodi | --infod | --info | --inf)
969 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
970 infodir=$ac_optarg ;;
972 -libdir | --libdir | --libdi | --libd)
974 -libdir=* | --libdir=* | --libdi=* | --libd=*)
977 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
978 | --libexe | --libex | --libe)
979 ac_prev=libexecdir ;;
980 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
981 | --libexe=* | --libex=* | --libe=*)
982 libexecdir=$ac_optarg ;;
984 -localedir | --localedir | --localedi | --localed | --locale)
986 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
987 localedir=$ac_optarg ;;
989 -localstatedir | --localstatedir | --localstatedi | --localstated \
990 | --localstate | --localstat | --localsta | --localst | --locals)
991 ac_prev=localstatedir ;;
992 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
993 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
994 localstatedir=$ac_optarg ;;
996 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
998 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1001 -nfp | --nfp | --nf)
1002 # Obsolete; use --without-fp.
1005 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1006 | --no-cr | --no-c | -n)
1009 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1010 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1013 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1014 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1015 | --oldin | --oldi | --old | --ol | --o)
1016 ac_prev=oldincludedir ;;
1017 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1018 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1019 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1020 oldincludedir=$ac_optarg ;;
1022 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1024 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1025 prefix=$ac_optarg ;;
1027 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1028 | --program-pre | --program-pr | --program-p)
1029 ac_prev=program_prefix ;;
1030 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1031 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1032 program_prefix=$ac_optarg ;;
1034 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1035 | --program-suf | --program-su | --program-s)
1036 ac_prev=program_suffix ;;
1037 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1038 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1039 program_suffix=$ac_optarg ;;
1041 -program-transform-name | --program-transform-name \
1042 | --program-transform-nam | --program-transform-na \
1043 | --program-transform-n | --program-transform- \
1044 | --program-transform | --program-transfor \
1045 | --program-transfo | --program-transf \
1046 | --program-trans | --program-tran \
1047 | --progr-tra | --program-tr | --program-t)
1048 ac_prev=program_transform_name ;;
1049 -program-transform-name=* | --program-transform-name=* \
1050 | --program-transform-nam=* | --program-transform-na=* \
1051 | --program-transform-n=* | --program-transform-=* \
1052 | --program-transform=* | --program-transfor=* \
1053 | --program-transfo=* | --program-transf=* \
1054 | --program-trans=* | --program-tran=* \
1055 | --progr-tra=* | --program-tr=* | --program-t=*)
1056 program_transform_name=$ac_optarg ;;
1058 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1060 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1061 pdfdir=$ac_optarg ;;
1063 -psdir | --psdir | --psdi | --psd | --ps)
1065 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1072 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1074 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1076 sbindir=$ac_optarg ;;
1078 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1079 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1080 | --sharedst | --shareds | --shared | --share | --shar \
1082 ac_prev=sharedstatedir ;;
1083 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1084 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1085 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1087 sharedstatedir=$ac_optarg ;;
1089 -site | --site | --sit)
1091 -site=* | --site=* | --sit=*)
1094 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1096 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1097 srcdir=$ac_optarg ;;
1099 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1100 | --syscon | --sysco | --sysc | --sys | --sy)
1101 ac_prev=sysconfdir ;;
1102 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1103 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1104 sysconfdir=$ac_optarg ;;
1106 -target | --target | --targe | --targ | --tar | --ta | --t)
1107 ac_prev=target_alias ;;
1108 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1109 target_alias=$ac_optarg ;;
1111 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1114 -version | --version | --versio | --versi | --vers | -V)
1115 ac_init_version=: ;;
1118 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1119 # Reject names that are not valid shell variable names.
1120 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1121 as_fn_error $? "invalid package name: $ac_useropt"
1122 ac_useropt_orig=$ac_useropt
1123 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1124 case $ac_user_opts in
1128 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1129 ac_unrecognized_sep=', ';;
1131 eval with_$ac_useropt=\$ac_optarg ;;
1133 -without-* | --without-*)
1134 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1135 # Reject names that are not valid shell variable names.
1136 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1137 as_fn_error $? "invalid package name: $ac_useropt"
1138 ac_useropt_orig=$ac_useropt
1139 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1140 case $ac_user_opts in
1144 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1145 ac_unrecognized_sep=', ';;
1147 eval with_$ac_useropt=no ;;
1150 # Obsolete; use --with-x.
1153 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1154 | --x-incl | --x-inc | --x-in | --x-i)
1155 ac_prev=x_includes ;;
1156 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1157 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1158 x_includes=$ac_optarg ;;
1160 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1161 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1162 ac_prev=x_libraries ;;
1163 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1164 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1165 x_libraries=$ac_optarg ;;
1167 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1168 Try \`$0 --help' for more information"
1172 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1173 # Reject names that are not valid shell variable names.
1174 case $ac_envvar in #(
1175 '' | [0-9]* | *[!_$as_cr_alnum]* )
1176 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1178 eval $ac_envvar=\$ac_optarg
1179 export $ac_envvar ;;
1182 # FIXME: should be removed in autoconf 3.0.
1183 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1184 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1185 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1186 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1192 if test -n "$ac_prev"; then
1193 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1194 as_fn_error $? "missing argument to $ac_option"
1197 if test -n "$ac_unrecognized_opts"; then
1198 case $enable_option_checking in
1200 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1201 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1205 # Check all directory arguments for consistency.
1206 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1207 datadir sysconfdir sharedstatedir localstatedir includedir \
1208 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1209 libdir localedir mandir
1211 eval ac_val=\$$ac_var
1212 # Remove trailing slashes.
1215 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1216 eval $ac_var=\$ac_val;;
1218 # Be sure to have absolute directory names.
1220 [\\/$]* | ?:[\\/]* ) continue;;
1221 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1223 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1226 # There might be people who depend on the old broken behavior: `$host'
1227 # used to hold the argument of --host etc.
1228 # FIXME: To remove some day.
1231 target=$target_alias
1233 # FIXME: To remove some day.
1234 if test "x$host_alias" != x; then
1235 if test "x$build_alias" = x; then
1236 cross_compiling=maybe
1237 elif test "x$build_alias" != "x$host_alias"; then
1243 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1245 test "$silent" = yes && exec 6>/dev/null
1248 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1249 ac_ls_di=`ls -di .` &&
1250 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1251 as_fn_error $? "working directory cannot be determined"
1252 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1253 as_fn_error $? "pwd does not report name of working directory"
1256 # Find the source files, if location was not specified.
1257 if test -z "$srcdir"; then
1258 ac_srcdir_defaulted=yes
1259 # Try the directory containing this script, then the parent directory.
1260 ac_confdir=`$as_dirname -- "$as_myself" ||
1261 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1262 X"$as_myself" : 'X\(//\)[^/]' \| \
1263 X"$as_myself" : 'X\(//\)$' \| \
1264 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1265 $as_echo X"$as_myself" |
1266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1284 if test ! -r "$srcdir/$ac_unique_file"; then
1288 ac_srcdir_defaulted=no
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1291 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1292 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1294 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1296 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1298 # When building in place, set srcdir=.
1299 if test "$ac_abs_confdir" = "$ac_pwd"; then
1302 # Remove unnecessary trailing slashes from srcdir.
1303 # Double slashes in file names in object file debugging info
1304 # mess up M-x gdb in Emacs.
1306 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1308 for ac_var in $ac_precious_vars; do
1309 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1310 eval ac_env_${ac_var}_value=\$${ac_var}
1311 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1312 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1316 # Report the --help message.
1318 if test "$ac_init_help" = "long"; then
1319 # Omit some internal or obsolete options to make the list less imposing.
1320 # This message is too long to be a string in the A/UX 3.1 sh.
1322 \`configure' configures sysstat 12.3.4 to adapt to many kinds of systems.
1324 Usage: $0 [OPTION]... [VAR=VALUE]...
1326 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1327 VAR=VALUE. See below for descriptions of some of the useful variables.
1329 Defaults for the options are specified in brackets.
1332 -h, --help display this help and exit
1333 --help=short display options specific to this package
1334 --help=recursive display the short help of all the included packages
1335 -V, --version display version information and exit
1336 -q, --quiet, --silent do not print \`checking ...' messages
1337 --cache-file=FILE cache test results in FILE [disabled]
1338 -C, --config-cache alias for \`--cache-file=config.cache'
1339 -n, --no-create do not create output files
1340 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1342 Installation directories:
1343 --prefix=PREFIX install architecture-independent files in PREFIX
1344 [$ac_default_prefix]
1345 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1348 By default, \`make install' will install all the files in
1349 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1350 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1351 for instance \`--prefix=\$HOME'.
1353 For better control, use the options below.
1355 Fine tuning of the installation directories:
1356 --bindir=DIR user executables [EPREFIX/bin]
1357 --sbindir=DIR system admin executables [EPREFIX/sbin]
1358 --libexecdir=DIR program executables [EPREFIX/libexec]
1359 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1360 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1361 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1362 --libdir=DIR object code libraries [EPREFIX/lib]
1363 --includedir=DIR C header files [PREFIX/include]
1364 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1365 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1366 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1367 --infodir=DIR info documentation [DATAROOTDIR/info]
1368 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1369 --mandir=DIR man documentation [DATAROOTDIR/man]
1370 --docdir=DIR documentation root [DATAROOTDIR/doc/sysstat]
1371 --htmldir=DIR html documentation [DOCDIR]
1372 --dvidir=DIR dvi documentation [DOCDIR]
1373 --pdfdir=DIR pdf documentation [DOCDIR]
1374 --psdir=DIR ps documentation [DOCDIR]
1381 if test -n "$ac_init_help"; then
1382 case $ac_init_help in
1383 short | recursive ) echo "Configuration of sysstat 12.3.4:";;
1388 --disable-option-checking ignore unrecognized --enable/--with options
1389 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1390 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1391 --disable-sensors disable sensors support
1392 --disable-pcp disable PCP support
1393 --disable-largefile omit support for large files
1394 --disable-nls disable National Language Support
1395 --disable-file-attr do not set attributes on files being installed
1396 --enable-compress-manpg compress sysstat manual pages
1397 --enable-clean-sa-dir clean system activity directory
1398 --enable-install-cron install a crontab to start sar
1399 --enable-collect-all collect all possible activities
1400 --enable-copy-only only copy files when installing
1401 --disable-documentation do not install documentation
1402 --enable-debuginfo enable debug output (--debuginfo option)
1403 --disable-stripping do not strip object files
1406 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1407 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1408 --with-systemdsystemunitdir=DIR
1409 Directory for systemd service files
1411 Some influential environment variables:
1412 CC C compiler command
1413 CFLAGS C compiler flags
1414 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1415 nonstandard directory <lib dir>
1416 LIBS libraries to pass to the linker, e.g. -l<library>
1417 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1418 you have headers in a nonstandard directory <include dir>
1420 rcdir run-commands directory
1421 sa_lib_dir sadc directory
1422 sa_dir system activity directory
1423 sar_dir sar directory
1424 conf_dir sysstat configuration directory
1425 conf_file sysstat configuration file
1426 history number of daily data files to keep (default value is 7)
1428 number of days after which data files are compressed (default
1430 man_group group for manual pages
1431 cron_owner crontab owner
1435 options to be passed to sadc
1437 Use these variables to override the choices made by `configure' or to help
1438 it to find libraries and programs with nonstandard names/locations.
1440 Report bugs to the package provider.
1445 if test "$ac_init_help" = "recursive"; then
1446 # If there are subdirs, report their specific --help.
1447 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1448 test -d "$ac_dir" ||
1449 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1454 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1456 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1457 # A ".." for each directory in $ac_dir_suffix.
1458 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1459 case $ac_top_builddir_sub in
1460 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1461 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1464 ac_abs_top_builddir=$ac_pwd
1465 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1466 # for backward compatibility:
1467 ac_top_builddir=$ac_top_build_prefix
1470 .) # We are building in place.
1472 ac_top_srcdir=$ac_top_builddir_sub
1473 ac_abs_top_srcdir=$ac_pwd ;;
1474 [\\/]* | ?:[\\/]* ) # Absolute name.
1475 ac_srcdir=$srcdir$ac_dir_suffix;
1476 ac_top_srcdir=$srcdir
1477 ac_abs_top_srcdir=$srcdir ;;
1479 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1480 ac_top_srcdir=$ac_top_build_prefix$srcdir
1481 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1483 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1485 cd "$ac_dir" || { ac_status=$?; continue; }
1486 # Check for guested configure.
1487 if test -f "$ac_srcdir/configure.gnu"; then
1489 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1490 elif test -f "$ac_srcdir/configure"; then
1492 $SHELL "$ac_srcdir/configure" --help=recursive
1494 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1496 cd "$ac_pwd" || { ac_status=$?; break; }
1500 test -n "$ac_init_help" && exit $ac_status
1501 if $ac_init_version; then
1503 sysstat configure 12.3.4
1504 generated by GNU Autoconf 2.69
1506 Copyright (C) 2012 Free Software Foundation, Inc.
1507 This configure script is free software; the Free Software Foundation
1508 gives unlimited permission to copy, distribute and modify it.
1513 ## ------------------------ ##
1514 ## Autoconf initialization. ##
1515 ## ------------------------ ##
1517 # ac_fn_c_try_compile LINENO
1518 # --------------------------
1519 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1520 ac_fn_c_try_compile ()
1522 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1523 rm -f conftest.$ac_objext
1524 if { { ac_try="$ac_compile"
1526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1527 *) ac_try_echo=$ac_try;;
1529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1530 $as_echo "$ac_try_echo"; } >&5
1531 (eval "$ac_compile") 2>conftest.err
1533 if test -s conftest.err; then
1534 grep -v '^ *+' conftest.err >conftest.er1
1535 cat conftest.er1 >&5
1536 mv -f conftest.er1 conftest.err
1538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1539 test $ac_status = 0; } && {
1540 test -z "$ac_c_werror_flag" ||
1541 test ! -s conftest.err
1542 } && test -s conftest.$ac_objext; then :
1545 $as_echo "$as_me: failed program was:" >&5
1546 sed 's/^/| /' conftest.$ac_ext >&5
1550 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1551 as_fn_set_status $ac_retval
1553 } # ac_fn_c_try_compile
1555 # ac_fn_c_try_cpp LINENO
1556 # ----------------------
1557 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1560 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1561 if { { ac_try="$ac_cpp conftest.$ac_ext"
1563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1564 *) ac_try_echo=$ac_try;;
1566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1567 $as_echo "$ac_try_echo"; } >&5
1568 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1570 if test -s conftest.err; then
1571 grep -v '^ *+' conftest.err >conftest.er1
1572 cat conftest.er1 >&5
1573 mv -f conftest.er1 conftest.err
1575 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1576 test $ac_status = 0; } > conftest.i && {
1577 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1578 test ! -s conftest.err
1582 $as_echo "$as_me: failed program was:" >&5
1583 sed 's/^/| /' conftest.$ac_ext >&5
1587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1588 as_fn_set_status $ac_retval
1592 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1593 # -------------------------------------------------------
1594 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1595 # the include files in INCLUDES and setting the cache variable VAR
1597 ac_fn_c_check_header_mongrel ()
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 if eval \${$3+:} false; then :
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1602 $as_echo_n "checking for $2... " >&6; }
1603 if eval \${$3+:} false; then :
1604 $as_echo_n "(cached) " >&6
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1608 $as_echo "$ac_res" >&6; }
1610 # Is the header compilable?
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1612 $as_echo_n "checking $2 usability... " >&6; }
1613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1614 /* end confdefs.h. */
1618 if ac_fn_c_try_compile "$LINENO"; then :
1619 ac_header_compiler=yes
1621 ac_header_compiler=no
1623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1625 $as_echo "$ac_header_compiler" >&6; }
1627 # Is the header present?
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1629 $as_echo_n "checking $2 presence... " >&6; }
1630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1631 /* end confdefs.h. */
1634 if ac_fn_c_try_cpp "$LINENO"; then :
1635 ac_header_preproc=yes
1637 ac_header_preproc=no
1639 rm -f conftest.err conftest.i conftest.$ac_ext
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1641 $as_echo "$ac_header_preproc" >&6; }
1643 # So? What about this header?
1644 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1647 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1649 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1653 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1655 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1657 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1659 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1665 $as_echo_n "checking for $2... " >&6; }
1666 if eval \${$3+:} false; then :
1667 $as_echo_n "(cached) " >&6
1669 eval "$3=\$ac_header_compiler"
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1673 $as_echo "$ac_res" >&6; }
1675 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1677 } # ac_fn_c_check_header_mongrel
1679 # ac_fn_c_try_run LINENO
1680 # ----------------------
1681 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1682 # that executables *can* be run.
1685 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1686 if { { ac_try="$ac_link"
1688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1691 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692 $as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_link") 2>&5
1695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1696 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1697 { { case "(($ac_try" in
1698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1699 *) ac_try_echo=$ac_try;;
1701 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1702 $as_echo "$ac_try_echo"; } >&5
1703 (eval "$ac_try") 2>&5
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; }; }; then :
1709 $as_echo "$as_me: program exited with status $ac_status" >&5
1710 $as_echo "$as_me: failed program was:" >&5
1711 sed 's/^/| /' conftest.$ac_ext >&5
1713 ac_retval=$ac_status
1715 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717 as_fn_set_status $ac_retval
1721 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1722 # -------------------------------------------------------
1723 # Tests whether HEADER exists and can be compiled using the include files in
1724 # INCLUDES, setting the cache variable VAR accordingly.
1725 ac_fn_c_check_header_compile ()
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729 $as_echo_n "checking for $2... " >&6; }
1730 if eval \${$3+:} false; then :
1731 $as_echo_n "(cached) " >&6
1733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1734 /* end confdefs.h. */
1738 if ac_fn_c_try_compile "$LINENO"; then :
1743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1747 $as_echo "$ac_res" >&6; }
1748 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 } # ac_fn_c_check_header_compile
1752 # ac_fn_c_try_link LINENO
1753 # -----------------------
1754 # Try to link conftest.$ac_ext, and return whether this succeeded.
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 rm -f conftest.$ac_objext conftest$ac_exeext
1759 if { { ac_try="$ac_link"
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_link") 2>conftest.err
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && {
1775 test -z "$ac_c_werror_flag" ||
1776 test ! -s conftest.err
1777 } && test -s conftest$ac_exeext && {
1778 test "$cross_compiling" = yes ||
1779 test -x conftest$ac_exeext
1783 $as_echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.$ac_ext >&5
1788 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1789 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1790 # interfere with the next link command; also delete a directory that is
1791 # left behind by Apple's compiler. We do this before executing the actions.
1792 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1794 as_fn_set_status $ac_retval
1796 } # ac_fn_c_try_link
1798 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1799 # -------------------------------------------
1800 # Tests whether TYPE exists after having included INCLUDES, setting cache
1801 # variable VAR accordingly.
1802 ac_fn_c_check_type ()
1804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1806 $as_echo_n "checking for $2... " >&6; }
1807 if eval \${$3+:} false; then :
1808 $as_echo_n "(cached) " >&6
1811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1812 /* end confdefs.h. */
1823 if ac_fn_c_try_compile "$LINENO"; then :
1824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1825 /* end confdefs.h. */
1836 if ac_fn_c_try_compile "$LINENO"; then :
1841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1847 $as_echo "$ac_res" >&6; }
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1850 } # ac_fn_c_check_type
1852 # ac_fn_c_check_func LINENO FUNC VAR
1853 # ----------------------------------
1854 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1855 ac_fn_c_check_func ()
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859 $as_echo_n "checking for $2... " >&6; }
1860 if eval \${$3+:} false; then :
1861 $as_echo_n "(cached) " >&6
1863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864 /* end confdefs.h. */
1865 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1867 #define $2 innocuous_$2
1869 /* System header to define __stub macros and hopefully few prototypes,
1870 which can conflict with char $2 (); below.
1871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1872 <limits.h> exists even on freestanding compilers. */
1875 # include <limits.h>
1877 # include <assert.h>
1882 /* Override any GCC internal prototype to avoid an error.
1883 Use char because int might match the return type of a GCC
1884 builtin and then its argument prototype would still apply. */
1889 /* The GNU C library defines this for functions which it implements
1890 to always fail with ENOSYS. Some functions are actually named
1891 something starting with __ and the normal name is an alias. */
1892 #if defined __stub_$2 || defined __stub___$2
1904 if ac_fn_c_try_link "$LINENO"; then :
1909 rm -f core conftest.err conftest.$ac_objext \
1910 conftest$ac_exeext conftest.$ac_ext
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1914 $as_echo "$ac_res" >&6; }
1915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1917 } # ac_fn_c_check_func
1918 cat >config.log <<_ACEOF
1919 This file contains any messages produced by compilers while
1920 running configure, to aid debugging if configure makes a mistake.
1922 It was created by sysstat $as_me 12.3.4, which was
1923 generated by GNU Autoconf 2.69. Invocation command line was
1935 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1936 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1937 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1938 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1939 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1941 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1942 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1944 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1945 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1946 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1947 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1948 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1949 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1950 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958 test -z "$as_dir" && as_dir=.
1959 $as_echo "PATH: $as_dir"
1975 # Keep a trace of the command line.
1976 # Strip out --no-create and --no-recursion so they do not pile up.
1977 # Strip out --silent because we don't want to record it for future runs.
1978 # Also quote any args containing shell meta-characters.
1979 # Make two passes to allow for proper duplicate-argument suppression.
1983 ac_must_keep_next=false
1989 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1990 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1991 | -silent | --silent | --silen | --sile | --sil)
1994 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1997 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1999 as_fn_append ac_configure_args1 " '$ac_arg'"
2000 if test $ac_must_keep_next = true; then
2001 ac_must_keep_next=false # Got value, back to normal.
2004 *=* | --config-cache | -C | -disable-* | --disable-* \
2005 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2006 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2007 | -with-* | --with-* | -without-* | --without-* | --x)
2008 case "$ac_configure_args0 " in
2009 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2012 -* ) ac_must_keep_next=true ;;
2015 as_fn_append ac_configure_args " '$ac_arg'"
2020 { ac_configure_args0=; unset ac_configure_args0;}
2021 { ac_configure_args1=; unset ac_configure_args1;}
2023 # When interrupted or exit'd, cleanup temporary files, and complete
2024 # config.log. We remove comments because anyway the quotes in there
2025 # would cause problems or look ugly.
2026 # WARNING: Use '\'' to represent an apostrophe within the trap.
2027 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2028 trap 'exit_status=$?
2029 # Save into config.log some information that might help in debugging.
2033 $as_echo "## ---------------- ##
2034 ## Cache variables. ##
2035 ## ---------------- ##"
2037 # The following way of writing the cache mishandles newlines in values,
2039 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2040 eval ac_val=\$$ac_var
2044 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2045 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2048 _ | IFS | as_nl) ;; #(
2049 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2050 *) { eval $ac_var=; unset $ac_var;} ;;
2055 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2056 *${as_nl}ac_space=\ *)
2058 "s/'\''/'\''\\\\'\'''\''/g;
2059 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2062 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2069 $as_echo "## ----------------- ##
2070 ## Output variables. ##
2071 ## ----------------- ##"
2073 for ac_var in $ac_subst_vars
2075 eval ac_val=\$$ac_var
2077 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2079 $as_echo "$ac_var='\''$ac_val'\''"
2083 if test -n "$ac_subst_files"; then
2084 $as_echo "## ------------------- ##
2085 ## File substitutions. ##
2086 ## ------------------- ##"
2088 for ac_var in $ac_subst_files
2090 eval ac_val=\$$ac_var
2092 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2094 $as_echo "$ac_var='\''$ac_val'\''"
2099 if test -s confdefs.h; then
2100 $as_echo "## ----------- ##
2107 test "$ac_signal" != 0 &&
2108 $as_echo "$as_me: caught signal $ac_signal"
2109 $as_echo "$as_me: exit $exit_status"
2111 rm -f core *.core core.conftest.* &&
2112 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2115 for ac_signal in 1 2 13 15; do
2116 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2120 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2121 rm -f -r conftest* confdefs.h
2123 $as_echo "/* confdefs.h */" > confdefs.h
2125 # Predefined preprocessor variables.
2127 cat >>confdefs.h <<_ACEOF
2128 #define PACKAGE_NAME "$PACKAGE_NAME"
2131 cat >>confdefs.h <<_ACEOF
2132 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2135 cat >>confdefs.h <<_ACEOF
2136 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2139 cat >>confdefs.h <<_ACEOF
2140 #define PACKAGE_STRING "$PACKAGE_STRING"
2143 cat >>confdefs.h <<_ACEOF
2144 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2147 cat >>confdefs.h <<_ACEOF
2148 #define PACKAGE_URL "$PACKAGE_URL"
2152 # Let the site file select an alternate cache file if it wants to.
2153 # Prefer an explicitly selected file to automatically selected ones.
2156 if test -n "$CONFIG_SITE"; then
2157 # We do not want a PATH search for config.site.
2158 case $CONFIG_SITE in #((
2159 -*) ac_site_file1=./$CONFIG_SITE;;
2160 */*) ac_site_file1=$CONFIG_SITE;;
2161 *) ac_site_file1=./$CONFIG_SITE;;
2163 elif test "x$prefix" != xNONE; then
2164 ac_site_file1=$prefix/share/config.site
2165 ac_site_file2=$prefix/etc/config.site
2167 ac_site_file1=$ac_default_prefix/share/config.site
2168 ac_site_file2=$ac_default_prefix/etc/config.site
2170 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2172 test "x$ac_site_file" = xNONE && continue
2173 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2175 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2176 sed 's/^/| /' "$ac_site_file" >&5
2178 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2179 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2180 as_fn_error $? "failed to load site script $ac_site_file
2181 See \`config.log' for more details" "$LINENO" 5; }
2185 if test -r "$cache_file"; then
2186 # Some versions of bash will fail to source /dev/null (special files
2187 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2188 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2190 $as_echo "$as_me: loading cache $cache_file" >&6;}
2192 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2193 *) . "./$cache_file";;
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2198 $as_echo "$as_me: creating cache $cache_file" >&6;}
2202 # Check that the precious variables saved in the cache have kept the same
2204 ac_cache_corrupted=false
2205 for ac_var in $ac_precious_vars; do
2206 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2207 eval ac_new_set=\$ac_env_${ac_var}_set
2208 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2209 eval ac_new_val=\$ac_env_${ac_var}_value
2210 case $ac_old_set,$ac_new_set in
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2213 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2214 ac_cache_corrupted=: ;;
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2217 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2218 ac_cache_corrupted=: ;;
2221 if test "x$ac_old_val" != "x$ac_new_val"; then
2222 # differences in whitespace do not lead to failure.
2223 ac_old_val_w=`echo x $ac_old_val`
2224 ac_new_val_w=`echo x $ac_new_val`
2225 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2227 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2228 ac_cache_corrupted=:
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2231 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2232 eval $ac_var=\$ac_old_val
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2235 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2237 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2240 # Pass precious variables to config.status.
2241 if test "$ac_new_set" = set; then
2243 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2244 *) ac_arg=$ac_var=$ac_new_val ;;
2246 case " $ac_configure_args " in
2247 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2248 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2252 if $ac_cache_corrupted; then
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2254 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2256 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2257 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2259 ## -------------------- ##
2260 ## Main body of script. ##
2261 ## -------------------- ##
2264 ac_cpp='$CPP $CPPFLAGS'
2265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2271 # Ensure that a recent enough version of Autoconf is being used
2274 # Check whether the configure script is in the right dir
2279 echo Check programs:
2283 ac_cpp='$CPP $CPPFLAGS'
2284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2287 if test -n "$ac_tool_prefix"; then
2288 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2289 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2291 $as_echo_n "checking for $ac_word... " >&6; }
2292 if ${ac_cv_prog_CC+:} false; then :
2293 $as_echo_n "(cached) " >&6
2295 if test -n "$CC"; then
2296 ac_cv_prog_CC="$CC" # Let the user override the test.
2298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2302 test -z "$as_dir" && as_dir=.
2303 for ac_exec_ext in '' $ac_executable_extensions; do
2304 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2305 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 if test -n "$CC"; then
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2318 $as_echo "$CC" >&6; }
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2321 $as_echo "no" >&6; }
2326 if test -z "$ac_cv_prog_CC"; then
2328 # Extract the first word of "gcc", so it can be a program name with args.
2329 set dummy gcc; ac_word=$2
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2331 $as_echo_n "checking for $ac_word... " >&6; }
2332 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2333 $as_echo_n "(cached) " >&6
2335 if test -n "$ac_ct_CC"; then
2336 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2342 test -z "$as_dir" && as_dir=.
2343 for ac_exec_ext in '' $ac_executable_extensions; do
2344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2345 ac_cv_prog_ac_ct_CC="gcc"
2346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2355 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2356 if test -n "$ac_ct_CC"; then
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2358 $as_echo "$ac_ct_CC" >&6; }
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2361 $as_echo "no" >&6; }
2364 if test "x$ac_ct_CC" = x; then
2367 case $cross_compiling:$ac_tool_warned in
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2370 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2371 ac_tool_warned=yes ;;
2379 if test -z "$CC"; then
2380 if test -n "$ac_tool_prefix"; then
2381 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2382 set dummy ${ac_tool_prefix}cc; ac_word=$2
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2384 $as_echo_n "checking for $ac_word... " >&6; }
2385 if ${ac_cv_prog_CC+:} false; then :
2386 $as_echo_n "(cached) " >&6
2388 if test -n "$CC"; then
2389 ac_cv_prog_CC="$CC" # Let the user override the test.
2391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2395 test -z "$as_dir" && as_dir=.
2396 for ac_exec_ext in '' $ac_executable_extensions; do
2397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2398 ac_cv_prog_CC="${ac_tool_prefix}cc"
2399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2409 if test -n "$CC"; then
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2411 $as_echo "$CC" >&6; }
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2414 $as_echo "no" >&6; }
2420 if test -z "$CC"; then
2421 # Extract the first word of "cc", so it can be a program name with args.
2422 set dummy cc; ac_word=$2
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2424 $as_echo_n "checking for $ac_word... " >&6; }
2425 if ${ac_cv_prog_CC+:} false; then :
2426 $as_echo_n "(cached) " >&6
2428 if test -n "$CC"; then
2429 ac_cv_prog_CC="$CC" # Let the user override the test.
2432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2436 test -z "$as_dir" && as_dir=.
2437 for ac_exec_ext in '' $ac_executable_extensions; do
2438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2439 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2440 ac_prog_rejected=yes
2444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2451 if test $ac_prog_rejected = yes; then
2452 # We found a bogon in the path, so make sure we never use it.
2453 set dummy $ac_cv_prog_CC
2455 if test $# != 0; then
2456 # We chose a different compiler from the bogus one.
2457 # However, it has the same basename, so the bogon will be chosen
2458 # first if we set CC to just the basename; use the full file name.
2460 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2466 if test -n "$CC"; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2468 $as_echo "$CC" >&6; }
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2471 $as_echo "no" >&6; }
2476 if test -z "$CC"; then
2477 if test -n "$ac_tool_prefix"; then
2478 for ac_prog in cl.exe
2480 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2481 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2483 $as_echo_n "checking for $ac_word... " >&6; }
2484 if ${ac_cv_prog_CC+:} false; then :
2485 $as_echo_n "(cached) " >&6
2487 if test -n "$CC"; then
2488 ac_cv_prog_CC="$CC" # Let the user override the test.
2490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2494 test -z "$as_dir" && as_dir=.
2495 for ac_exec_ext in '' $ac_executable_extensions; do
2496 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2497 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2508 if test -n "$CC"; then
2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2510 $as_echo "$CC" >&6; }
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2513 $as_echo "no" >&6; }
2517 test -n "$CC" && break
2520 if test -z "$CC"; then
2522 for ac_prog in cl.exe
2524 # Extract the first word of "$ac_prog", so it can be a program name with args.
2525 set dummy $ac_prog; ac_word=$2
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2527 $as_echo_n "checking for $ac_word... " >&6; }
2528 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2529 $as_echo_n "(cached) " >&6
2531 if test -n "$ac_ct_CC"; then
2532 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 test -z "$as_dir" && as_dir=.
2539 for ac_exec_ext in '' $ac_executable_extensions; do
2540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2541 ac_cv_prog_ac_ct_CC="$ac_prog"
2542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2552 if test -n "$ac_ct_CC"; then
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2554 $as_echo "$ac_ct_CC" >&6; }
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2557 $as_echo "no" >&6; }
2561 test -n "$ac_ct_CC" && break
2564 if test "x$ac_ct_CC" = x; then
2567 case $cross_compiling:$ac_tool_warned in
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2571 ac_tool_warned=yes ;;
2580 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2582 as_fn_error $? "no acceptable C compiler found in \$PATH
2583 See \`config.log' for more details" "$LINENO" 5; }
2585 # Provide some information about the compiler.
2586 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2589 for ac_option in --version -v -V -qversion; do
2590 { { ac_try="$ac_compiler $ac_option >&5"
2592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2593 *) ac_try_echo=$ac_try;;
2595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2596 $as_echo "$ac_try_echo"; } >&5
2597 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2599 if test -s conftest.err; then
2601 ... rest of stderr output deleted ...
2602 10q' conftest.err >conftest.er1
2603 cat conftest.er1 >&5
2605 rm -f conftest.er1 conftest.err
2606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2607 test $ac_status = 0; }
2610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2611 /* end confdefs.h. */
2621 ac_clean_files_save=$ac_clean_files
2622 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2623 # Try to create an executable without -o first, disregard a.out.
2624 # It will help us diagnose broken compilers, and finding out an intuition
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2627 $as_echo_n "checking whether the C compiler works... " >&6; }
2628 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2630 # The possible output files:
2631 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2634 for ac_file in $ac_files
2637 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2638 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2643 if { { ac_try="$ac_link_default"
2645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2646 *) ac_try_echo=$ac_try;;
2648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2649 $as_echo "$ac_try_echo"; } >&5
2650 (eval "$ac_link_default") 2>&5
2652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2653 test $ac_status = 0; }; then :
2654 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2655 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2656 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2657 # so that the user can short-circuit this test for compilers unknown to
2659 for ac_file in $ac_files ''
2661 test -f "$ac_file" || continue
2663 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2666 # We found the default executable, but exeext='' is most
2670 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2672 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2674 # We set ac_cv_exeext here because the later test for it is not
2675 # safe: cross compilers may not add the suffix if given an `-o'
2676 # argument, so we may need to know it at that point already.
2677 # Even if this section looks crufty: it has the advantage of
2684 test "$ac_cv_exeext" = no && ac_cv_exeext=
2689 if test -z "$ac_file"; then :
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2691 $as_echo "no" >&6; }
2692 $as_echo "$as_me: failed program was:" >&5
2693 sed 's/^/| /' conftest.$ac_ext >&5
2695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2697 as_fn_error 77 "C compiler cannot create executables
2698 See \`config.log' for more details" "$LINENO" 5; }
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2701 $as_echo "yes" >&6; }
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2704 $as_echo_n "checking for C compiler default output file name... " >&6; }
2705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2706 $as_echo "$ac_file" >&6; }
2707 ac_exeext=$ac_cv_exeext
2709 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2710 ac_clean_files=$ac_clean_files_save
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2712 $as_echo_n "checking for suffix of executables... " >&6; }
2713 if { { ac_try="$ac_link"
2715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2716 *) ac_try_echo=$ac_try;;
2718 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2719 $as_echo "$ac_try_echo"; } >&5
2720 (eval "$ac_link") 2>&5
2722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2723 test $ac_status = 0; }; then :
2724 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2725 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2726 # work properly (i.e., refer to `conftest.exe'), while it won't with
2728 for ac_file in conftest.exe conftest conftest.*; do
2729 test -f "$ac_file" || continue
2731 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2732 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2738 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2740 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2741 See \`config.log' for more details" "$LINENO" 5; }
2743 rm -f conftest conftest$ac_cv_exeext
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2745 $as_echo "$ac_cv_exeext" >&6; }
2747 rm -f conftest.$ac_ext
2748 EXEEXT=$ac_cv_exeext
2750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2751 /* end confdefs.h. */
2756 FILE *f = fopen ("conftest.out", "w");
2757 return ferror (f) || fclose (f) != 0;
2763 ac_clean_files="$ac_clean_files conftest.out"
2764 # Check that the compiler produces executables we can run. If not, either
2765 # the compiler is broken, or we cross compile.
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2767 $as_echo_n "checking whether we are cross compiling... " >&6; }
2768 if test "$cross_compiling" != yes; then
2769 { { ac_try="$ac_link"
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2775 $as_echo "$ac_try_echo"; } >&5
2776 (eval "$ac_link") 2>&5
2778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2779 test $ac_status = 0; }
2780 if { ac_try='./conftest$ac_cv_exeext'
2781 { { case "(($ac_try" in
2782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2783 *) ac_try_echo=$ac_try;;
2785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2786 $as_echo "$ac_try_echo"; } >&5
2787 (eval "$ac_try") 2>&5
2789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2790 test $ac_status = 0; }; }; then
2793 if test "$cross_compiling" = maybe; then
2796 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2798 as_fn_error $? "cannot run C compiled programs.
2799 If you meant to cross compile, use \`--host'.
2800 See \`config.log' for more details" "$LINENO" 5; }
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2805 $as_echo "$cross_compiling" >&6; }
2807 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2808 ac_clean_files=$ac_clean_files_save
2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2810 $as_echo_n "checking for suffix of object files... " >&6; }
2811 if ${ac_cv_objext+:} false; then :
2812 $as_echo_n "(cached) " >&6
2814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815 /* end confdefs.h. */
2825 rm -f conftest.o conftest.obj
2826 if { { ac_try="$ac_compile"
2828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2829 *) ac_try_echo=$ac_try;;
2831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2832 $as_echo "$ac_try_echo"; } >&5
2833 (eval "$ac_compile") 2>&5
2835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2836 test $ac_status = 0; }; then :
2837 for ac_file in conftest.o conftest.obj conftest.*; do
2838 test -f "$ac_file" || continue;
2840 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2841 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2846 $as_echo "$as_me: failed program was:" >&5
2847 sed 's/^/| /' conftest.$ac_ext >&5
2849 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2851 as_fn_error $? "cannot compute suffix of object files: cannot compile
2852 See \`config.log' for more details" "$LINENO" 5; }
2854 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2857 $as_echo "$ac_cv_objext" >&6; }
2858 OBJEXT=$ac_cv_objext
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2861 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2862 if ${ac_cv_c_compiler_gnu+:} false; then :
2863 $as_echo_n "(cached) " >&6
2865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2866 /* end confdefs.h. */
2879 if ac_fn_c_try_compile "$LINENO"; then :
2884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2885 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2889 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2890 if test $ac_compiler_gnu = yes; then
2895 ac_test_CFLAGS=${CFLAGS+set}
2896 ac_save_CFLAGS=$CFLAGS
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2898 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2899 if ${ac_cv_prog_cc_g+:} false; then :
2900 $as_echo_n "(cached) " >&6
2902 ac_save_c_werror_flag=$ac_c_werror_flag
2903 ac_c_werror_flag=yes
2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2917 if ac_fn_c_try_compile "$LINENO"; then :
2921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2922 /* end confdefs.h. */
2932 if ac_fn_c_try_compile "$LINENO"; then :
2935 ac_c_werror_flag=$ac_save_c_werror_flag
2937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2938 /* end confdefs.h. */
2948 if ac_fn_c_try_compile "$LINENO"; then :
2951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2956 ac_c_werror_flag=$ac_save_c_werror_flag
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2959 $as_echo "$ac_cv_prog_cc_g" >&6; }
2960 if test "$ac_test_CFLAGS" = set; then
2961 CFLAGS=$ac_save_CFLAGS
2962 elif test $ac_cv_prog_cc_g = yes; then
2963 if test "$GCC" = yes; then
2969 if test "$GCC" = yes; then
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2976 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2977 if ${ac_cv_prog_cc_c89+:} false; then :
2978 $as_echo_n "(cached) " >&6
2980 ac_cv_prog_cc_c89=no
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2987 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2988 struct buf { int x; };
2989 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2990 static char *e (p, i)
2996 static char *f (char * (*g) (char **, int), char **p, ...)
3001 s = g (p, va_arg (v,int));
3006 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3007 function prototypes and stuff, but not '\xHH' hex character constants.
3008 These don't provoke an error unfortunately, instead are silently treated
3009 as 'x'. The following induces an error, until -std is added to get
3010 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3011 array size at least. It's necessary to write '\x00'==0 to get something
3012 that's true only with -std. */
3013 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3015 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3016 inside strings and character constants. */
3018 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3020 int test (int i, double x);
3021 struct s1 {int (*f) (int a);};
3022 struct s2 {int (*f) (double a);};
3023 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3029 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3034 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3035 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3037 CC="$ac_save_CC $ac_arg"
3038 if ac_fn_c_try_compile "$LINENO"; then :
3039 ac_cv_prog_cc_c89=$ac_arg
3041 rm -f core conftest.err conftest.$ac_objext
3042 test "x$ac_cv_prog_cc_c89" != "xno" && break
3044 rm -f conftest.$ac_ext
3049 case "x$ac_cv_prog_cc_c89" in
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3052 $as_echo "none needed" >&6; } ;;
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3055 $as_echo "unsupported" >&6; } ;;
3057 CC="$CC $ac_cv_prog_cc_c89"
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3059 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3061 if test "x$ac_cv_prog_cc_c89" != xno; then :
3066 ac_cpp='$CPP $CPPFLAGS'
3067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3073 ac_cpp='$CPP $CPPFLAGS'
3074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3078 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3079 # On Suns, sometimes $CPP names a directory.
3080 if test -n "$CPP" && test -d "$CPP"; then
3083 if test -z "$CPP"; then
3084 if ${ac_cv_prog_CPP+:} false; then :
3085 $as_echo_n "(cached) " >&6
3087 # Double quotes because CPP needs to be expanded
3088 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3091 for ac_c_preproc_warn_flag in '' yes
3093 # Use a header file that comes with gcc, so configuring glibc
3094 # with a fresh cross-compiler works.
3095 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3096 # <limits.h> exists even on freestanding compilers.
3097 # On the NeXT, cc -E runs the code through the compiler's parser,
3098 # not just through cpp. "Syntax error" is here to catch this case.
3099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3100 /* end confdefs.h. */
3102 # include <limits.h>
3104 # include <assert.h>
3108 if ac_fn_c_try_cpp "$LINENO"; then :
3111 # Broken: fails on valid input.
3114 rm -f conftest.err conftest.i conftest.$ac_ext
3116 # OK, works on sane cases. Now check whether nonexistent headers
3117 # can be detected and how.
3118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3119 /* end confdefs.h. */
3120 #include <ac_nonexistent.h>
3122 if ac_fn_c_try_cpp "$LINENO"; then :
3123 # Broken: success on invalid input.
3126 # Passes both tests.
3130 rm -f conftest.err conftest.i conftest.$ac_ext
3133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3134 rm -f conftest.i conftest.err conftest.$ac_ext
3135 if $ac_preproc_ok; then :
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3148 $as_echo "$CPP" >&6; }
3150 for ac_c_preproc_warn_flag in '' yes
3152 # Use a header file that comes with gcc, so configuring glibc
3153 # with a fresh cross-compiler works.
3154 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3155 # <limits.h> exists even on freestanding compilers.
3156 # On the NeXT, cc -E runs the code through the compiler's parser,
3157 # not just through cpp. "Syntax error" is here to catch this case.
3158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3159 /* end confdefs.h. */
3161 # include <limits.h>
3163 # include <assert.h>
3167 if ac_fn_c_try_cpp "$LINENO"; then :
3170 # Broken: fails on valid input.
3173 rm -f conftest.err conftest.i conftest.$ac_ext
3175 # OK, works on sane cases. Now check whether nonexistent headers
3176 # can be detected and how.
3177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3178 /* end confdefs.h. */
3179 #include <ac_nonexistent.h>
3181 if ac_fn_c_try_cpp "$LINENO"; then :
3182 # Broken: success on invalid input.
3185 # Passes both tests.
3189 rm -f conftest.err conftest.i conftest.$ac_ext
3192 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3193 rm -f conftest.i conftest.err conftest.$ac_ext
3194 if $ac_preproc_ok; then :
3197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3199 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3200 See \`config.log' for more details" "$LINENO" 5; }
3204 ac_cpp='$CPP $CPPFLAGS'
3205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3211 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3212 if ${ac_cv_path_GREP+:} false; then :
3213 $as_echo_n "(cached) " >&6
3215 if test -z "$GREP"; then
3216 ac_path_GREP_found=false
3217 # Loop through the user's path and test for each of PROGNAME-LIST
3218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3219 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3222 test -z "$as_dir" && as_dir=.
3223 for ac_prog in grep ggrep; do
3224 for ac_exec_ext in '' $ac_executable_extensions; do
3225 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3226 as_fn_executable_p "$ac_path_GREP" || continue
3227 # Check for GNU ac_path_GREP and select it if it is found.
3228 # Check for GNU $ac_path_GREP
3229 case `"$ac_path_GREP" --version 2>&1` in
3231 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3234 $as_echo_n 0123456789 >"conftest.in"
3237 cat "conftest.in" "conftest.in" >"conftest.tmp"
3238 mv "conftest.tmp" "conftest.in"
3239 cp "conftest.in" "conftest.nl"
3240 $as_echo 'GREP' >> "conftest.nl"
3241 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3242 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3243 as_fn_arith $ac_count + 1 && ac_count=$as_val
3244 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3245 # Best one so far, save it but keep looking for a better one
3246 ac_cv_path_GREP="$ac_path_GREP"
3247 ac_path_GREP_max=$ac_count
3249 # 10*(2^10) chars as input seems more than enough
3250 test $ac_count -gt 10 && break
3252 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3255 $ac_path_GREP_found && break 3
3260 if test -z "$ac_cv_path_GREP"; then
3261 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3264 ac_cv_path_GREP=$GREP
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3269 $as_echo "$ac_cv_path_GREP" >&6; }
3270 GREP="$ac_cv_path_GREP"
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3274 $as_echo_n "checking for egrep... " >&6; }
3275 if ${ac_cv_path_EGREP+:} false; then :
3276 $as_echo_n "(cached) " >&6
3278 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3279 then ac_cv_path_EGREP="$GREP -E"
3281 if test -z "$EGREP"; then
3282 ac_path_EGREP_found=false
3283 # Loop through the user's path and test for each of PROGNAME-LIST
3284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3285 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3288 test -z "$as_dir" && as_dir=.
3289 for ac_prog in egrep; do
3290 for ac_exec_ext in '' $ac_executable_extensions; do
3291 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3292 as_fn_executable_p "$ac_path_EGREP" || continue
3293 # Check for GNU ac_path_EGREP and select it if it is found.
3294 # Check for GNU $ac_path_EGREP
3295 case `"$ac_path_EGREP" --version 2>&1` in
3297 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3300 $as_echo_n 0123456789 >"conftest.in"
3303 cat "conftest.in" "conftest.in" >"conftest.tmp"
3304 mv "conftest.tmp" "conftest.in"
3305 cp "conftest.in" "conftest.nl"
3306 $as_echo 'EGREP' >> "conftest.nl"
3307 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3308 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3309 as_fn_arith $ac_count + 1 && ac_count=$as_val
3310 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3311 # Best one so far, save it but keep looking for a better one
3312 ac_cv_path_EGREP="$ac_path_EGREP"
3313 ac_path_EGREP_max=$ac_count
3315 # 10*(2^10) chars as input seems more than enough
3316 test $ac_count -gt 10 && break
3318 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3321 $ac_path_EGREP_found && break 3
3326 if test -z "$ac_cv_path_EGREP"; then
3327 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3330 ac_cv_path_EGREP=$EGREP
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3336 $as_echo "$ac_cv_path_EGREP" >&6; }
3337 EGREP="$ac_cv_path_EGREP"
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3341 $as_echo_n "checking for ANSI C header files... " >&6; }
3342 if ${ac_cv_header_stdc+:} false; then :
3343 $as_echo_n "(cached) " >&6
3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3360 if ac_fn_c_try_compile "$LINENO"; then :
3361 ac_cv_header_stdc=yes
3363 ac_cv_header_stdc=no
3365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3367 if test $ac_cv_header_stdc = yes; then
3368 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h. */
3374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3375 $EGREP "memchr" >/dev/null 2>&1; then :
3378 ac_cv_header_stdc=no
3384 if test $ac_cv_header_stdc = yes; then
3385 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3387 /* end confdefs.h. */
3391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3392 $EGREP "free" >/dev/null 2>&1; then :
3395 ac_cv_header_stdc=no
3401 if test $ac_cv_header_stdc = yes; then
3402 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3403 if test "$cross_compiling" = yes; then :
3406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3407 /* end confdefs.h. */
3410 #if ((' ' & 0x0FF) == 0x020)
3411 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3412 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3414 # define ISLOWER(c) \
3415 (('a' <= (c) && (c) <= 'i') \
3416 || ('j' <= (c) && (c) <= 'r') \
3417 || ('s' <= (c) && (c) <= 'z'))
3418 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3421 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3426 for (i = 0; i < 256; i++)
3427 if (XOR (islower (i), ISLOWER (i))
3428 || toupper (i) != TOUPPER (i))
3433 if ac_fn_c_try_run "$LINENO"; then :
3436 ac_cv_header_stdc=no
3438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3439 conftest.$ac_objext conftest.beam conftest.$ac_ext
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3445 $as_echo "$ac_cv_header_stdc" >&6; }
3446 if test $ac_cv_header_stdc = yes; then
3448 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3452 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3453 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3454 inttypes.h stdint.h unistd.h
3456 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3457 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3459 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3460 cat >>confdefs.h <<_ACEOF
3461 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3470 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3471 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3478 if test "$MINIX" = yes; then
3480 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3483 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3486 $as_echo "#define _MINIX 1" >>confdefs.h
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3492 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3493 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3494 $as_echo_n "(cached) " >&6
3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3499 # define __EXTENSIONS__ 1
3500 $ac_includes_default
3509 if ac_fn_c_try_compile "$LINENO"; then :
3510 ac_cv_safe_to_define___extensions__=yes
3512 ac_cv_safe_to_define___extensions__=no
3514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3517 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3518 test $ac_cv_safe_to_define___extensions__ = yes &&
3519 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3521 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3523 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3525 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3527 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3532 $as_echo_n "checking whether ln -s works... " >&6; }
3534 if test "$LN_S" = "ln -s"; then
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3536 $as_echo "yes" >&6; }
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3539 $as_echo "no, using $LN_S" >&6; }
3545 # Extract the first word of "chmod", so it can be a program name with args.
3546 set dummy chmod; ac_word=$2
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3548 $as_echo_n "checking for $ac_word... " >&6; }
3549 if ${ac_cv_prog_CHMOD+:} false; then :
3550 $as_echo_n "(cached) " >&6
3552 if test -n "$CHMOD"; then
3553 ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
3555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3559 test -z "$as_dir" && as_dir=.
3560 for ac_exec_ext in '' $ac_executable_extensions; do
3561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3562 ac_cv_prog_CHMOD="chmod"
3563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3572 CHMOD=$ac_cv_prog_CHMOD
3573 if test -n "$CHMOD"; then
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
3575 $as_echo "$CHMOD" >&6; }
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3578 $as_echo "no" >&6; }
3582 # Extract the first word of "chown", so it can be a program name with args.
3583 set dummy chown; ac_word=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if ${ac_cv_prog_CHOWN+:} false; then :
3587 $as_echo_n "(cached) " >&6
3589 if test -n "$CHOWN"; then
3590 ac_cv_prog_CHOWN="$CHOWN" # Let the user override the test.
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3596 test -z "$as_dir" && as_dir=.
3597 for ac_exec_ext in '' $ac_executable_extensions; do
3598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3599 ac_cv_prog_CHOWN="chown"
3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 CHOWN=$ac_cv_prog_CHOWN
3610 if test -n "$CHOWN"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHOWN" >&5
3612 $as_echo "$CHOWN" >&6; }
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3619 # Extract the first word of "ar", so it can be a program name with args.
3620 set dummy ar; ac_word=$2
3621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3622 $as_echo_n "checking for $ac_word... " >&6; }
3623 if ${ac_cv_prog_AR+:} false; then :
3624 $as_echo_n "(cached) " >&6
3626 if test -n "$AR"; then
3627 ac_cv_prog_AR="$AR" # Let the user override the test.
3629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3633 test -z "$as_dir" && as_dir=.
3634 for ac_exec_ext in '' $ac_executable_extensions; do
3635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 if test -n "$AR"; then
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3649 $as_echo "$AR" >&6; }
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3652 $as_echo "no" >&6; }
3656 # Extract the first word of "install", so it can be a program name with args.
3657 set dummy install; ac_word=$2
3658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3659 $as_echo_n "checking for $ac_word... " >&6; }
3660 if ${ac_cv_prog_INSTALL+:} false; then :
3661 $as_echo_n "(cached) " >&6
3663 if test -n "$INSTALL"; then
3664 ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
3666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3670 test -z "$as_dir" && as_dir=.
3671 for ac_exec_ext in '' $ac_executable_extensions; do
3672 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3673 ac_cv_prog_INSTALL="install"
3674 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3683 INSTALL=$ac_cv_prog_INSTALL
3684 if test -n "$INSTALL"; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3686 $as_echo "$INSTALL" >&6; }
3688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3689 $as_echo "no" >&6; }
3693 # Extract the first word of "msgfmt", so it can be a program name with args.
3694 set dummy msgfmt; ac_word=$2
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3696 $as_echo_n "checking for $ac_word... " >&6; }
3697 if ${ac_cv_prog_MSGFMT+:} false; then :
3698 $as_echo_n "(cached) " >&6
3700 if test -n "$MSGFMT"; then
3701 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707 test -z "$as_dir" && as_dir=.
3708 for ac_exec_ext in '' $ac_executable_extensions; do
3709 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3710 ac_cv_prog_MSGFMT="msgfmt"
3711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3720 MSGFMT=$ac_cv_prog_MSGFMT
3721 if test -n "$MSGFMT"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3723 $as_echo "$MSGFMT" >&6; }
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3730 # Extract the first word of "xgettext", so it can be a program name with args.
3731 set dummy xgettext; ac_word=$2
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3733 $as_echo_n "checking for $ac_word... " >&6; }
3734 if ${ac_cv_prog_XGETTEXT+:} false; then :
3735 $as_echo_n "(cached) " >&6
3737 if test -n "$XGETTEXT"; then
3738 ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test.
3740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 test -z "$as_dir" && as_dir=.
3745 for ac_exec_ext in '' $ac_executable_extensions; do
3746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3747 ac_cv_prog_XGETTEXT="xgettext"
3748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3757 XGETTEXT=$ac_cv_prog_XGETTEXT
3758 if test -n "$XGETTEXT"; then
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3760 $as_echo "$XGETTEXT" >&6; }
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3763 $as_echo "no" >&6; }
3767 # Extract the first word of "msgmerge", so it can be a program name with args.
3768 set dummy msgmerge; ac_word=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if ${ac_cv_prog_MSGMERGE+:} false; then :
3772 $as_echo_n "(cached) " >&6
3774 if test -n "$MSGMERGE"; then
3775 ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test.
3777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3781 test -z "$as_dir" && as_dir=.
3782 for ac_exec_ext in '' $ac_executable_extensions; do
3783 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3784 ac_cv_prog_MSGMERGE="msgmerge"
3785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3794 MSGMERGE=$ac_cv_prog_MSGMERGE
3795 if test -n "$MSGMERGE"; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3797 $as_echo "$MSGMERGE" >&6; }
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3800 $as_echo "no" >&6; }
3804 # Extract the first word of "xmllint", so it can be a program name with args.
3805 set dummy xmllint; ac_word=$2
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3807 $as_echo_n "checking for $ac_word... " >&6; }
3808 if ${ac_cv_prog_VER_XML+:} false; then :
3809 $as_echo_n "(cached) " >&6
3811 if test -n "$VER_XML"; then
3812 ac_cv_prog_VER_XML="$VER_XML" # Let the user override the test.
3814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3818 test -z "$as_dir" && as_dir=.
3819 for ac_exec_ext in '' $ac_executable_extensions; do
3820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3821 ac_cv_prog_VER_XML="xmllint"
3822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3831 VER_XML=$ac_cv_prog_VER_XML
3832 if test -n "$VER_XML"; then
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VER_XML" >&5
3834 $as_echo "$VER_XML" >&6; }
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3837 $as_echo "no" >&6; }
3841 for ac_prog in json_verify json_pp
3843 # Extract the first word of "$ac_prog", so it can be a program name with args.
3844 set dummy $ac_prog; ac_word=$2
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3846 $as_echo_n "checking for $ac_word... " >&6; }
3847 if ${ac_cv_prog_VER_JSON+:} false; then :
3848 $as_echo_n "(cached) " >&6
3850 if test -n "$VER_JSON"; then
3851 ac_cv_prog_VER_JSON="$VER_JSON" # Let the user override the test.
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3857 test -z "$as_dir" && as_dir=.
3858 for ac_exec_ext in '' $ac_executable_extensions; do
3859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3860 ac_cv_prog_VER_JSON="$ac_prog"
3861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3870 VER_JSON=$ac_cv_prog_VER_JSON
3871 if test -n "$VER_JSON"; then
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VER_JSON" >&5
3873 $as_echo "$VER_JSON" >&6; }
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876 $as_echo "no" >&6; }
3880 test -n "$VER_JSON" && break
3882 test -n "$VER_JSON" || VER_JSON="true"
3884 for ac_prog in xz bzip2 gzip
3886 # Extract the first word of "$ac_prog", so it can be a program name with args.
3887 set dummy $ac_prog; ac_word=$2
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3889 $as_echo_n "checking for $ac_word... " >&6; }
3890 if ${ac_cv_prog_ZIP+:} false; then :
3891 $as_echo_n "(cached) " >&6
3893 if test -n "$ZIP"; then
3894 ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
3896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3900 test -z "$as_dir" && as_dir=.
3901 for ac_exec_ext in '' $ac_executable_extensions; do
3902 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3903 ac_cv_prog_ZIP="$ac_prog"
3904 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3914 if test -n "$ZIP"; then
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
3916 $as_echo "$ZIP" >&6; }
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3919 $as_echo "no" >&6; }
3923 test -n "$ZIP" && break
3925 test -n "$ZIP" || ZIP="gzip"
3927 INSTALL_DATA="\${INSTALL} -m 644"
3929 INSTALL_BIN="\${INSTALL} -m 755"
3935 # Extract the first word of "cp", so it can be a program name with args.
3936 set dummy cp; ac_word=$2
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3938 $as_echo_n "checking for $ac_word... " >&6; }
3939 if ${ac_cv_path_PATH_CP+:} false; then :
3940 $as_echo_n "(cached) " >&6
3944 ac_cv_path_PATH_CP="$PATH_CP" # Let the user override the test with a path.
3947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3951 test -z "$as_dir" && as_dir=.
3952 for ac_exec_ext in '' $ac_executable_extensions; do
3953 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3954 ac_cv_path_PATH_CP="$as_dir/$ac_word$ac_exec_ext"
3955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3965 PATH_CP=$ac_cv_path_PATH_CP
3966 if test -n "$PATH_CP"; then
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CP" >&5
3968 $as_echo "$PATH_CP" >&6; }
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3971 $as_echo "no" >&6; }
3975 # Extract the first word of "chkconfig", so it can be a program name with args.
3976 set dummy chkconfig; ac_word=$2
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3978 $as_echo_n "checking for $ac_word... " >&6; }
3979 if ${ac_cv_path_PATH_CHKCONFIG+:} false; then :
3980 $as_echo_n "(cached) " >&6
3982 case $PATH_CHKCONFIG in
3984 ac_cv_path_PATH_CHKCONFIG="$PATH_CHKCONFIG" # Let the user override the test with a path.
3987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 test -z "$as_dir" && as_dir=.
3992 for ac_exec_ext in '' $ac_executable_extensions; do
3993 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3994 ac_cv_path_PATH_CHKCONFIG="$as_dir/$ac_word$ac_exec_ext"
3995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 PATH_CHKCONFIG=$ac_cv_path_PATH_CHKCONFIG
4006 if test -n "$PATH_CHKCONFIG"; then
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CHKCONFIG" >&5
4008 $as_echo "$PATH_CHKCONFIG" >&6; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 $as_echo "no" >&6; }
4017 # Extract the first word of "pkg-config", so it can be a program name with args.
4018 set dummy pkg-config; ac_word=$2
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4020 $as_echo_n "checking for $ac_word... " >&6; }
4021 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4022 $as_echo_n "(cached) " >&6
4024 if test -n "$PKG_CONFIG"; then
4025 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4031 test -z "$as_dir" && as_dir=.
4032 for ac_exec_ext in '' $ac_executable_extensions; do
4033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4034 ac_cv_prog_PKG_CONFIG="pkg-config"
4035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4044 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4045 if test -n "$PKG_CONFIG"; then
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4047 $as_echo "$PKG_CONFIG" >&6; }
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4050 $as_echo "no" >&6; }
4054 # Extract the first word of "systemctl", so it can be a program name with args.
4055 set dummy systemctl; ac_word=$2
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4057 $as_echo_n "checking for $ac_word... " >&6; }
4058 if ${ac_cv_path_SYSTEMCTL+:} false; then :
4059 $as_echo_n "(cached) " >&6
4063 ac_cv_path_SYSTEMCTL="$SYSTEMCTL" # Let the user override the test with a path.
4066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4070 test -z "$as_dir" && as_dir=.
4071 for ac_exec_ext in '' $ac_executable_extensions; do
4072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4073 ac_cv_path_SYSTEMCTL="$as_dir/$ac_word$ac_exec_ext"
4074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4084 SYSTEMCTL=$ac_cv_path_SYSTEMCTL
4085 if test -n "$SYSTEMCTL"; then
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSTEMCTL" >&5
4087 $as_echo "$SYSTEMCTL" >&6; }
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4090 $as_echo "no" >&6; }
4095 # Check whether --with-systemdsystemunitdir was given.
4096 if test "${with_systemdsystemunitdir+set}" = set; then :
4097 withval=$with_systemdsystemunitdir;
4099 with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
4102 if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ; then
4103 SYSTEMD_UNIT_DIR=$with_systemdsystemunitdir
4109 # Check header files
4111 echo Check header files:
4115 HAVE_SYS_SYSMACROS_H=
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4118 $as_echo_n "checking for ANSI C header files... " >&6; }
4119 if ${ac_cv_header_stdc+:} false; then :
4120 $as_echo_n "(cached) " >&6
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4137 if ac_fn_c_try_compile "$LINENO"; then :
4138 ac_cv_header_stdc=yes
4140 ac_cv_header_stdc=no
4142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4144 if test $ac_cv_header_stdc = yes; then
4145 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4147 /* end confdefs.h. */
4151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4152 $EGREP "memchr" >/dev/null 2>&1; then :
4155 ac_cv_header_stdc=no
4161 if test $ac_cv_header_stdc = yes; then
4162 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4169 $EGREP "free" >/dev/null 2>&1; then :
4172 ac_cv_header_stdc=no
4178 if test $ac_cv_header_stdc = yes; then
4179 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4180 if test "$cross_compiling" = yes; then :
4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h. */
4187 #if ((' ' & 0x0FF) == 0x020)
4188 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4189 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4191 # define ISLOWER(c) \
4192 (('a' <= (c) && (c) <= 'i') \
4193 || ('j' <= (c) && (c) <= 'r') \
4194 || ('s' <= (c) && (c) <= 'z'))
4195 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4198 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4203 for (i = 0; i < 256; i++)
4204 if (XOR (islower (i), ISLOWER (i))
4205 || toupper (i) != TOUPPER (i))
4210 if ac_fn_c_try_run "$LINENO"; then :
4213 ac_cv_header_stdc=no
4215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4216 conftest.$ac_objext conftest.beam conftest.$ac_ext
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4222 $as_echo "$ac_cv_header_stdc" >&6; }
4223 if test $ac_cv_header_stdc = yes; then
4225 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4230 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4231 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4233 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4234 if eval \${$as_ac_Header+:} false; then :
4235 $as_echo_n "(cached) " >&6
4237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4238 /* end confdefs.h. */
4239 #include <sys/types.h>
4251 if ac_fn_c_try_compile "$LINENO"; then :
4252 eval "$as_ac_Header=yes"
4254 eval "$as_ac_Header=no"
4256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4258 eval ac_res=\$$as_ac_Header
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4260 $as_echo "$ac_res" >&6; }
4261 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4262 cat >>confdefs.h <<_ACEOF
4263 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4266 ac_header_dirent=$ac_hdr; break
4270 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4271 if test $ac_header_dirent = dirent.h; then
4272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4273 $as_echo_n "checking for library containing opendir... " >&6; }
4274 if ${ac_cv_search_opendir+:} false; then :
4275 $as_echo_n "(cached) " >&6
4277 ac_func_search_save_LIBS=$LIBS
4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4279 /* end confdefs.h. */
4281 /* Override any GCC internal prototype to avoid an error.
4282 Use char because int might match the return type of a GCC
4283 builtin and then its argument prototype would still apply. */
4296 for ac_lib in '' dir; do
4297 if test -z "$ac_lib"; then
4298 ac_res="none required"
4301 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4303 if ac_fn_c_try_link "$LINENO"; then :
4304 ac_cv_search_opendir=$ac_res
4306 rm -f core conftest.err conftest.$ac_objext \
4308 if ${ac_cv_search_opendir+:} false; then :
4312 if ${ac_cv_search_opendir+:} false; then :
4315 ac_cv_search_opendir=no
4318 LIBS=$ac_func_search_save_LIBS
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4321 $as_echo "$ac_cv_search_opendir" >&6; }
4322 ac_res=$ac_cv_search_opendir
4323 if test "$ac_res" != no; then :
4324 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4330 $as_echo_n "checking for library containing opendir... " >&6; }
4331 if ${ac_cv_search_opendir+:} false; then :
4332 $as_echo_n "(cached) " >&6
4334 ac_func_search_save_LIBS=$LIBS
4335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4336 /* end confdefs.h. */
4338 /* Override any GCC internal prototype to avoid an error.
4339 Use char because int might match the return type of a GCC
4340 builtin and then its argument prototype would still apply. */
4353 for ac_lib in '' x; do
4354 if test -z "$ac_lib"; then
4355 ac_res="none required"
4358 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4360 if ac_fn_c_try_link "$LINENO"; then :
4361 ac_cv_search_opendir=$ac_res
4363 rm -f core conftest.err conftest.$ac_objext \
4365 if ${ac_cv_search_opendir+:} false; then :
4369 if ${ac_cv_search_opendir+:} false; then :
4372 ac_cv_search_opendir=no
4375 LIBS=$ac_func_search_save_LIBS
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4378 $as_echo "$ac_cv_search_opendir" >&6; }
4379 ac_res=$ac_cv_search_opendir
4380 if test "$ac_res" != no; then :
4381 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4387 for ac_header in ctype.h
4389 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
4390 if test "x$ac_cv_header_ctype_h" = xyes; then :
4391 cat >>confdefs.h <<_ACEOF
4392 #define HAVE_CTYPE_H 1
4399 for ac_header in errno.h
4401 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
4402 if test "x$ac_cv_header_errno_h" = xyes; then :
4403 cat >>confdefs.h <<_ACEOF
4404 #define HAVE_ERRNO_H 1
4411 for ac_header in libintl.h
4413 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4414 if test "x$ac_cv_header_libintl_h" = xyes; then :
4415 cat >>confdefs.h <<_ACEOF
4416 #define HAVE_LIBINTL_H 1
4423 for ac_header in locale.h
4425 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4426 if test "x$ac_cv_header_locale_h" = xyes; then :
4427 cat >>confdefs.h <<_ACEOF
4428 #define HAVE_LOCALE_H 1
4435 for ac_header in linux/sched.h
4437 ac_fn_c_check_header_mongrel "$LINENO" "linux/sched.h" "ac_cv_header_linux_sched_h" "$ac_includes_default"
4438 if test "x$ac_cv_header_linux_sched_h" = xyes; then :
4439 cat >>confdefs.h <<_ACEOF
4440 #define HAVE_LINUX_SCHED_H 1
4442 HAVE_LINUX_SCHED_H=1
4447 for ac_header in net/if.h
4449 ac_fn_c_check_header_mongrel "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default"
4450 if test "x$ac_cv_header_net_if_h" = xyes; then :
4451 cat >>confdefs.h <<_ACEOF
4452 #define HAVE_NET_IF_H 1
4459 for ac_header in regex.h
4461 ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
4462 if test "x$ac_cv_header_regex_h" = xyes; then :
4463 cat >>confdefs.h <<_ACEOF
4464 #define HAVE_REGEX_H 1
4471 for ac_header in signal.h
4473 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
4474 if test "x$ac_cv_header_signal_h" = xyes; then :
4475 cat >>confdefs.h <<_ACEOF
4476 #define HAVE_SIGNAL_H 1
4483 for ac_header in stdio.h
4485 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
4486 if test "x$ac_cv_header_stdio_h" = xyes; then :
4487 cat >>confdefs.h <<_ACEOF
4488 #define HAVE_STDIO_H 1
4495 for ac_header in stdint.h
4497 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
4498 if test "x$ac_cv_header_stdint_h" = xyes; then :
4499 cat >>confdefs.h <<_ACEOF
4500 #define HAVE_STDINT_H 1
4507 for ac_header in fcntl.h
4509 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
4510 if test "x$ac_cv_header_fcntl_h" = xyes; then :
4511 cat >>confdefs.h <<_ACEOF
4512 #define HAVE_FCNTL_H 1
4519 for ac_header in inttypes.h
4521 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
4522 if test "x$ac_cv_header_inttypes_h" = xyes; then :
4523 cat >>confdefs.h <<_ACEOF
4524 #define HAVE_INTTYPES_H 1
4531 for ac_header in libgen.h
4533 ac_fn_c_check_header_mongrel "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default"
4534 if test "x$ac_cv_header_libgen_h" = xyes; then :
4535 cat >>confdefs.h <<_ACEOF
4536 #define HAVE_LIBGEN_H 1
4543 for ac_header in pwd.h
4545 ac_fn_c_check_header_mongrel "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
4546 if test "x$ac_cv_header_pwd_h" = xyes; then :
4547 cat >>confdefs.h <<_ACEOF
4548 #define HAVE_PWD_H 1
4555 for ac_header in time.h
4557 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
4558 if test "x$ac_cv_header_time_h" = xyes; then :
4559 cat >>confdefs.h <<_ACEOF
4560 #define HAVE_TIME_H 1
4567 for ac_header in unistd.h
4569 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
4570 if test "x$ac_cv_header_unistd_h" = xyes; then :
4571 cat >>confdefs.h <<_ACEOF
4572 #define HAVE_UNISTD_H 1
4579 for ac_header in pcp/pmapi.h
4581 ac_fn_c_check_header_mongrel "$LINENO" "pcp/pmapi.h" "ac_cv_header_pcp_pmapi_h" "$ac_includes_default"
4582 if test "x$ac_cv_header_pcp_pmapi_h" = xyes; then :
4583 cat >>confdefs.h <<_ACEOF
4584 #define HAVE_PCP_PMAPI_H 1
4591 for ac_header in pcp/impl.h
4593 ac_fn_c_check_header_mongrel "$LINENO" "pcp/impl.h" "ac_cv_header_pcp_impl_h" "$ac_includes_default"
4594 if test "x$ac_cv_header_pcp_impl_h" = xyes; then :
4595 cat >>confdefs.h <<_ACEOF
4596 #define HAVE_PCP_IMPL_H 1
4603 for ac_header in sys/time.h
4605 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
4606 if test "x$ac_cv_header_sys_time_h" = xyes; then :
4607 cat >>confdefs.h <<_ACEOF
4608 #define HAVE_SYS_TIME_H 1
4615 for ac_header in sys/statvfs.h
4617 ac_fn_c_check_header_mongrel "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
4618 if test "x$ac_cv_header_sys_statvfs_h" = xyes; then :
4619 cat >>confdefs.h <<_ACEOF
4620 #define HAVE_SYS_STATVFS_H 1
4627 for ac_header in sys/types.h
4629 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
4630 if test "x$ac_cv_header_sys_types_h" = xyes; then :
4631 cat >>confdefs.h <<_ACEOF
4632 #define HAVE_SYS_TYPES_H 1
4639 for ac_header in sys/file.h
4641 ac_fn_c_check_header_mongrel "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
4642 if test "x$ac_cv_header_sys_file_h" = xyes; then :
4643 cat >>confdefs.h <<_ACEOF
4644 #define HAVE_SYS_FILE_H 1
4651 for ac_header in sys/ioctl.h
4653 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
4654 if test "x$ac_cv_header_sys_ioctl_h" = xyes; then :
4655 cat >>confdefs.h <<_ACEOF
4656 #define HAVE_SYS_IOCTL_H 1
4663 for ac_header in sys/param.h
4665 ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
4666 if test "x$ac_cv_header_sys_param_h" = xyes; then :
4667 cat >>confdefs.h <<_ACEOF
4668 #define HAVE_SYS_PARAM_H 1
4675 for ac_header in sys/stat.h
4677 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
4678 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
4679 cat >>confdefs.h <<_ACEOF
4680 #define HAVE_SYS_STAT_H 1
4687 for ac_header in sys/sysmacros.h
4689 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
4690 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
4691 cat >>confdefs.h <<_ACEOF
4692 #define HAVE_SYS_SYSMACROS_H 1
4694 HAVE_SYS_SYSMACROS_H=1
4699 for ac_header in sys/utsname.h
4701 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
4702 if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
4703 cat >>confdefs.h <<_ACEOF
4704 #define HAVE_SYS_UTSNAME_H 1
4713 echo Check typedefs, structures and compiler characteristics:
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4716 $as_echo_n "checking return type of signal handlers... " >&6; }
4717 if ${ac_cv_type_signal+:} false; then :
4718 $as_echo_n "(cached) " >&6
4720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4721 /* end confdefs.h. */
4722 #include <sys/types.h>
4728 return *(signal (0, 0)) (0) == 1;
4733 if ac_fn_c_try_compile "$LINENO"; then :
4734 ac_cv_type_signal=int
4736 ac_cv_type_signal=void
4738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4741 $as_echo "$ac_cv_type_signal" >&6; }
4743 cat >>confdefs.h <<_ACEOF
4744 #define RETSIGTYPE $ac_cv_type_signal
4748 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4749 if test "x$ac_cv_type_size_t" = xyes; then :
4753 cat >>confdefs.h <<_ACEOF
4754 #define size_t unsigned int
4759 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4760 if test "x$ac_cv_type_off_t" = xyes; then :
4764 cat >>confdefs.h <<_ACEOF
4765 #define off_t long int
4772 echo Check library functions:
4774 for ac_func in strchr
4776 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
4777 if test "x$ac_cv_func_strchr" = xyes; then :
4778 cat >>confdefs.h <<_ACEOF
4779 #define HAVE_STRCHR 1
4785 for ac_func in strcspn
4787 ac_fn_c_check_func "$LINENO" "strcspn" "ac_cv_func_strcspn"
4788 if test "x$ac_cv_func_strcspn" = xyes; then :
4789 cat >>confdefs.h <<_ACEOF
4790 #define HAVE_STRCSPN 1
4796 for ac_func in strspn
4798 ac_fn_c_check_func "$LINENO" "strspn" "ac_cv_func_strspn"
4799 if test "x$ac_cv_func_strspn" = xyes; then :
4800 cat >>confdefs.h <<_ACEOF
4801 #define HAVE_STRSPN 1
4807 for ac_func in strstr
4809 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
4810 if test "x$ac_cv_func_strstr" = xyes; then :
4811 cat >>confdefs.h <<_ACEOF
4812 #define HAVE_STRSTR 1
4819 # Should we check for lm_sensors?
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors support" >&5
4821 $as_echo_n "checking for sensors support... " >&6; }
4822 # Check whether --enable-sensors was given.
4823 if test "${enable_sensors+set}" = set; then :
4824 enableval=$enable_sensors; SENSORS=$enableval
4829 if test $SENSORS != "yes"; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4835 $as_echo "$SENSORS" >&6; }
4837 # Check for lm_sensors
4840 if test $HAVE_SENSORS = "y"; then
4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_get_detected_chips in -lsensors" >&5
4843 $as_echo_n "checking for sensors_get_detected_chips in -lsensors... " >&6; }
4844 if ${ac_cv_lib_sensors_sensors_get_detected_chips+:} false; then :
4845 $as_echo_n "(cached) " >&6
4847 ac_check_lib_save_LIBS=$LIBS
4848 LIBS="-lsensors $LIBS"
4849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4850 /* end confdefs.h. */
4852 /* Override any GCC internal prototype to avoid an error.
4853 Use char because int might match the return type of a GCC
4854 builtin and then its argument prototype would still apply. */
4858 char sensors_get_detected_chips ();
4862 return sensors_get_detected_chips ();
4867 if ac_fn_c_try_link "$LINENO"; then :
4868 ac_cv_lib_sensors_sensors_get_detected_chips=yes
4870 ac_cv_lib_sensors_sensors_get_detected_chips=no
4872 rm -f core conftest.err conftest.$ac_objext \
4873 conftest$ac_exeext conftest.$ac_ext
4874 LIBS=$ac_check_lib_save_LIBS
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_get_detected_chips" >&5
4877 $as_echo "$ac_cv_lib_sensors_sensors_get_detected_chips" >&6; }
4878 if test "x$ac_cv_lib_sensors_sensors_get_detected_chips" = xyes; then :
4879 LFSENSORS="-lsensors"
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors lib" >&5
4885 $as_echo_n "checking for sensors lib... " >&6; }
4886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4887 /* end confdefs.h. */
4888 #include <sensors/sensors.h>
4889 #include <sensors/error.h>
4899 if ac_fn_c_try_compile "$LINENO"; then :
4900 SENSORS=yes; DFSENSORS="-DHAVE_SENSORS"
4902 HAVE_SENSORS="n"; SENSORS=no
4904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4906 $as_echo "$SENSORS" >&6; }
4912 # Should we check for PCP support?
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCP support" >&5
4914 $as_echo_n "checking for PCP support... " >&6; }
4915 # Check whether --enable-pcp was given.
4916 if test "${enable_pcp+set}" = set; then :
4917 enableval=$enable_pcp; PCP=$enableval
4922 if test $PCP != "yes"; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCP" >&5
4928 $as_echo "$PCP" >&6; }
4930 if test ! $HAVE_PCP_PMAPI_H; then
4934 # Check for PCP libraries
4937 if test $HAVE_PCP = "y"; then
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pmGetVersion in -lpcp" >&5
4940 $as_echo_n "checking for pmGetVersion in -lpcp... " >&6; }
4941 if ${ac_cv_lib_pcp_pmGetVersion+:} false; then :
4942 $as_echo_n "(cached) " >&6
4944 ac_check_lib_save_LIBS=$LIBS
4946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4947 /* end confdefs.h. */
4949 /* Override any GCC internal prototype to avoid an error.
4950 Use char because int might match the return type of a GCC
4951 builtin and then its argument prototype would still apply. */
4955 char pmGetVersion ();
4959 return pmGetVersion ();
4964 if ac_fn_c_try_link "$LINENO"; then :
4965 ac_cv_lib_pcp_pmGetVersion=yes
4967 ac_cv_lib_pcp_pmGetVersion=no
4969 rm -f core conftest.err conftest.$ac_objext \
4970 conftest$ac_exeext conftest.$ac_ext
4971 LIBS=$ac_check_lib_save_LIBS
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcp_pmGetVersion" >&5
4974 $as_echo "$ac_cv_lib_pcp_pmGetVersion" >&6; }
4975 if test "x$ac_cv_lib_pcp_pmGetVersion" = xyes; then :
4976 LFPCP="-lpcp -lpcp_import"
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCP libraries" >&5
4982 $as_echo_n "checking for PCP libraries... " >&6; }
4983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4985 #include <pcp/pmapi.h>
4986 #include <pcp/import.h>
4996 if ac_fn_c_try_compile "$LINENO"; then :
4997 PCP=yes; DFPCP="-DHAVE_PCP"
4999 HAVE_PCP="n"; PCP=no
5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCP" >&5
5003 $as_echo "$PCP" >&6; }
5009 if test $HAVE_PCP_IMPL_H; then
5017 echo Check system services:
5019 # Check whether --enable-largefile was given.
5020 if test "${enable_largefile+set}" = set; then :
5021 enableval=$enable_largefile;
5024 if test "$enable_largefile" != no; then
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5027 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5028 if ${ac_cv_sys_largefile_CC+:} false; then :
5029 $as_echo_n "(cached) " >&6
5031 ac_cv_sys_largefile_CC=no
5032 if test "$GCC" != yes; then
5035 # IRIX 6.2 and later do not support large files by default,
5036 # so use the C compiler's -n32 option if that helps.
5037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5038 /* end confdefs.h. */
5039 #include <sys/types.h>
5040 /* Check that off_t can represent 2**63 - 1 correctly.
5041 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5042 since some C++ compilers masquerading as C compilers
5043 incorrectly reject 9223372036854775807. */
5044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5046 && LARGE_OFF_T % 2147483647 == 1)
5056 if ac_fn_c_try_compile "$LINENO"; then :
5059 rm -f core conftest.err conftest.$ac_objext
5061 if ac_fn_c_try_compile "$LINENO"; then :
5062 ac_cv_sys_largefile_CC=' -n32'; break
5064 rm -f core conftest.err conftest.$ac_objext
5068 rm -f conftest.$ac_ext
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5072 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5073 if test "$ac_cv_sys_largefile_CC" != no; then
5074 CC=$CC$ac_cv_sys_largefile_CC
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5078 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5079 if ${ac_cv_sys_file_offset_bits+:} false; then :
5080 $as_echo_n "(cached) " >&6
5083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5084 /* end confdefs.h. */
5085 #include <sys/types.h>
5086 /* Check that off_t can represent 2**63 - 1 correctly.
5087 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5088 since some C++ compilers masquerading as C compilers
5089 incorrectly reject 9223372036854775807. */
5090 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5091 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5092 && LARGE_OFF_T % 2147483647 == 1)
5102 if ac_fn_c_try_compile "$LINENO"; then :
5103 ac_cv_sys_file_offset_bits=no; break
5105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5107 /* end confdefs.h. */
5108 #define _FILE_OFFSET_BITS 64
5109 #include <sys/types.h>
5110 /* Check that off_t can represent 2**63 - 1 correctly.
5111 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5112 since some C++ compilers masquerading as C compilers
5113 incorrectly reject 9223372036854775807. */
5114 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5115 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5116 && LARGE_OFF_T % 2147483647 == 1)
5126 if ac_fn_c_try_compile "$LINENO"; then :
5127 ac_cv_sys_file_offset_bits=64; break
5129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5130 ac_cv_sys_file_offset_bits=unknown
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5135 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5136 case $ac_cv_sys_file_offset_bits in #(
5139 cat >>confdefs.h <<_ACEOF
5140 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5145 if test $ac_cv_sys_file_offset_bits = unknown; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5147 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5148 if ${ac_cv_sys_large_files+:} false; then :
5149 $as_echo_n "(cached) " >&6
5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5154 #include <sys/types.h>
5155 /* Check that off_t can represent 2**63 - 1 correctly.
5156 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5157 since some C++ compilers masquerading as C compilers
5158 incorrectly reject 9223372036854775807. */
5159 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5160 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5161 && LARGE_OFF_T % 2147483647 == 1)
5171 if ac_fn_c_try_compile "$LINENO"; then :
5172 ac_cv_sys_large_files=no; break
5174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5176 /* end confdefs.h. */
5177 #define _LARGE_FILES 1
5178 #include <sys/types.h>
5179 /* Check that off_t can represent 2**63 - 1 correctly.
5180 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5181 since some C++ compilers masquerading as C compilers
5182 incorrectly reject 9223372036854775807. */
5183 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5184 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5185 && LARGE_OFF_T % 2147483647 == 1)
5195 if ac_fn_c_try_compile "$LINENO"; then :
5196 ac_cv_sys_large_files=1; break
5198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5199 ac_cv_sys_large_files=unknown
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5204 $as_echo "$ac_cv_sys_large_files" >&6; }
5205 case $ac_cv_sys_large_files in #(
5208 cat >>confdefs.h <<_ACEOF
5209 #define _LARGE_FILES $ac_cv_sys_large_files
5221 echo Check configuration:
5223 # Check arguments used
5225 # Optional Features:
5226 # --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
5227 # --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
5228 # --disable-largefile omit support for large files
5229 # --disable-nls disable National Language Support
5230 # --disable-file-attr don't set attributes on files being installed
5231 # --enable-install-cron tell sysstat to install cron scripts
5232 # --collect-all tell sadc to collect all possible data
5233 # --enable-clean-sa-dir clean system activity directory
5234 # --enable-compress-manpg compress manual pages
5235 # --enable-debuginfo enable debug output (--debuginfo option)
5236 # --disable-documentation do not install documentation (man pages...)
5237 # --disable-sensors do not link against libsensors even if available
5238 # --disable-pcp do not link against PCP libraries even if available
5239 # --disable-stripping do not strip object files
5240 # --enable-copy-only only copy files when installing sysstat
5242 # Some influential environment variables:
5243 # rcdir directory where startup scripts are installed
5244 # sa_lib_dir sadc, sa1 and sa2 directory
5245 # sa_dir system activity daily datafiles directory
5246 # sar_dir sar binary location. Used only in sa2 shell script
5247 # conf_dir sysstat configuration directory (default is /etc/sysconfig)
5248 # conf_file sysstat configuration file (default is sysstat)
5249 # history number of daily datafiles to keep (default value is 7)
5250 # compressafter number of days after which datafiles are compressed
5251 # man_group group for man pages
5252 # cron_owner crontab owner
5253 # cron_interval crontab sampling interval
5254 # sadc_options options to be passed to sadc
5256 # Fine tuning the installation directories:
5257 # --mandir=DIR man documentation directory [PREFIX/man]
5258 # --docdir=DIR other documentation directory [PREFIX/share/doc]
5260 # Installation directories:
5261 # --prefix=PREFIX install architecture-independent files in PREFIX
5263 # --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
5267 if test -d /etc/init.d && test ! -L /etc/init.d; then
5268 if test -d /etc/init.d/rc2.d; then
5275 INIT_DIR=/etc/init.d
5276 elif test -d /sbin/init.d; then
5278 INIT_DIR=/sbin/init.d
5282 INIT_DIR=/etc/rc.d/init.d
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking run-commands directory" >&5
5287 $as_echo_n "checking run-commands directory... " >&6; }
5289 if test x$rcdir != x""; then
5290 # Override previous rc directories values
5292 INIT_DIR=$rcdir/init.d
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC_DIR" >&5
5296 $as_echo "$RC_DIR" >&6; }
5297 if test ! -d $RC_DIR; then
5298 echo "INFO: Directory ${RC_DIR} doesn't exist."
5299 echo "INFO: Startup scripts won't be installed."
5306 if test $HAVE_SYS_SYSMACROS_H; then
5313 if test $HAVE_LINUX_SCHED_H; then
5320 if test $HAVE_SYS_PARAM_H; then
5327 # Set sadc directory
5328 if test $prefix != "NONE"; then
5331 AuxPrefix=/usr/local
5334 SADC_DIR=$AuxPrefix/lib
5335 if test -d $AuxPrefix/lib64; then
5336 # Verify that this OS is really 64 bit
5337 BITS=$(getconf LONG_BIT 2>/dev/null)
5338 if test $? = 0; then
5339 if test $BITS = 64; then
5340 SADC_DIR=$AuxPrefix/lib64
5343 # Fallback: look for lm (long mode) flag to know if CPU is 64 bit
5344 grep " lm " /proc/cpuinfo >/dev/null 2>&1
5345 if test $? = 0; then
5346 SADC_DIR=$AuxPrefix/lib64
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sadc directory" >&5
5352 $as_echo_n "checking sadc directory... " >&6; }
5354 if test x$sa_lib_dir != x""; then
5355 SA_LIB_DIR=$sa_lib_dir
5357 SA_LIB_DIR=$SADC_DIR/sa
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_LIB_DIR" >&5
5360 $as_echo "$SA_LIB_DIR" >&6; }
5361 if test ! -d $SA_LIB_DIR; then
5362 echo "INFO: Directory ${SA_LIB_DIR} will be created during installation stage."
5366 # Set system activity directory
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system activity directory" >&5
5368 $as_echo_n "checking system activity directory... " >&6; }
5370 if test x$sa_dir != x""; then
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_DIR" >&5
5376 $as_echo "$SA_DIR" >&6; }
5377 if test ! -d $SA_DIR; then
5378 echo "INFO: Directory ${SA_DIR} will be created during installation stage."
5382 # sar binary location. Used only in sa2 shell script
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sar directory" >&5
5384 $as_echo_n "checking sar directory... " >&6; }
5386 if test x$sar_dir != x""; then
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SAR_DIR" >&5
5392 $as_echo "$SAR_DIR" >&6; }
5395 # Set configuration directory
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysstat configuration directory" >&5
5397 $as_echo_n "checking sysstat configuration directory... " >&6; }
5399 if test x$conf_dir != x""; then
5400 SYSCONFIG_DIR=$conf_dir
5402 SYSCONFIG_DIR=/etc/sysconfig
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFIG_DIR" >&5
5405 $as_echo "$SYSCONFIG_DIR" >&6; }
5406 if test ! -d $SYSCONFIG_DIR; then
5407 echo "INFO: Directory ${SYSCONFIG_DIR} will be created during installation stage."
5411 # Set configuration directory
5412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysstat configuration file" >&5
5413 $as_echo_n "checking sysstat configuration file... " >&6; }
5415 if test x$conf_file != x""; then
5416 SYSCONFIG_FILE=$conf_file
5418 SYSCONFIG_FILE=sysstat
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFIG_FILE" >&5
5421 $as_echo "$SYSCONFIG_FILE" >&6; }
5424 # National Language Support
5425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking National Language Support" >&5
5426 $as_echo_n "checking National Language Support... " >&6; }
5427 # Check whether --enable-nls was given.
5428 if test "${enable_nls+set}" = set; then :
5429 enableval=$enable_nls; AUX_NLS=$enableval
5434 if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
5441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_NLS" >&5
5442 $as_echo "$AUX_NLS" >&6; }
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5
5444 $as_echo_n "checking for gettext in -lintl... " >&6; }
5445 if ${ac_cv_lib_intl_gettext+:} false; then :
5446 $as_echo_n "(cached) " >&6
5448 ac_check_lib_save_LIBS=$LIBS
5450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5451 /* end confdefs.h. */
5453 /* Override any GCC internal prototype to avoid an error.
5454 Use char because int might match the return type of a GCC
5455 builtin and then its argument prototype would still apply. */
5468 if ac_fn_c_try_link "$LINENO"; then :
5469 ac_cv_lib_intl_gettext=yes
5471 ac_cv_lib_intl_gettext=no
5473 rm -f core conftest.err conftest.$ac_objext \
5474 conftest$ac_exeext conftest.$ac_ext
5475 LIBS=$ac_check_lib_save_LIBS
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5
5478 $as_echo "$ac_cv_lib_intl_gettext" >&6; }
5479 if test "x$ac_cv_lib_intl_gettext" = xyes; then :
5485 if test $AUX_NLS = "yes" && test x$MSGFMT != x"msgfmt"; then
5486 echo "WARNING: msgfmt command not found!"
5489 if test $AUX_NLS = "yes" && test x$XGETTEXT != x"xgettext"; then
5490 echo "WARNING: xgettext command not found!"
5493 if test $AUX_NLS = "yes" && test x$MSGMERGE != x"msgmerge"; then
5494 echo "WARNING: msgmerge command not found!"
5497 if test $NLS = "y" && test $LACKING_GETTEXT = "y"; then
5498 echo "WARNING: Disabling NLS"
5503 # Data history to keep by sa2
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of daily data files to keep" >&5
5505 $as_echo_n "checking number of daily data files to keep... " >&6; }
5507 if test x$history = x""; then
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HISTORY" >&5
5513 $as_echo "$HISTORY" >&6; }
5516 # Number of days after which datafiles are compressed
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of days after which data files are compressed" >&5
5518 $as_echo_n "checking number of days after which data files are compressed... " >&6; }
5520 if test x$compressafter = x""; then
5523 COMPRESSAFTER=$compressafter
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESSAFTER" >&5
5526 $as_echo "$COMPRESSAFTER" >&6; }
5530 grep ^man: /etc/group >/dev/null 2>&1
5531 if test $? = 0; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group for manual pages" >&5
5538 $as_echo_n "checking group for manual pages... " >&6; }
5540 if test x$man_group = x""; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5543 $as_echo "$MAN_GROUP" >&6; }
5545 grep ^$man_group: /etc/group >/dev/null 2>&1
5546 if test $? = 1; then
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5549 $as_echo "$MAN_GROUP" >&6; }
5550 echo "WARNING: Group ${man_group} not found: Using ${GRP} instead"
5552 MAN_GROUP=$man_group
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5554 $as_echo "$MAN_GROUP" >&6; }
5559 # Don't set attributes on files being installed?
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether attributes should not be set on files being installed" >&5
5561 $as_echo_n "checking whether attributes should not be set on files being installed... " >&6; }
5562 # Check whether --enable-file-attr was given.
5563 if test "${enable_file_attr+set}" = set; then :
5564 enableval=$enable_file_attr; AUX_IMG=$enableval
5569 if test $AUX_IMG != "no"; then
5570 IGNORE_FILE_ATTRIBUTES=n
5573 IGNORE_FILE_ATTRIBUTES=y
5576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_IMG" >&5
5577 $as_echo "$AUX_IMG" >&6; }
5580 # Compress manual pages?
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether manual pages should be compressed" >&5
5582 $as_echo_n "checking whether manual pages should be compressed... " >&6; }
5583 # Check whether --enable-compress-manpg was given.
5584 if test "${enable_compress_manpg+set}" = set; then :
5585 enableval=$enable_compress_manpg; AUX_MPG=$enableval
5590 if test $AUX_MPG != "yes"; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_MPG" >&5
5597 $as_echo "$AUX_MPG" >&6; }
5600 # Check whether sa directory should be cleaned
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system activity directory should be cleaned" >&5
5602 $as_echo_n "checking whether system activity directory should be cleaned... " >&6; }
5603 # Check whether --enable-clean-sa-dir was given.
5604 if test "${enable_clean_sa_dir+set}" = set; then :
5605 enableval=$enable_clean_sa_dir; AUX_CSD=$enableval
5610 if test $AUX_CSD != "yes"; then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CSD" >&5
5617 $as_echo "$AUX_CSD" >&6; }
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cron should start sar automatically" >&5
5622 $as_echo_n "checking whether cron should start sar automatically... " >&6; }
5623 # Check whether --enable-install-cron was given.
5624 if test "${enable_install_cron+set}" = set; then :
5625 enableval=$enable_install_cron; INSTALL_CRON=$enableval
5630 if test $INSTALL_CRON != "yes"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CRON" >&5
5638 $as_echo "$AUX_CRON" >&6; }
5643 if test $INSTALL_CRON = "y"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab owner" >&5
5645 $as_echo_n "checking crontab owner... " >&6; }
5647 if test x$cron_owner = x""; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5650 $as_echo "$CRON_OWNER" >&6; }
5652 grep ^$cron_owner: /etc/passwd >/dev/null 2>&1
5653 if test $? = 1; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5656 $as_echo "$CRON_OWNER" >&6; }
5657 echo "WARNING: User ${cron_owner} not found: Using ${CUSR} instead."
5659 CRON_OWNER=$cron_owner
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5661 $as_echo "$CRON_OWNER" >&6; }
5664 echo "INFO: Crontab for ${CRON_OWNER} will be saved in current directory if necessary"
5665 if test $CRON_OWNER = "root"; then
5668 REM_CHOWN="# REM_CHOWN"
5670 SU_C_OWNER="su $CRON_OWNER -c "
5672 # " (ignore this line)
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab interval" >&5
5678 $as_echo_n "checking crontab interval... " >&6; }
5680 if test x$cron_interval = x""; then
5683 CRON_INTERVAL=$cron_interval
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_INTERVAL" >&5
5686 $as_echo "$CRON_INTERVAL" >&6; }
5687 CRON_INTERVAL_SEC=`expr ${CRON_INTERVAL} \* 60`
5688 CRON_COUNT=`expr 60 / ${CRON_INTERVAL}`
5690 # Check whether sadc should collect all possible activities
5691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sadc should collect all possible activities" >&5
5692 $as_echo_n "checking whether sadc should collect all possible activities... " >&6; }
5693 # Check whether --enable-collect-all was given.
5694 if test "${enable_collect_all+set}" = set; then :
5695 enableval=$enable_collect_all; COLLECT_ALL=$enableval
5700 if test $COLLECT_ALL != "yes"; then
5704 COLLECT_ALL="-S XALL"
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_COLL" >&5
5708 $as_echo "$AUX_COLL" >&6; }
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking options to be passed to sadc" >&5
5711 $as_echo_n "checking options to be passed to sadc... " >&6; }
5713 if test x"$sadc_options" != x""; then
5714 SADC_OPT="$sadc_options"
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SADC_OPT" >&5
5719 $as_echo "$SADC_OPT" >&6; }
5722 # Check whether files should only be copied
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether files should only be copied" >&5
5724 $as_echo_n "checking whether files should only be copied... " >&6; }
5725 # Check whether --enable-copy-only was given.
5726 if test "${enable_copy_only+set}" = set; then :
5727 enableval=$enable_copy_only; OCOPY=$enableval
5732 if test $OCOPY != "yes"; then
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCOPY" >&5
5739 $as_echo "$OCOPY" >&6; }
5746 REM_CHOWN="# REM_CHOWN"
5748 CRON_INTERVAL_SEC=600
5761 # Check whether documentation should be installed
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether documentation should be installed" >&5
5763 $as_echo_n "checking whether documentation should be installed... " >&6; }
5764 # Check whether --enable-documentation was given.
5765 if test "${enable_documentation+set}" = set; then :
5766 enableval=$enable_documentation; AUX_DOC=$enableval
5771 if test $AUX_DOC != "no"; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_DOC" >&5
5779 $as_echo "$AUX_DOC" >&6; }
5782 # Set directory for installing manual pages (see comment in Makefile)
5785 # Check whether --debuginfo options should be allowed
5786 # Check whether --enable-debuginfo was given.
5787 if test "${enable_debuginfo+set}" = set; then :
5788 enableval=$enable_debuginfo; WITH_DEBUG=yes ; DFLAGS="$DFLAGS -DDEBUG"
5796 # Check whether object files should be stripped
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether object files should be stripped" >&5
5798 $as_echo_n "checking whether object files should be stripped... " >&6; }
5799 # Check whether --enable-stripping was given.
5800 if test "${enable_stripping+set}" = set; then :
5801 enableval=$enable_stripping; AUX_STRIP=$enableval
5806 if test $AUX_STRIP != "no"; then
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_STRIP" >&5
5814 $as_echo "$AUX_STRIP" >&6; }
5819 echo Now create files:
5821 ac_config_files="$ac_config_files sa1"
5822 # Permissions must be changed
5823 ac_config_files="$ac_config_files sa2"
5824 # Permissions must be changed
5825 ac_config_files="$ac_config_files cron/crontab:cron/crontab.sample"
5826 # File must be renamed
5827 ac_config_files="$ac_config_files sysstat.sysconfig"
5829 ac_config_files="$ac_config_files version.h:version.in"
5830 # File must be renamed
5831 ac_config_files="$ac_config_files sysconfig.h:sysconfig.in"
5832 # File must be renamed
5833 ac_config_files="$ac_config_files cron/sysstat.cron.daily"
5835 ac_config_files="$ac_config_files cron/sysstat.cron.hourly"
5837 ac_config_files="$ac_config_files cron/sysstat.crond"
5839 ac_config_files="$ac_config_files cron/sysstat.crond.sample.in:cron/sysstat.crond.in"
5841 ac_config_files="$ac_config_files sysstat"
5842 # Permissions must be changed
5843 ac_config_files="$ac_config_files sysstat.service"
5845 ac_config_files="$ac_config_files cron/sysstat-collect.service"
5847 ac_config_files="$ac_config_files cron/sysstat-collect.timer"
5849 ac_config_files="$ac_config_files cron/sysstat-summary.service"
5851 ac_config_files="$ac_config_files cron/sysstat-summary.timer"
5853 ac_config_files="$ac_config_files man/sa1.8:man/sa1.in"
5854 # File must be renamed
5855 ac_config_files="$ac_config_files man/sa2.8:man/sa2.in"
5856 # File must be renamed
5857 ac_config_files="$ac_config_files man/sadc.8:man/sadc.in"
5858 # File must be renamed
5859 ac_config_files="$ac_config_files man/sadf.1:man/sadf.in"
5860 # File must be renamed
5861 ac_config_files="$ac_config_files man/sar.1:man/sar.in"
5862 # File must be renamed
5863 ac_config_files="$ac_config_files man/sysstat.5:man/sysstat.in"
5864 # File must be renamed
5865 ac_config_files="$ac_config_files man/iostat.1:man/iostat.in"
5866 # File must be renamed
5867 ac_config_files="$ac_config_files man/cifsiostat.1:man/cifsiostat.in"
5868 # File must be renamed
5869 ac_config_files="$ac_config_files tests/variables"
5872 ac_config_files="$ac_config_files Makefile"
5874 cat >confcache <<\_ACEOF
5875 # This file is a shell script that caches the results of configure
5876 # tests run on this system so they can be shared between configure
5877 # scripts and configure runs, see configure's option --config-cache.
5878 # It is not useful on other systems. If it contains results you don't
5879 # want to keep, you may remove or edit it.
5881 # config.status only pays attention to the cache file if you give it
5882 # the --recheck option to rerun configure.
5884 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5885 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5890 # The following way of writing the cache mishandles newlines in values,
5891 # but we know of no workaround that is simple, portable, and efficient.
5892 # So, we kill variables containing newlines.
5893 # Ultrix sh set writes to stderr and can't be redirected directly,
5894 # and sets the high bit in the cache file unless we assign to the vars.
5896 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5897 eval ac_val=\$$ac_var
5901 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5902 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5905 _ | IFS | as_nl) ;; #(
5906 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5907 *) { eval $ac_var=; unset $ac_var;} ;;
5913 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5914 *${as_nl}ac_space=\ *)
5915 # `set' does not quote correctly, so add quotes: double-quote
5916 # substitution turns \\\\ into \\, and sed turns \\ into \.
5919 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5922 # `set' quotes correctly as required by POSIX, so do not add quotes.
5923 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5932 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5934 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5936 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5937 if test -w "$cache_file"; then
5938 if test "x$cache_file" != "x/dev/null"; then
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5940 $as_echo "$as_me: updating cache $cache_file" >&6;}
5941 if test ! -f "$cache_file" || test -h "$cache_file"; then
5942 cat confcache >"$cache_file"
5944 case $cache_file in #(
5946 mv -f confcache "$cache_file"$$ &&
5947 mv -f "$cache_file"$$ "$cache_file" ;; #(
5949 mv -f confcache "$cache_file" ;;
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5955 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5960 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5961 # Let make expand exec_prefix.
5962 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5964 # Transform confdefs.h into DEFS.
5965 # Protect against shell expansion while executing Makefile rules.
5966 # Protect against Makefile macro expansion.
5968 # If the first sed substitution is executed (which looks for macros that
5969 # take arguments), then branch to the quote section. Otherwise,
5970 # look for a macro that doesn't take arguments.
5980 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5982 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5986 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5999 DEFS=`sed -n "$ac_script" confdefs.h`
6005 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6006 # 1. Remove the extension, and $U if already installed.
6007 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6008 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
6009 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6010 # will be set to the directory where LIBOBJS objects are built.
6011 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6012 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6016 LTLIBOBJS=$ac_ltlibobjs
6020 : "${CONFIG_STATUS=./config.status}"
6022 ac_clean_files_save=$ac_clean_files
6023 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6025 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6027 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6029 # Generated by $as_me.
6030 # Run this file to recreate the current configuration.
6031 # Compiler output produced by configure, useful for debugging
6032 # configure, is in config.log if it exists.
6038 SHELL=\${CONFIG_SHELL-$SHELL}
6041 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6042 ## -------------------- ##
6043 ## M4sh Initialization. ##
6044 ## -------------------- ##
6046 # Be more Bourne compatible
6047 DUALCASE=1; export DUALCASE # for MKS sh
6048 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6051 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6052 # is contrary to our usage. Disable this feature.
6053 alias -g '${1+"$@"}'='"$@"'
6054 setopt NO_GLOB_SUBST
6056 case `(set -o) 2>/dev/null` in #(
6068 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6069 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6070 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6071 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6072 # Prefer a ksh shell builtin over an external printf program on Solaris,
6073 # but without wasting forks for bash or zsh.
6074 if test -z "$BASH_VERSION$ZSH_VERSION" \
6075 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6076 as_echo='print -r --'
6077 as_echo_n='print -rn --'
6078 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6079 as_echo='printf %s\n'
6080 as_echo_n='printf %s'
6082 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6083 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6084 as_echo_n='/usr/ucb/echo -n'
6086 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6087 as_echo_n_body='eval
6091 expr "X$arg" : "X\\(.*\\)$as_nl";
6092 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6094 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6096 export as_echo_n_body
6097 as_echo_n='sh -c $as_echo_n_body as_echo'
6100 as_echo='sh -c $as_echo_body as_echo'
6103 # The user is always right.
6104 if test "${PATH_SEPARATOR+set}" != set; then
6106 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6107 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6114 # We need space, tab and new line, in precisely that order. Quoting is
6115 # there to prevent editors from complaining about space-tab.
6116 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6117 # splitting by setting IFS to empty value.)
6120 # Find who we are. Look in the path if we contain no directory separator.
6123 *[\\/]* ) as_myself=$0 ;;
6124 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 test -z "$as_dir" && as_dir=.
6129 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6135 # We did not find ourselves, most probably we were run as `sh COMMAND'
6136 # in which case we are not to be found in the path.
6137 if test "x$as_myself" = x; then
6140 if test ! -f "$as_myself"; then
6141 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6145 # Unset variables that we do not need and which cause bugs (e.g. in
6146 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6147 # suppresses any "Segmentation fault" message there. '((' could
6148 # trigger a bug in pdksh 5.2.14.
6149 for as_var in BASH_ENV ENV MAIL MAILPATH
6150 do eval test x\${$as_var+set} = xset \
6151 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6164 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6167 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6168 # ----------------------------------------
6169 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6170 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6171 # script with STATUS, using 1 if that was 0.
6174 as_status=$1; test $as_status -eq 0 && as_status=1
6176 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6177 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6179 $as_echo "$as_me: error: $2" >&2
6180 as_fn_exit $as_status
6184 # as_fn_set_status STATUS
6185 # -----------------------
6186 # Set $? to STATUS, without forking.
6190 } # as_fn_set_status
6194 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6204 # Portably unset VAR.
6207 { eval $1=; unset $1;}
6209 as_unset=as_fn_unset
6210 # as_fn_append VAR VALUE
6211 # ----------------------
6212 # Append the text in VALUE to the end of the definition contained in VAR. Take
6213 # advantage of any shell optimizations that allow amortized linear growth over
6214 # repeated appends, instead of the typical quadratic growth present in naive
6216 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6217 eval 'as_fn_append ()
6228 # as_fn_arith ARG...
6229 # ------------------
6230 # Perform arithmetic evaluation on the ARGs, and store the result in the
6231 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6232 # must be portable across $(()) and expr.
6233 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6234 eval 'as_fn_arith ()
6241 as_val=`expr "$@" || test $? -eq 1`
6246 if expr a : '\(a\)' >/dev/null 2>&1 &&
6247 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6253 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6254 as_basename=basename
6259 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6265 as_me=`$as_basename -- "$0" ||
6266 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6267 X"$0" : 'X\(//\)$' \| \
6268 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6270 sed '/^.*\/\([^/][^/]*\)\/*$/{
6284 # Avoid depending upon Character Ranges.
6285 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6286 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6287 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6288 as_cr_digits='0123456789'
6289 as_cr_alnum=$as_cr_Letters$as_cr_digits
6291 ECHO_C= ECHO_N= ECHO_T=
6292 case `echo -n x` in #(((((
6294 case `echo 'xy\c'` in
6295 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6297 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6304 rm -f conf$$ conf$$.exe conf$$.file
6305 if test -d conf$$.dir; then
6306 rm -f conf$$.dir/conf$$.file
6309 mkdir conf$$.dir 2>/dev/null
6311 if (echo >conf$$.file) 2>/dev/null; then
6312 if ln -s conf$$.file conf$$ 2>/dev/null; then
6314 # ... but there are two gotchas:
6315 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6316 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6317 # In both cases, we have to default to `cp -pR'.
6318 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6320 elif ln conf$$.file conf$$ 2>/dev/null; then
6328 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6329 rmdir conf$$.dir 2>/dev/null
6334 # Create "$as_dir" as a directory, including parents if necessary.
6339 -*) as_dir=./$as_dir;;
6341 test -d "$as_dir" || eval $as_mkdir_p || {
6345 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6346 *) as_qdir=$as_dir;;
6348 as_dirs="'$as_qdir' $as_dirs"
6349 as_dir=`$as_dirname -- "$as_dir" ||
6350 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6351 X"$as_dir" : 'X\(//\)[^/]' \| \
6352 X"$as_dir" : 'X\(//\)$' \| \
6353 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6354 $as_echo X"$as_dir" |
6355 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6372 test -d "$as_dir" && break
6374 test -z "$as_dirs" || eval "mkdir $as_dirs"
6375 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6379 if mkdir -p . 2>/dev/null; then
6380 as_mkdir_p='mkdir -p "$as_dir"'
6382 test -d ./-p && rmdir ./-p
6387 # as_fn_executable_p FILE
6388 # -----------------------
6389 # Test if FILE is an executable regular file.
6390 as_fn_executable_p ()
6392 test -f "$1" && test -x "$1"
6393 } # as_fn_executable_p
6395 as_executable_p=as_fn_executable_p
6397 # Sed expression to map a string onto a valid CPP name.
6398 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6400 # Sed expression to map a string onto a valid variable name.
6401 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6405 ## ----------------------------------- ##
6406 ## Main body of $CONFIG_STATUS script. ##
6407 ## ----------------------------------- ##
6409 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6412 # Save the log message, to keep $0 and so on meaningful, and to
6413 # report actual input values of CONFIG_FILES etc. instead of their
6414 # values after options handling.
6416 This file was extended by sysstat $as_me 12.3.4, which was
6417 generated by GNU Autoconf 2.69. Invocation command line was
6419 CONFIG_FILES = $CONFIG_FILES
6420 CONFIG_HEADERS = $CONFIG_HEADERS
6421 CONFIG_LINKS = $CONFIG_LINKS
6422 CONFIG_COMMANDS = $CONFIG_COMMANDS
6425 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6430 case $ac_config_files in *"
6431 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6436 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6437 # Files that config.status was made for.
6438 config_files="$ac_config_files"
6442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6444 \`$as_me' instantiates files and other configuration actions
6445 from templates according to the current configuration. Unless the files
6446 and actions are specified as TAGs, all are instantiated by default.
6448 Usage: $0 [OPTION]... [TAG]...
6450 -h, --help print this help, then exit
6451 -V, --version print version number and configuration settings, then exit
6452 --config print configuration, then exit
6453 -q, --quiet, --silent
6454 do not print progress messages
6455 -d, --debug don't remove temporary files
6456 --recheck update $as_me by reconfiguring in the same conditions
6457 --file=FILE[:TEMPLATE]
6458 instantiate the configuration file FILE
6460 Configuration files:
6463 Report bugs to the package provider."
6466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6467 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6469 sysstat config.status 12.3.4
6470 configured by $0, generated by GNU Autoconf 2.69,
6471 with options \\"\$ac_cs_config\\"
6473 Copyright (C) 2012 Free Software Foundation, Inc.
6474 This config.status script is free software; the Free Software Foundation
6475 gives unlimited permission to copy, distribute and modify it."
6479 test -n "\$AWK" || AWK=awk
6482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6483 # The default lists apply if the user does not specify any file.
6489 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6490 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6494 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6506 # Handling of the options.
6507 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6509 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6510 $as_echo "$ac_cs_version"; exit ;;
6511 --config | --confi | --conf | --con | --co | --c )
6512 $as_echo "$ac_cs_config"; exit ;;
6513 --debug | --debu | --deb | --de | --d | -d )
6515 --file | --fil | --fi | --f )
6518 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6519 '') as_fn_error $? "missing file argument" ;;
6521 as_fn_append CONFIG_FILES " '$ac_optarg'"
6522 ac_need_defaults=false;;
6523 --he | --h | --help | --hel | -h )
6524 $as_echo "$ac_cs_usage"; exit ;;
6525 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6526 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6530 -*) as_fn_error $? "unrecognized option: \`$1'
6531 Try \`$0 --help' for more information." ;;
6533 *) as_fn_append ac_config_targets " $1"
6534 ac_need_defaults=false ;;
6540 ac_configure_extra_args=
6542 if $ac_cs_silent; then
6544 ac_configure_extra_args="$ac_configure_extra_args --silent"
6548 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6549 if \$ac_cs_recheck; then
6550 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6552 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6553 CONFIG_SHELL='$SHELL'
6559 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6563 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6564 ## Running $as_me. ##
6570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6575 # Handling of arguments.
6576 for ac_config_target in $ac_config_targets
6578 case $ac_config_target in
6579 "sa1") CONFIG_FILES="$CONFIG_FILES sa1" ;;
6580 "sa2") CONFIG_FILES="$CONFIG_FILES sa2" ;;
6581 "cron/crontab") CONFIG_FILES="$CONFIG_FILES cron/crontab:cron/crontab.sample" ;;
6582 "sysstat.sysconfig") CONFIG_FILES="$CONFIG_FILES sysstat.sysconfig" ;;
6583 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:version.in" ;;
6584 "sysconfig.h") CONFIG_FILES="$CONFIG_FILES sysconfig.h:sysconfig.in" ;;
6585 "cron/sysstat.cron.daily") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.daily" ;;
6586 "cron/sysstat.cron.hourly") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.hourly" ;;
6587 "cron/sysstat.crond") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond" ;;
6588 "cron/sysstat.crond.sample.in") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond.sample.in:cron/sysstat.crond.in" ;;
6589 "sysstat") CONFIG_FILES="$CONFIG_FILES sysstat" ;;
6590 "sysstat.service") CONFIG_FILES="$CONFIG_FILES sysstat.service" ;;
6591 "cron/sysstat-collect.service") CONFIG_FILES="$CONFIG_FILES cron/sysstat-collect.service" ;;
6592 "cron/sysstat-collect.timer") CONFIG_FILES="$CONFIG_FILES cron/sysstat-collect.timer" ;;
6593 "cron/sysstat-summary.service") CONFIG_FILES="$CONFIG_FILES cron/sysstat-summary.service" ;;
6594 "cron/sysstat-summary.timer") CONFIG_FILES="$CONFIG_FILES cron/sysstat-summary.timer" ;;
6595 "man/sa1.8") CONFIG_FILES="$CONFIG_FILES man/sa1.8:man/sa1.in" ;;
6596 "man/sa2.8") CONFIG_FILES="$CONFIG_FILES man/sa2.8:man/sa2.in" ;;
6597 "man/sadc.8") CONFIG_FILES="$CONFIG_FILES man/sadc.8:man/sadc.in" ;;
6598 "man/sadf.1") CONFIG_FILES="$CONFIG_FILES man/sadf.1:man/sadf.in" ;;
6599 "man/sar.1") CONFIG_FILES="$CONFIG_FILES man/sar.1:man/sar.in" ;;
6600 "man/sysstat.5") CONFIG_FILES="$CONFIG_FILES man/sysstat.5:man/sysstat.in" ;;
6601 "man/iostat.1") CONFIG_FILES="$CONFIG_FILES man/iostat.1:man/iostat.in" ;;
6602 "man/cifsiostat.1") CONFIG_FILES="$CONFIG_FILES man/cifsiostat.1:man/cifsiostat.in" ;;
6603 "tests/variables") CONFIG_FILES="$CONFIG_FILES tests/variables" ;;
6604 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6606 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6611 # If the user did not use the arguments to specify the items to instantiate,
6612 # then the envvar interface is used. Set only those that are not.
6613 # We use the long form for the default assignment because of an extremely
6614 # bizarre bug on SunOS 4.1.3.
6615 if $ac_need_defaults; then
6616 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6619 # Have a temporary directory for convenience. Make it in the build tree
6620 # simply because there is no reason against having it here, and in addition,
6621 # creating and moving files from /tmp can sometimes cause problems.
6622 # Hook for its removal unless debugging.
6623 # Note that there is a small window in which the directory will not be cleaned:
6624 # after its creation but before its name has been assigned to `$tmp'.
6628 trap 'exit_status=$?
6630 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6632 trap 'as_fn_exit 1' 1 2 13 15
6634 # Create a (secure) tmp directory for tmp files.
6637 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6641 tmp=./conf$$-$RANDOM
6642 (umask 077 && mkdir "$tmp")
6643 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6646 # Set up the scripts for CONFIG_FILES section.
6647 # No need to generate them if there are no CONFIG_FILES.
6648 # This happens for instance with `./config.status config.h'.
6649 if test -n "$CONFIG_FILES"; then
6652 ac_cr=`echo X | tr X '\015'`
6653 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6654 # But we know of no other shell where ac_cr would be empty at this
6655 # point, so we can use a bashism as a fallback.
6656 if test "x$ac_cr" = x; then
6657 eval ac_cr=\$\'\\r\'
6659 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6660 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6666 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6671 echo "cat >conf$$subs.awk <<_ACEOF" &&
6672 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6675 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6676 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6678 for ac_last_try in false false false false false :; do
6679 . ./conf$$subs.sh ||
6680 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6682 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6683 if test $ac_delim_n = $ac_delim_num; then
6685 elif $ac_last_try; then
6686 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6688 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6694 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6698 s/^/S["/; s/!.*/"]=/
6708 s/\(.\{148\}\)..*/\1/
6710 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6715 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6722 s/\(.\{148\}\)..*/\1/
6724 s/["\\]/\\&/g; s/^/"/; s/$/"/
6728 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6733 ' <conf$$subs.awk | sed '
6738 ' >>$CONFIG_STATUS || ac_write_fail=1
6739 rm -f conf$$subs.awk
6740 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6742 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6743 for (key in S) S_is_set[key] = 1
6749 nfields = split(line, field, "@")
6751 len = length(field[1])
6752 for (i = 2; i < nfields; i++) {
6754 keylen = length(key)
6755 if (S_is_set[key]) {
6757 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6758 len += length(value) + length(field[++i])
6769 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6770 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6771 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6774 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6775 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6778 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6779 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6780 # trailing colons and then remove the whole line if VPATH becomes empty
6781 # (actually we leave an empty line to preserve line numbers).
6782 if test "x$srcdir" = x.; then
6783 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6802 fi # test -n "$CONFIG_FILES"
6805 eval set X " :F $CONFIG_FILES "
6810 :[FHLC]) ac_mode=$ac_tag; continue;;
6812 case $ac_mode$ac_tag in
6814 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6815 :[FH]-) ac_tag=-:-;;
6816 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6833 -) ac_f="$ac_tmp/stdin";;
6834 *) # Look for the file first in the build tree, then in the source tree
6835 # (if the path is not absolute). The absolute path cannot be DOS-style,
6836 # because $ac_f cannot contain `:'.
6840 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6842 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6844 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6845 as_fn_append ac_file_inputs " '$ac_f'"
6848 # Let's still pretend it is `configure' which instantiates (i.e., don't
6849 # use $as_me), people would be surprised to read:
6850 # /* config.h. Generated by config.status. */
6851 configure_input='Generated from '`
6852 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6854 if test x"$ac_file" != x-; then
6855 configure_input="$ac_file. $configure_input"
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6857 $as_echo "$as_me: creating $ac_file" >&6;}
6859 # Neutralize special characters interpreted by sed in replacement strings.
6860 case $configure_input in #(
6861 *\&* | *\|* | *\\* )
6862 ac_sed_conf_input=`$as_echo "$configure_input" |
6863 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6864 *) ac_sed_conf_input=$configure_input;;
6868 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6869 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6874 ac_dir=`$as_dirname -- "$ac_file" ||
6875 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6876 X"$ac_file" : 'X\(//\)[^/]' \| \
6877 X"$ac_file" : 'X\(//\)$' \| \
6878 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6879 $as_echo X"$ac_file" |
6880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6897 as_dir="$ac_dir"; as_fn_mkdir_p
6901 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6903 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6904 # A ".." for each directory in $ac_dir_suffix.
6905 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6906 case $ac_top_builddir_sub in
6907 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6908 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6911 ac_abs_top_builddir=$ac_pwd
6912 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6913 # for backward compatibility:
6914 ac_top_builddir=$ac_top_build_prefix
6917 .) # We are building in place.
6919 ac_top_srcdir=$ac_top_builddir_sub
6920 ac_abs_top_srcdir=$ac_pwd ;;
6921 [\\/]* | ?:[\\/]* ) # Absolute name.
6922 ac_srcdir=$srcdir$ac_dir_suffix;
6923 ac_top_srcdir=$srcdir
6924 ac_abs_top_srcdir=$srcdir ;;
6926 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6927 ac_top_srcdir=$ac_top_build_prefix$srcdir
6928 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6930 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6941 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6942 # If the template does not know about datarootdir, expand it.
6943 # FIXME: This hack should be removed a few years after 2.60.
6944 ac_datarootdir_hack=; ac_datarootdir_seen=
6955 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6956 *datarootdir*) ac_datarootdir_seen=yes;;
6957 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6959 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6962 ac_datarootdir_hack='
6963 s&@datadir@&$datadir&g
6964 s&@docdir@&$docdir&g
6965 s&@infodir@&$infodir&g
6966 s&@localedir@&$localedir&g
6967 s&@mandir@&$mandir&g
6968 s&\\\${datarootdir}&$datarootdir&g' ;;
6972 # Neutralize VPATH when `$srcdir' = `.'.
6973 # Shell code in configure.ac might set extrasub.
6974 # FIXME: do we really want to maintain this feature?
6975 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6976 ac_sed_extra="$ac_vpsub
6979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6981 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6982 s|@configure_input@|$ac_sed_conf_input|;t t
6983 s&@top_builddir@&$ac_top_builddir_sub&;t t
6984 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6985 s&@srcdir@&$ac_srcdir&;t t
6986 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6987 s&@top_srcdir@&$ac_top_srcdir&;t t
6988 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6989 s&@builddir@&$ac_builddir&;t t
6990 s&@abs_builddir@&$ac_abs_builddir&;t t
6991 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6992 $ac_datarootdir_hack
6994 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6995 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6997 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6998 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6999 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7000 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7002 which seems to be undefined. Please make sure it is defined" >&5
7003 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7004 which seems to be undefined. Please make sure it is defined" >&2;}
7006 rm -f "$ac_tmp/stdin"
7008 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7009 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7011 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7019 case $ac_file$ac_mode in
7020 "sa1":F) chmod +x sa1 ;;
7021 "sa2":F) chmod +x sa2 ;;
7022 "cron/sysstat.crond.sample.in":F) sed s/^/#/ cron/sysstat.crond.sample.in > cron/sysstat.crond.sample ;;
7023 "sysstat":F) chmod +x sysstat ;;
7031 ac_clean_files=$ac_clean_files_save
7033 test $ac_write_fail = 0 ||
7034 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7037 # configure is writing to config.log, and then calls config.status.
7038 # config.status does its own redirection, appending to config.log.
7039 # Unfortunately, on DOS this fails, as config.log is still kept open
7040 # by configure, so config.status won't be able to write to it; its
7041 # output is simply discarded. So we exec the FD to /dev/null,
7042 # effectively closing config.log, so it can be properly (re)opened and
7043 # appended to by config.status. When coming back to configure, we
7044 # need to make the FD available again.
7045 if test "$no_create" != yes; then
7047 ac_config_status_args=
7048 test "$silent" = yes &&
7049 ac_config_status_args="$ac_config_status_args --quiet"
7051 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7053 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7054 # would make configure fail if this is the last instruction.
7055 $ac_cs_success || as_fn_exit 1
7057 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7059 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7064 Sysstat version: $PACKAGE_VERSION
7065 Installation prefix: $prefix
7066 rc directory: ${RC_DIR}
7067 Init directory: ${INIT_DIR}
7068 Systemd unit dir: ${with_systemdsystemunitdir}
7069 Configuration file: ${SYSCONFIG_DIR}/${SYSCONFIG_FILE}
7070 Man pages directory: $mandir
7072 Compiler flags: $CFLAGS