2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sysstat 12.5.5.
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.5.5'
581 PACKAGE_STRING='sysstat 12.5.5'
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
645 IGNORE_FILE_ATTRIBUTES
742 program_transform_name
755 enable_option_checking
756 with_systemdsystemunitdir
764 enable_compress_manpg
774 ac_precious_vars='build_alias
798 # Initialize some variables set by options.
800 ac_init_version=false
801 ac_unrecognized_opts=
803 # The variables have the same names as the options, with
804 # dashes changed to underlines.
812 program_transform_name=s,x,x,
820 # Installation directory options.
821 # These are left unexpanded so users can "make install exec_prefix=/foo"
822 # and all the variables that are supposed to be based on exec_prefix
823 # by default will actually change.
824 # Use braces instead of parens because sh, perl, etc. also accept them.
825 # (The list follows the same order as the GNU Coding Standards.)
826 bindir='${exec_prefix}/bin'
827 sbindir='${exec_prefix}/sbin'
828 libexecdir='${exec_prefix}/libexec'
829 datarootdir='${prefix}/share'
830 datadir='${datarootdir}'
831 sysconfdir='${prefix}/etc'
832 sharedstatedir='${prefix}/com'
833 localstatedir='${prefix}/var'
834 includedir='${prefix}/include'
835 oldincludedir='/usr/include'
836 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
837 infodir='${datarootdir}/info'
842 libdir='${exec_prefix}/lib'
843 localedir='${datarootdir}/locale'
844 mandir='${datarootdir}/man'
850 # If the previous option needs an argument, assign it.
851 if test -n "$ac_prev"; then
852 eval $ac_prev=\$ac_option
858 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
863 # Accept the important Cygnus configure options, so we can diagnose typos.
865 case $ac_dashdash$ac_option in
869 -bindir | --bindir | --bindi | --bind | --bin | --bi)
871 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
874 -build | --build | --buil | --bui | --bu)
875 ac_prev=build_alias ;;
876 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
877 build_alias=$ac_optarg ;;
879 -cache-file | --cache-file | --cache-fil | --cache-fi \
880 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
881 ac_prev=cache_file ;;
882 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
883 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
884 cache_file=$ac_optarg ;;
887 cache_file=config.cache ;;
889 -datadir | --datadir | --datadi | --datad)
891 -datadir=* | --datadir=* | --datadi=* | --datad=*)
892 datadir=$ac_optarg ;;
894 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
895 | --dataroo | --dataro | --datar)
896 ac_prev=datarootdir ;;
897 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
898 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
899 datarootdir=$ac_optarg ;;
901 -disable-* | --disable-*)
902 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
903 # Reject names that are not valid shell variable names.
904 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
905 as_fn_error $? "invalid feature name: $ac_useropt"
906 ac_useropt_orig=$ac_useropt
907 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
908 case $ac_user_opts in
912 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
913 ac_unrecognized_sep=', ';;
915 eval enable_$ac_useropt=no ;;
917 -docdir | --docdir | --docdi | --doc | --do)
919 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
922 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
924 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
927 -enable-* | --enable-*)
928 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
929 # Reject names that are not valid shell variable names.
930 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
931 as_fn_error $? "invalid feature name: $ac_useropt"
932 ac_useropt_orig=$ac_useropt
933 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
934 case $ac_user_opts in
938 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
939 ac_unrecognized_sep=', ';;
941 eval enable_$ac_useropt=\$ac_optarg ;;
943 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
944 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
945 | --exec | --exe | --ex)
946 ac_prev=exec_prefix ;;
947 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
948 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
949 | --exec=* | --exe=* | --ex=*)
950 exec_prefix=$ac_optarg ;;
952 -gas | --gas | --ga | --g)
953 # Obsolete; use --with-gas.
956 -help | --help | --hel | --he | -h)
958 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
959 ac_init_help=recursive ;;
960 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
961 ac_init_help=short ;;
963 -host | --host | --hos | --ho)
964 ac_prev=host_alias ;;
965 -host=* | --host=* | --hos=* | --ho=*)
966 host_alias=$ac_optarg ;;
968 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
970 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
972 htmldir=$ac_optarg ;;
974 -includedir | --includedir | --includedi | --included | --include \
975 | --includ | --inclu | --incl | --inc)
976 ac_prev=includedir ;;
977 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
978 | --includ=* | --inclu=* | --incl=* | --inc=*)
979 includedir=$ac_optarg ;;
981 -infodir | --infodir | --infodi | --infod | --info | --inf)
983 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
984 infodir=$ac_optarg ;;
986 -libdir | --libdir | --libdi | --libd)
988 -libdir=* | --libdir=* | --libdi=* | --libd=*)
991 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
992 | --libexe | --libex | --libe)
993 ac_prev=libexecdir ;;
994 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
995 | --libexe=* | --libex=* | --libe=*)
996 libexecdir=$ac_optarg ;;
998 -localedir | --localedir | --localedi | --localed | --locale)
1000 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1001 localedir=$ac_optarg ;;
1003 -localstatedir | --localstatedir | --localstatedi | --localstated \
1004 | --localstate | --localstat | --localsta | --localst | --locals)
1005 ac_prev=localstatedir ;;
1006 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1007 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1008 localstatedir=$ac_optarg ;;
1010 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1012 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1013 mandir=$ac_optarg ;;
1015 -nfp | --nfp | --nf)
1016 # Obsolete; use --without-fp.
1019 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1020 | --no-cr | --no-c | -n)
1023 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1024 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1027 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1028 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1029 | --oldin | --oldi | --old | --ol | --o)
1030 ac_prev=oldincludedir ;;
1031 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1032 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1033 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1034 oldincludedir=$ac_optarg ;;
1036 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1038 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1039 prefix=$ac_optarg ;;
1041 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1042 | --program-pre | --program-pr | --program-p)
1043 ac_prev=program_prefix ;;
1044 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1045 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1046 program_prefix=$ac_optarg ;;
1048 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1049 | --program-suf | --program-su | --program-s)
1050 ac_prev=program_suffix ;;
1051 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1052 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1053 program_suffix=$ac_optarg ;;
1055 -program-transform-name | --program-transform-name \
1056 | --program-transform-nam | --program-transform-na \
1057 | --program-transform-n | --program-transform- \
1058 | --program-transform | --program-transfor \
1059 | --program-transfo | --program-transf \
1060 | --program-trans | --program-tran \
1061 | --progr-tra | --program-tr | --program-t)
1062 ac_prev=program_transform_name ;;
1063 -program-transform-name=* | --program-transform-name=* \
1064 | --program-transform-nam=* | --program-transform-na=* \
1065 | --program-transform-n=* | --program-transform-=* \
1066 | --program-transform=* | --program-transfor=* \
1067 | --program-transfo=* | --program-transf=* \
1068 | --program-trans=* | --program-tran=* \
1069 | --progr-tra=* | --program-tr=* | --program-t=*)
1070 program_transform_name=$ac_optarg ;;
1072 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1074 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1075 pdfdir=$ac_optarg ;;
1077 -psdir | --psdir | --psdi | --psd | --ps)
1079 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1082 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1083 | -silent | --silent | --silen | --sile | --sil)
1086 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1088 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1090 sbindir=$ac_optarg ;;
1092 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1093 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1094 | --sharedst | --shareds | --shared | --share | --shar \
1096 ac_prev=sharedstatedir ;;
1097 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1098 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1099 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1101 sharedstatedir=$ac_optarg ;;
1103 -site | --site | --sit)
1105 -site=* | --site=* | --sit=*)
1108 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1110 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1111 srcdir=$ac_optarg ;;
1113 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1114 | --syscon | --sysco | --sysc | --sys | --sy)
1115 ac_prev=sysconfdir ;;
1116 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1117 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1118 sysconfdir=$ac_optarg ;;
1120 -target | --target | --targe | --targ | --tar | --ta | --t)
1121 ac_prev=target_alias ;;
1122 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1123 target_alias=$ac_optarg ;;
1125 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1128 -version | --version | --versio | --versi | --vers | -V)
1129 ac_init_version=: ;;
1132 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1133 # Reject names that are not valid shell variable names.
1134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1135 as_fn_error $? "invalid package name: $ac_useropt"
1136 ac_useropt_orig=$ac_useropt
1137 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1138 case $ac_user_opts in
1142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1143 ac_unrecognized_sep=', ';;
1145 eval with_$ac_useropt=\$ac_optarg ;;
1147 -without-* | --without-*)
1148 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1149 # Reject names that are not valid shell variable names.
1150 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1151 as_fn_error $? "invalid package name: $ac_useropt"
1152 ac_useropt_orig=$ac_useropt
1153 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1154 case $ac_user_opts in
1158 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1159 ac_unrecognized_sep=', ';;
1161 eval with_$ac_useropt=no ;;
1164 # Obsolete; use --with-x.
1167 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1168 | --x-incl | --x-inc | --x-in | --x-i)
1169 ac_prev=x_includes ;;
1170 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1171 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1172 x_includes=$ac_optarg ;;
1174 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1175 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1176 ac_prev=x_libraries ;;
1177 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1178 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1179 x_libraries=$ac_optarg ;;
1181 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1182 Try \`$0 --help' for more information"
1186 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1187 # Reject names that are not valid shell variable names.
1188 case $ac_envvar in #(
1189 '' | [0-9]* | *[!_$as_cr_alnum]* )
1190 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1192 eval $ac_envvar=\$ac_optarg
1193 export $ac_envvar ;;
1196 # FIXME: should be removed in autoconf 3.0.
1197 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1198 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1199 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1200 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1206 if test -n "$ac_prev"; then
1207 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1208 as_fn_error $? "missing argument to $ac_option"
1211 if test -n "$ac_unrecognized_opts"; then
1212 case $enable_option_checking in
1214 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1215 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1219 # Check all directory arguments for consistency.
1220 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1221 datadir sysconfdir sharedstatedir localstatedir includedir \
1222 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1223 libdir localedir mandir
1225 eval ac_val=\$$ac_var
1226 # Remove trailing slashes.
1229 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1230 eval $ac_var=\$ac_val;;
1232 # Be sure to have absolute directory names.
1234 [\\/$]* | ?:[\\/]* ) continue;;
1235 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1237 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1240 # There might be people who depend on the old broken behavior: `$host'
1241 # used to hold the argument of --host etc.
1242 # FIXME: To remove some day.
1245 target=$target_alias
1247 # FIXME: To remove some day.
1248 if test "x$host_alias" != x; then
1249 if test "x$build_alias" = x; then
1250 cross_compiling=maybe
1251 elif test "x$build_alias" != "x$host_alias"; then
1257 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1259 test "$silent" = yes && exec 6>/dev/null
1262 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1263 ac_ls_di=`ls -di .` &&
1264 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1265 as_fn_error $? "working directory cannot be determined"
1266 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1267 as_fn_error $? "pwd does not report name of working directory"
1270 # Find the source files, if location was not specified.
1271 if test -z "$srcdir"; then
1272 ac_srcdir_defaulted=yes
1273 # Try the directory containing this script, then the parent directory.
1274 ac_confdir=`$as_dirname -- "$as_myself" ||
1275 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1276 X"$as_myself" : 'X\(//\)[^/]' \| \
1277 X"$as_myself" : 'X\(//\)$' \| \
1278 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1279 $as_echo X"$as_myself" |
1280 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1298 if test ! -r "$srcdir/$ac_unique_file"; then
1302 ac_srcdir_defaulted=no
1304 if test ! -r "$srcdir/$ac_unique_file"; then
1305 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1306 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1308 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1310 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1312 # When building in place, set srcdir=.
1313 if test "$ac_abs_confdir" = "$ac_pwd"; then
1316 # Remove unnecessary trailing slashes from srcdir.
1317 # Double slashes in file names in object file debugging info
1318 # mess up M-x gdb in Emacs.
1320 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1322 for ac_var in $ac_precious_vars; do
1323 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1324 eval ac_env_${ac_var}_value=\$${ac_var}
1325 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1326 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1330 # Report the --help message.
1332 if test "$ac_init_help" = "long"; then
1333 # Omit some internal or obsolete options to make the list less imposing.
1334 # This message is too long to be a string in the A/UX 3.1 sh.
1336 \`configure' configures sysstat 12.5.5 to adapt to many kinds of systems.
1338 Usage: $0 [OPTION]... [VAR=VALUE]...
1340 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1341 VAR=VALUE. See below for descriptions of some of the useful variables.
1343 Defaults for the options are specified in brackets.
1346 -h, --help display this help and exit
1347 --help=short display options specific to this package
1348 --help=recursive display the short help of all the included packages
1349 -V, --version display version information and exit
1350 -q, --quiet, --silent do not print \`checking ...' messages
1351 --cache-file=FILE cache test results in FILE [disabled]
1352 -C, --config-cache alias for \`--cache-file=config.cache'
1353 -n, --no-create do not create output files
1354 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1356 Installation directories:
1357 --prefix=PREFIX install architecture-independent files in PREFIX
1358 [$ac_default_prefix]
1359 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1362 By default, \`make install' will install all the files in
1363 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1364 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1365 for instance \`--prefix=\$HOME'.
1367 For better control, use the options below.
1369 Fine tuning of the installation directories:
1370 --bindir=DIR user executables [EPREFIX/bin]
1371 --sbindir=DIR system admin executables [EPREFIX/sbin]
1372 --libexecdir=DIR program executables [EPREFIX/libexec]
1373 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1374 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1375 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1376 --libdir=DIR object code libraries [EPREFIX/lib]
1377 --includedir=DIR C header files [PREFIX/include]
1378 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1379 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1380 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1381 --infodir=DIR info documentation [DATAROOTDIR/info]
1382 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1383 --mandir=DIR man documentation [DATAROOTDIR/man]
1384 --docdir=DIR documentation root [DATAROOTDIR/doc/sysstat]
1385 --htmldir=DIR html documentation [DOCDIR]
1386 --dvidir=DIR dvi documentation [DOCDIR]
1387 --pdfdir=DIR pdf documentation [DOCDIR]
1388 --psdir=DIR ps documentation [DOCDIR]
1395 if test -n "$ac_init_help"; then
1396 case $ac_init_help in
1397 short | recursive ) echo "Configuration of sysstat 12.5.5:";;
1402 --disable-option-checking ignore unrecognized --enable/--with options
1403 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1404 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1405 --disable-pcp disable PCP support
1406 --disable-sensors disable sensors support
1407 --disable-largefile omit support for large files
1408 --disable-nls disable National Language Support
1409 --enable-lto enable Link Time Optimization
1410 --disable-file-attr do not set attributes on files being installed
1411 --disable-compress-manpg
1412 do not compress sysstat manual pages
1413 --enable-clean-sa-dir clean system activity directory
1414 --enable-install-cron install a crontab to start sar
1415 --enable-use-crond use standard cron daemon
1416 --enable-collect-all collect all possible activities
1417 --enable-copy-only only copy files when installing
1418 --disable-documentation do not install documentation
1419 --enable-debuginfo enable debug output (--debuginfo option)
1420 --disable-stripping do not strip object files
1423 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1424 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1425 --with-systemdsystemunitdir=DIR
1426 Directory for systemd service files
1427 --with-systemdsleepdir=DIR
1428 Directory for systemd suspend/resume scripts
1430 Some influential environment variables:
1431 CC C compiler command
1432 CFLAGS C compiler flags
1433 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1434 nonstandard directory <lib dir>
1435 LIBS libraries to pass to the linker, e.g. -l<library>
1436 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1437 you have headers in a nonstandard directory <include dir>
1439 rcdir run-commands directory
1440 sa_lib_dir sadc directory
1441 sa_dir system activity directory
1442 sar_dir sar directory
1443 conf_dir sysstat configuration directory
1444 conf_file sysstat configuration file
1445 history number of daily data files to keep (default value is 7)
1447 number of days after which data files are compressed (default
1449 delay_range maximum delay (in seconds) to wait before sa2 script generates
1451 man_group group for manual pages
1452 cron_owner crontab owner
1456 options to be passed to sadc
1458 Use these variables to override the choices made by `configure' or to help
1459 it to find libraries and programs with nonstandard names/locations.
1461 Report bugs to the package provider.
1466 if test "$ac_init_help" = "recursive"; then
1467 # If there are subdirs, report their specific --help.
1468 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1469 test -d "$ac_dir" ||
1470 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1475 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1477 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1478 # A ".." for each directory in $ac_dir_suffix.
1479 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1480 case $ac_top_builddir_sub in
1481 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1482 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1485 ac_abs_top_builddir=$ac_pwd
1486 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1487 # for backward compatibility:
1488 ac_top_builddir=$ac_top_build_prefix
1491 .) # We are building in place.
1493 ac_top_srcdir=$ac_top_builddir_sub
1494 ac_abs_top_srcdir=$ac_pwd ;;
1495 [\\/]* | ?:[\\/]* ) # Absolute name.
1496 ac_srcdir=$srcdir$ac_dir_suffix;
1497 ac_top_srcdir=$srcdir
1498 ac_abs_top_srcdir=$srcdir ;;
1500 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1501 ac_top_srcdir=$ac_top_build_prefix$srcdir
1502 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1504 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1506 cd "$ac_dir" || { ac_status=$?; continue; }
1507 # Check for guested configure.
1508 if test -f "$ac_srcdir/configure.gnu"; then
1510 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1511 elif test -f "$ac_srcdir/configure"; then
1513 $SHELL "$ac_srcdir/configure" --help=recursive
1515 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1517 cd "$ac_pwd" || { ac_status=$?; break; }
1521 test -n "$ac_init_help" && exit $ac_status
1522 if $ac_init_version; then
1524 sysstat configure 12.5.5
1525 generated by GNU Autoconf 2.69
1527 Copyright (C) 2012 Free Software Foundation, Inc.
1528 This configure script is free software; the Free Software Foundation
1529 gives unlimited permission to copy, distribute and modify it.
1534 ## ------------------------ ##
1535 ## Autoconf initialization. ##
1536 ## ------------------------ ##
1538 # ac_fn_c_try_compile LINENO
1539 # --------------------------
1540 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1541 ac_fn_c_try_compile ()
1543 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1544 rm -f conftest.$ac_objext
1545 if { { ac_try="$ac_compile"
1547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1548 *) ac_try_echo=$ac_try;;
1550 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1551 $as_echo "$ac_try_echo"; } >&5
1552 (eval "$ac_compile") 2>conftest.err
1554 if test -s conftest.err; then
1555 grep -v '^ *+' conftest.err >conftest.er1
1556 cat conftest.er1 >&5
1557 mv -f conftest.er1 conftest.err
1559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1560 test $ac_status = 0; } && {
1561 test -z "$ac_c_werror_flag" ||
1562 test ! -s conftest.err
1563 } && test -s conftest.$ac_objext; then :
1566 $as_echo "$as_me: failed program was:" >&5
1567 sed 's/^/| /' conftest.$ac_ext >&5
1571 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1572 as_fn_set_status $ac_retval
1574 } # ac_fn_c_try_compile
1576 # ac_fn_c_try_cpp LINENO
1577 # ----------------------
1578 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1581 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1582 if { { ac_try="$ac_cpp conftest.$ac_ext"
1584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1585 *) ac_try_echo=$ac_try;;
1587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588 $as_echo "$ac_try_echo"; } >&5
1589 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1591 if test -s conftest.err; then
1592 grep -v '^ *+' conftest.err >conftest.er1
1593 cat conftest.er1 >&5
1594 mv -f conftest.er1 conftest.err
1596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1597 test $ac_status = 0; } > conftest.i && {
1598 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1599 test ! -s conftest.err
1603 $as_echo "$as_me: failed program was:" >&5
1604 sed 's/^/| /' conftest.$ac_ext >&5
1608 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1609 as_fn_set_status $ac_retval
1613 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1614 # -------------------------------------------------------
1615 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1616 # the include files in INCLUDES and setting the cache variable VAR
1618 ac_fn_c_check_header_mongrel ()
1620 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1621 if eval \${$3+:} false; then :
1622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1623 $as_echo_n "checking for $2... " >&6; }
1624 if eval \${$3+:} false; then :
1625 $as_echo_n "(cached) " >&6
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1629 $as_echo "$ac_res" >&6; }
1631 # Is the header compilable?
1632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1633 $as_echo_n "checking $2 usability... " >&6; }
1634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635 /* end confdefs.h. */
1639 if ac_fn_c_try_compile "$LINENO"; then :
1640 ac_header_compiler=yes
1642 ac_header_compiler=no
1644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1646 $as_echo "$ac_header_compiler" >&6; }
1648 # Is the header present?
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1650 $as_echo_n "checking $2 presence... " >&6; }
1651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1652 /* end confdefs.h. */
1655 if ac_fn_c_try_cpp "$LINENO"; then :
1656 ac_header_preproc=yes
1658 ac_header_preproc=no
1660 rm -f conftest.err conftest.i conftest.$ac_ext
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1662 $as_echo "$ac_header_preproc" >&6; }
1664 # So? What about this header?
1665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1668 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1670 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1674 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1676 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1678 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1680 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1682 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1686 $as_echo_n "checking for $2... " >&6; }
1687 if eval \${$3+:} false; then :
1688 $as_echo_n "(cached) " >&6
1690 eval "$3=\$ac_header_compiler"
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1694 $as_echo "$ac_res" >&6; }
1696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1698 } # ac_fn_c_check_header_mongrel
1700 # ac_fn_c_try_run LINENO
1701 # ----------------------
1702 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1703 # that executables *can* be run.
1706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1707 if { { ac_try="$ac_link"
1709 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1710 *) ac_try_echo=$ac_try;;
1712 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1713 $as_echo "$ac_try_echo"; } >&5
1714 (eval "$ac_link") 2>&5
1716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1717 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1718 { { case "(($ac_try" in
1719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1720 *) ac_try_echo=$ac_try;;
1722 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1723 $as_echo "$ac_try_echo"; } >&5
1724 (eval "$ac_try") 2>&5
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; }; }; then :
1730 $as_echo "$as_me: program exited with status $ac_status" >&5
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1734 ac_retval=$ac_status
1736 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1737 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1738 as_fn_set_status $ac_retval
1742 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1743 # -------------------------------------------------------
1744 # Tests whether HEADER exists and can be compiled using the include files in
1745 # INCLUDES, setting the cache variable VAR accordingly.
1746 ac_fn_c_check_header_compile ()
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1750 $as_echo_n "checking for $2... " >&6; }
1751 if eval \${$3+:} false; then :
1752 $as_echo_n "(cached) " >&6
1754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1755 /* end confdefs.h. */
1759 if ac_fn_c_try_compile "$LINENO"; then :
1764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1768 $as_echo "$ac_res" >&6; }
1769 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1771 } # ac_fn_c_check_header_compile
1773 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1774 # -------------------------------------------
1775 # Tests whether TYPE exists after having included INCLUDES, setting cache
1776 # variable VAR accordingly.
1777 ac_fn_c_check_type ()
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1781 $as_echo_n "checking for $2... " >&6; }
1782 if eval \${$3+:} false; then :
1783 $as_echo_n "(cached) " >&6
1786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1787 /* end confdefs.h. */
1798 if ac_fn_c_try_compile "$LINENO"; then :
1799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1811 if ac_fn_c_try_compile "$LINENO"; then :
1816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1822 $as_echo "$ac_res" >&6; }
1823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1825 } # ac_fn_c_check_type
1827 # ac_fn_c_try_link LINENO
1828 # -----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 rm -f conftest.$ac_objext conftest$ac_exeext
1834 if { { ac_try="$ac_link"
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 test -x conftest$ac_exeext
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1869 as_fn_set_status $ac_retval
1871 } # ac_fn_c_try_link
1873 # ac_fn_c_check_func LINENO FUNC VAR
1874 # ----------------------------------
1875 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1876 ac_fn_c_check_func ()
1878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1880 $as_echo_n "checking for $2... " >&6; }
1881 if eval \${$3+:} false; then :
1882 $as_echo_n "(cached) " >&6
1884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1885 /* end confdefs.h. */
1886 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1888 #define $2 innocuous_$2
1890 /* System header to define __stub macros and hopefully few prototypes,
1891 which can conflict with char $2 (); below.
1892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1893 <limits.h> exists even on freestanding compilers. */
1896 # include <limits.h>
1898 # include <assert.h>
1903 /* Override any GCC internal prototype to avoid an error.
1904 Use char because int might match the return type of a GCC
1905 builtin and then its argument prototype would still apply. */
1910 /* The GNU C library defines this for functions which it implements
1911 to always fail with ENOSYS. Some functions are actually named
1912 something starting with __ and the normal name is an alias. */
1913 #if defined __stub_$2 || defined __stub___$2
1925 if ac_fn_c_try_link "$LINENO"; then :
1930 rm -f core conftest.err conftest.$ac_objext \
1931 conftest$ac_exeext conftest.$ac_ext
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1935 $as_echo "$ac_res" >&6; }
1936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1938 } # ac_fn_c_check_func
1939 cat >config.log <<_ACEOF
1940 This file contains any messages produced by compilers while
1941 running configure, to aid debugging if configure makes a mistake.
1943 It was created by sysstat $as_me 12.5.5, which was
1944 generated by GNU Autoconf 2.69. Invocation command line was
1956 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1957 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1958 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1959 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1960 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1962 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1963 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1965 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1966 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1967 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1968 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1969 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1970 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1971 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1979 test -z "$as_dir" && as_dir=.
1980 $as_echo "PATH: $as_dir"
1996 # Keep a trace of the command line.
1997 # Strip out --no-create and --no-recursion so they do not pile up.
1998 # Strip out --silent because we don't want to record it for future runs.
1999 # Also quote any args containing shell meta-characters.
2000 # Make two passes to allow for proper duplicate-argument suppression.
2004 ac_must_keep_next=false
2010 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2011 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2012 | -silent | --silent | --silen | --sile | --sil)
2015 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2018 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2020 as_fn_append ac_configure_args1 " '$ac_arg'"
2021 if test $ac_must_keep_next = true; then
2022 ac_must_keep_next=false # Got value, back to normal.
2025 *=* | --config-cache | -C | -disable-* | --disable-* \
2026 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2027 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2028 | -with-* | --with-* | -without-* | --without-* | --x)
2029 case "$ac_configure_args0 " in
2030 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2033 -* ) ac_must_keep_next=true ;;
2036 as_fn_append ac_configure_args " '$ac_arg'"
2041 { ac_configure_args0=; unset ac_configure_args0;}
2042 { ac_configure_args1=; unset ac_configure_args1;}
2044 # When interrupted or exit'd, cleanup temporary files, and complete
2045 # config.log. We remove comments because anyway the quotes in there
2046 # would cause problems or look ugly.
2047 # WARNING: Use '\'' to represent an apostrophe within the trap.
2048 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2049 trap 'exit_status=$?
2050 # Save into config.log some information that might help in debugging.
2054 $as_echo "## ---------------- ##
2055 ## Cache variables. ##
2056 ## ---------------- ##"
2058 # The following way of writing the cache mishandles newlines in values,
2060 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2061 eval ac_val=\$$ac_var
2065 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2066 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2069 _ | IFS | as_nl) ;; #(
2070 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2071 *) { eval $ac_var=; unset $ac_var;} ;;
2076 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2077 *${as_nl}ac_space=\ *)
2079 "s/'\''/'\''\\\\'\'''\''/g;
2080 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2083 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2090 $as_echo "## ----------------- ##
2091 ## Output variables. ##
2092 ## ----------------- ##"
2094 for ac_var in $ac_subst_vars
2096 eval ac_val=\$$ac_var
2098 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2100 $as_echo "$ac_var='\''$ac_val'\''"
2104 if test -n "$ac_subst_files"; then
2105 $as_echo "## ------------------- ##
2106 ## File substitutions. ##
2107 ## ------------------- ##"
2109 for ac_var in $ac_subst_files
2111 eval ac_val=\$$ac_var
2113 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2115 $as_echo "$ac_var='\''$ac_val'\''"
2120 if test -s confdefs.h; then
2121 $as_echo "## ----------- ##
2128 test "$ac_signal" != 0 &&
2129 $as_echo "$as_me: caught signal $ac_signal"
2130 $as_echo "$as_me: exit $exit_status"
2132 rm -f core *.core core.conftest.* &&
2133 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2136 for ac_signal in 1 2 13 15; do
2137 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2141 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2142 rm -f -r conftest* confdefs.h
2144 $as_echo "/* confdefs.h */" > confdefs.h
2146 # Predefined preprocessor variables.
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_NAME "$PACKAGE_NAME"
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2156 cat >>confdefs.h <<_ACEOF
2157 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2160 cat >>confdefs.h <<_ACEOF
2161 #define PACKAGE_STRING "$PACKAGE_STRING"
2164 cat >>confdefs.h <<_ACEOF
2165 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2168 cat >>confdefs.h <<_ACEOF
2169 #define PACKAGE_URL "$PACKAGE_URL"
2173 # Let the site file select an alternate cache file if it wants to.
2174 # Prefer an explicitly selected file to automatically selected ones.
2177 if test -n "$CONFIG_SITE"; then
2178 # We do not want a PATH search for config.site.
2179 case $CONFIG_SITE in #((
2180 -*) ac_site_file1=./$CONFIG_SITE;;
2181 */*) ac_site_file1=$CONFIG_SITE;;
2182 *) ac_site_file1=./$CONFIG_SITE;;
2184 elif test "x$prefix" != xNONE; then
2185 ac_site_file1=$prefix/share/config.site
2186 ac_site_file2=$prefix/etc/config.site
2188 ac_site_file1=$ac_default_prefix/share/config.site
2189 ac_site_file2=$ac_default_prefix/etc/config.site
2191 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2193 test "x$ac_site_file" = xNONE && continue
2194 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2196 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2197 sed 's/^/| /' "$ac_site_file" >&5
2199 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2201 as_fn_error $? "failed to load site script $ac_site_file
2202 See \`config.log' for more details" "$LINENO" 5; }
2206 if test -r "$cache_file"; then
2207 # Some versions of bash will fail to source /dev/null (special files
2208 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2209 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2211 $as_echo "$as_me: loading cache $cache_file" >&6;}
2213 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2214 *) . "./$cache_file";;
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2219 $as_echo "$as_me: creating cache $cache_file" >&6;}
2223 # Check that the precious variables saved in the cache have kept the same
2225 ac_cache_corrupted=false
2226 for ac_var in $ac_precious_vars; do
2227 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2228 eval ac_new_set=\$ac_env_${ac_var}_set
2229 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2230 eval ac_new_val=\$ac_env_${ac_var}_value
2231 case $ac_old_set,$ac_new_set in
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2234 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2235 ac_cache_corrupted=: ;;
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2238 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2239 ac_cache_corrupted=: ;;
2242 if test "x$ac_old_val" != "x$ac_new_val"; then
2243 # differences in whitespace do not lead to failure.
2244 ac_old_val_w=`echo x $ac_old_val`
2245 ac_new_val_w=`echo x $ac_new_val`
2246 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2248 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2249 ac_cache_corrupted=:
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2252 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2253 eval $ac_var=\$ac_old_val
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2256 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2258 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2261 # Pass precious variables to config.status.
2262 if test "$ac_new_set" = set; then
2264 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2265 *) ac_arg=$ac_var=$ac_new_val ;;
2267 case " $ac_configure_args " in
2268 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2269 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2273 if $ac_cache_corrupted; then
2274 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2277 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2278 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2280 ## -------------------- ##
2281 ## Main body of script. ##
2282 ## -------------------- ##
2285 ac_cpp='$CPP $CPPFLAGS'
2286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2292 # Ensure that a recent enough version of Autoconf is being used
2295 # Check whether the configure script is in the right dir
2300 echo Check programs:
2304 ac_cpp='$CPP $CPPFLAGS'
2305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2308 if test -n "$ac_tool_prefix"; then
2309 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2310 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2312 $as_echo_n "checking for $ac_word... " >&6; }
2313 if ${ac_cv_prog_CC+:} false; then :
2314 $as_echo_n "(cached) " >&6
2316 if test -n "$CC"; then
2317 ac_cv_prog_CC="$CC" # Let the user override the test.
2319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2323 test -z "$as_dir" && as_dir=.
2324 for ac_exec_ext in '' $ac_executable_extensions; do
2325 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2326 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2327 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2337 if test -n "$CC"; then
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2339 $as_echo "$CC" >&6; }
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2342 $as_echo "no" >&6; }
2347 if test -z "$ac_cv_prog_CC"; then
2349 # Extract the first word of "gcc", so it can be a program name with args.
2350 set dummy gcc; ac_word=$2
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2352 $as_echo_n "checking for $ac_word... " >&6; }
2353 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2354 $as_echo_n "(cached) " >&6
2356 if test -n "$ac_ct_CC"; then
2357 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir=.
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2366 ac_cv_prog_ac_ct_CC="gcc"
2367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2376 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2377 if test -n "$ac_ct_CC"; then
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2379 $as_echo "$ac_ct_CC" >&6; }
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2382 $as_echo "no" >&6; }
2385 if test "x$ac_ct_CC" = x; then
2388 case $cross_compiling:$ac_tool_warned in
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2392 ac_tool_warned=yes ;;
2400 if test -z "$CC"; then
2401 if test -n "$ac_tool_prefix"; then
2402 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2403 set dummy ${ac_tool_prefix}cc; ac_word=$2
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2405 $as_echo_n "checking for $ac_word... " >&6; }
2406 if ${ac_cv_prog_CC+:} false; then :
2407 $as_echo_n "(cached) " >&6
2409 if test -n "$CC"; then
2410 ac_cv_prog_CC="$CC" # Let the user override the test.
2412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2416 test -z "$as_dir" && as_dir=.
2417 for ac_exec_ext in '' $ac_executable_extensions; do
2418 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2419 ac_cv_prog_CC="${ac_tool_prefix}cc"
2420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2430 if test -n "$CC"; then
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2432 $as_echo "$CC" >&6; }
2434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2435 $as_echo "no" >&6; }
2441 if test -z "$CC"; then
2442 # Extract the first word of "cc", so it can be a program name with args.
2443 set dummy cc; ac_word=$2
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2445 $as_echo_n "checking for $ac_word... " >&6; }
2446 if ${ac_cv_prog_CC+:} false; then :
2447 $as_echo_n "(cached) " >&6
2449 if test -n "$CC"; then
2450 ac_cv_prog_CC="$CC" # Let the user override the test.
2453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 test -z "$as_dir" && as_dir=.
2458 for ac_exec_ext in '' $ac_executable_extensions; do
2459 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2460 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2461 ac_prog_rejected=yes
2465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2472 if test $ac_prog_rejected = yes; then
2473 # We found a bogon in the path, so make sure we never use it.
2474 set dummy $ac_cv_prog_CC
2476 if test $# != 0; then
2477 # We chose a different compiler from the bogus one.
2478 # However, it has the same basename, so the bogon will be chosen
2479 # first if we set CC to just the basename; use the full file name.
2481 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2487 if test -n "$CC"; then
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2489 $as_echo "$CC" >&6; }
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2492 $as_echo "no" >&6; }
2497 if test -z "$CC"; then
2498 if test -n "$ac_tool_prefix"; then
2499 for ac_prog in cl.exe
2501 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2502 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2504 $as_echo_n "checking for $ac_word... " >&6; }
2505 if ${ac_cv_prog_CC+:} false; then :
2506 $as_echo_n "(cached) " >&6
2508 if test -n "$CC"; then
2509 ac_cv_prog_CC="$CC" # Let the user override the test.
2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2515 test -z "$as_dir" && as_dir=.
2516 for ac_exec_ext in '' $ac_executable_extensions; do
2517 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2518 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2519 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2529 if test -n "$CC"; then
2530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2531 $as_echo "$CC" >&6; }
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2534 $as_echo "no" >&6; }
2538 test -n "$CC" && break
2541 if test -z "$CC"; then
2543 for ac_prog in cl.exe
2545 # Extract the first word of "$ac_prog", so it can be a program name with args.
2546 set dummy $ac_prog; ac_word=$2
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2548 $as_echo_n "checking for $ac_word... " >&6; }
2549 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2550 $as_echo_n "(cached) " >&6
2552 if test -n "$ac_ct_CC"; then
2553 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2559 test -z "$as_dir" && as_dir=.
2560 for ac_exec_ext in '' $ac_executable_extensions; do
2561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2562 ac_cv_prog_ac_ct_CC="$ac_prog"
2563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2572 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2573 if test -n "$ac_ct_CC"; then
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2575 $as_echo "$ac_ct_CC" >&6; }
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2578 $as_echo "no" >&6; }
2582 test -n "$ac_ct_CC" && break
2585 if test "x$ac_ct_CC" = x; then
2588 case $cross_compiling:$ac_tool_warned in
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2591 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2592 ac_tool_warned=yes ;;
2601 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2602 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2603 as_fn_error $? "no acceptable C compiler found in \$PATH
2604 See \`config.log' for more details" "$LINENO" 5; }
2606 # Provide some information about the compiler.
2607 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2610 for ac_option in --version -v -V -qversion; do
2611 { { ac_try="$ac_compiler $ac_option >&5"
2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614 *) ac_try_echo=$ac_try;;
2616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2617 $as_echo "$ac_try_echo"; } >&5
2618 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2620 if test -s conftest.err; then
2622 ... rest of stderr output deleted ...
2623 10q' conftest.err >conftest.er1
2624 cat conftest.er1 >&5
2626 rm -f conftest.er1 conftest.err
2627 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2628 test $ac_status = 0; }
2631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2632 /* end confdefs.h. */
2642 ac_clean_files_save=$ac_clean_files
2643 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2644 # Try to create an executable without -o first, disregard a.out.
2645 # It will help us diagnose broken compilers, and finding out an intuition
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2648 $as_echo_n "checking whether the C compiler works... " >&6; }
2649 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2651 # The possible output files:
2652 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2655 for ac_file in $ac_files
2658 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2659 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2664 if { { ac_try="$ac_link_default"
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2670 $as_echo "$ac_try_echo"; } >&5
2671 (eval "$ac_link_default") 2>&5
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; }; then :
2675 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2676 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2677 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2678 # so that the user can short-circuit this test for compilers unknown to
2680 for ac_file in $ac_files ''
2682 test -f "$ac_file" || continue
2684 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2687 # We found the default executable, but exeext='' is most
2691 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2693 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2695 # We set ac_cv_exeext here because the later test for it is not
2696 # safe: cross compilers may not add the suffix if given an `-o'
2697 # argument, so we may need to know it at that point already.
2698 # Even if this section looks crufty: it has the advantage of
2705 test "$ac_cv_exeext" = no && ac_cv_exeext=
2710 if test -z "$ac_file"; then :
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2712 $as_echo "no" >&6; }
2713 $as_echo "$as_me: failed program was:" >&5
2714 sed 's/^/| /' conftest.$ac_ext >&5
2716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2718 as_fn_error 77 "C compiler cannot create executables
2719 See \`config.log' for more details" "$LINENO" 5; }
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2722 $as_echo "yes" >&6; }
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2725 $as_echo_n "checking for C compiler default output file name... " >&6; }
2726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2727 $as_echo "$ac_file" >&6; }
2728 ac_exeext=$ac_cv_exeext
2730 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2731 ac_clean_files=$ac_clean_files_save
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2733 $as_echo_n "checking for suffix of executables... " >&6; }
2734 if { { ac_try="$ac_link"
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2739 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2740 $as_echo "$ac_try_echo"; } >&5
2741 (eval "$ac_link") 2>&5
2743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2744 test $ac_status = 0; }; then :
2745 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2746 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2747 # work properly (i.e., refer to `conftest.exe'), while it won't with
2749 for ac_file in conftest.exe conftest conftest.*; do
2750 test -f "$ac_file" || continue
2752 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2753 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2759 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2760 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2761 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2762 See \`config.log' for more details" "$LINENO" 5; }
2764 rm -f conftest conftest$ac_cv_exeext
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2766 $as_echo "$ac_cv_exeext" >&6; }
2768 rm -f conftest.$ac_ext
2769 EXEEXT=$ac_cv_exeext
2771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2772 /* end confdefs.h. */
2777 FILE *f = fopen ("conftest.out", "w");
2778 return ferror (f) || fclose (f) != 0;
2784 ac_clean_files="$ac_clean_files conftest.out"
2785 # Check that the compiler produces executables we can run. If not, either
2786 # the compiler is broken, or we cross compile.
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2788 $as_echo_n "checking whether we are cross compiling... " >&6; }
2789 if test "$cross_compiling" != yes; then
2790 { { ac_try="$ac_link"
2792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2793 *) ac_try_echo=$ac_try;;
2795 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2796 $as_echo "$ac_try_echo"; } >&5
2797 (eval "$ac_link") 2>&5
2799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2800 test $ac_status = 0; }
2801 if { ac_try='./conftest$ac_cv_exeext'
2802 { { case "(($ac_try" in
2803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2804 *) ac_try_echo=$ac_try;;
2806 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2807 $as_echo "$ac_try_echo"; } >&5
2808 (eval "$ac_try") 2>&5
2810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2811 test $ac_status = 0; }; }; then
2814 if test "$cross_compiling" = maybe; then
2817 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2819 as_fn_error $? "cannot run C compiled programs.
2820 If you meant to cross compile, use \`--host'.
2821 See \`config.log' for more details" "$LINENO" 5; }
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2826 $as_echo "$cross_compiling" >&6; }
2828 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2829 ac_clean_files=$ac_clean_files_save
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2831 $as_echo_n "checking for suffix of object files... " >&6; }
2832 if ${ac_cv_objext+:} false; then :
2833 $as_echo_n "(cached) " >&6
2835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2836 /* end confdefs.h. */
2846 rm -f conftest.o conftest.obj
2847 if { { ac_try="$ac_compile"
2849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2850 *) ac_try_echo=$ac_try;;
2852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2853 $as_echo "$ac_try_echo"; } >&5
2854 (eval "$ac_compile") 2>&5
2856 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2857 test $ac_status = 0; }; then :
2858 for ac_file in conftest.o conftest.obj conftest.*; do
2859 test -f "$ac_file" || continue;
2861 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2862 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2867 $as_echo "$as_me: failed program was:" >&5
2868 sed 's/^/| /' conftest.$ac_ext >&5
2870 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2871 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2872 as_fn_error $? "cannot compute suffix of object files: cannot compile
2873 See \`config.log' for more details" "$LINENO" 5; }
2875 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2878 $as_echo "$ac_cv_objext" >&6; }
2879 OBJEXT=$ac_cv_objext
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2882 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2883 if ${ac_cv_c_compiler_gnu+:} false; then :
2884 $as_echo_n "(cached) " >&6
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2900 if ac_fn_c_try_compile "$LINENO"; then :
2905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2906 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2910 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2911 if test $ac_compiler_gnu = yes; then
2916 ac_test_CFLAGS=${CFLAGS+set}
2917 ac_save_CFLAGS=$CFLAGS
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2919 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2920 if ${ac_cv_prog_cc_g+:} false; then :
2921 $as_echo_n "(cached) " >&6
2923 ac_save_c_werror_flag=$ac_c_werror_flag
2924 ac_c_werror_flag=yes
2927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2928 /* end confdefs.h. */
2938 if ac_fn_c_try_compile "$LINENO"; then :
2942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2943 /* end confdefs.h. */
2953 if ac_fn_c_try_compile "$LINENO"; then :
2956 ac_c_werror_flag=$ac_save_c_werror_flag
2958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2959 /* end confdefs.h. */
2969 if ac_fn_c_try_compile "$LINENO"; then :
2972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2977 ac_c_werror_flag=$ac_save_c_werror_flag
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2980 $as_echo "$ac_cv_prog_cc_g" >&6; }
2981 if test "$ac_test_CFLAGS" = set; then
2982 CFLAGS=$ac_save_CFLAGS
2983 elif test $ac_cv_prog_cc_g = yes; then
2984 if test "$GCC" = yes; then
2990 if test "$GCC" = yes; then
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2997 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2998 if ${ac_cv_prog_cc_c89+:} false; then :
2999 $as_echo_n "(cached) " >&6
3001 ac_cv_prog_cc_c89=no
3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h. */
3008 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3009 struct buf { int x; };
3010 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3011 static char *e (p, i)
3017 static char *f (char * (*g) (char **, int), char **p, ...)
3022 s = g (p, va_arg (v,int));
3027 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3028 function prototypes and stuff, but not '\xHH' hex character constants.
3029 These don't provoke an error unfortunately, instead are silently treated
3030 as 'x'. The following induces an error, until -std is added to get
3031 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3032 array size at least. It's necessary to write '\x00'==0 to get something
3033 that's true only with -std. */
3034 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3036 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3037 inside strings and character constants. */
3039 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3041 int test (int i, double x);
3042 struct s1 {int (*f) (int a);};
3043 struct s2 {int (*f) (double a);};
3044 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3050 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3055 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3056 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3058 CC="$ac_save_CC $ac_arg"
3059 if ac_fn_c_try_compile "$LINENO"; then :
3060 ac_cv_prog_cc_c89=$ac_arg
3062 rm -f core conftest.err conftest.$ac_objext
3063 test "x$ac_cv_prog_cc_c89" != "xno" && break
3065 rm -f conftest.$ac_ext
3070 case "x$ac_cv_prog_cc_c89" in
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3073 $as_echo "none needed" >&6; } ;;
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3076 $as_echo "unsupported" >&6; } ;;
3078 CC="$CC $ac_cv_prog_cc_c89"
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3080 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3082 if test "x$ac_cv_prog_cc_c89" != xno; then :
3087 ac_cpp='$CPP $CPPFLAGS'
3088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3094 ac_cpp='$CPP $CPPFLAGS'
3095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3099 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3100 # On Suns, sometimes $CPP names a directory.
3101 if test -n "$CPP" && test -d "$CPP"; then
3104 if test -z "$CPP"; then
3105 if ${ac_cv_prog_CPP+:} false; then :
3106 $as_echo_n "(cached) " >&6
3108 # Double quotes because CPP needs to be expanded
3109 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3112 for ac_c_preproc_warn_flag in '' yes
3114 # Use a header file that comes with gcc, so configuring glibc
3115 # with a fresh cross-compiler works.
3116 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3117 # <limits.h> exists even on freestanding compilers.
3118 # On the NeXT, cc -E runs the code through the compiler's parser,
3119 # not just through cpp. "Syntax error" is here to catch this case.
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h. */
3123 # include <limits.h>
3125 # include <assert.h>
3129 if ac_fn_c_try_cpp "$LINENO"; then :
3132 # Broken: fails on valid input.
3135 rm -f conftest.err conftest.i conftest.$ac_ext
3137 # OK, works on sane cases. Now check whether nonexistent headers
3138 # can be detected and how.
3139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3140 /* end confdefs.h. */
3141 #include <ac_nonexistent.h>
3143 if ac_fn_c_try_cpp "$LINENO"; then :
3144 # Broken: success on invalid input.
3147 # Passes both tests.
3151 rm -f conftest.err conftest.i conftest.$ac_ext
3154 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3155 rm -f conftest.i conftest.err conftest.$ac_ext
3156 if $ac_preproc_ok; then :
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3169 $as_echo "$CPP" >&6; }
3171 for ac_c_preproc_warn_flag in '' yes
3173 # Use a header file that comes with gcc, so configuring glibc
3174 # with a fresh cross-compiler works.
3175 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3176 # <limits.h> exists even on freestanding compilers.
3177 # On the NeXT, cc -E runs the code through the compiler's parser,
3178 # not just through cpp. "Syntax error" is here to catch this case.
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3182 # include <limits.h>
3184 # include <assert.h>
3188 if ac_fn_c_try_cpp "$LINENO"; then :
3191 # Broken: fails on valid input.
3194 rm -f conftest.err conftest.i conftest.$ac_ext
3196 # OK, works on sane cases. Now check whether nonexistent headers
3197 # can be detected and how.
3198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3199 /* end confdefs.h. */
3200 #include <ac_nonexistent.h>
3202 if ac_fn_c_try_cpp "$LINENO"; then :
3203 # Broken: success on invalid input.
3206 # Passes both tests.
3210 rm -f conftest.err conftest.i conftest.$ac_ext
3213 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3214 rm -f conftest.i conftest.err conftest.$ac_ext
3215 if $ac_preproc_ok; then :
3218 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3219 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3220 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3221 See \`config.log' for more details" "$LINENO" 5; }
3225 ac_cpp='$CPP $CPPFLAGS'
3226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3232 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3233 if ${ac_cv_path_GREP+:} false; then :
3234 $as_echo_n "(cached) " >&6
3236 if test -z "$GREP"; then
3237 ac_path_GREP_found=false
3238 # Loop through the user's path and test for each of PROGNAME-LIST
3239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3240 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3243 test -z "$as_dir" && as_dir=.
3244 for ac_prog in grep ggrep; do
3245 for ac_exec_ext in '' $ac_executable_extensions; do
3246 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3247 as_fn_executable_p "$ac_path_GREP" || continue
3248 # Check for GNU ac_path_GREP and select it if it is found.
3249 # Check for GNU $ac_path_GREP
3250 case `"$ac_path_GREP" --version 2>&1` in
3252 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3255 $as_echo_n 0123456789 >"conftest.in"
3258 cat "conftest.in" "conftest.in" >"conftest.tmp"
3259 mv "conftest.tmp" "conftest.in"
3260 cp "conftest.in" "conftest.nl"
3261 $as_echo 'GREP' >> "conftest.nl"
3262 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3263 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3264 as_fn_arith $ac_count + 1 && ac_count=$as_val
3265 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3266 # Best one so far, save it but keep looking for a better one
3267 ac_cv_path_GREP="$ac_path_GREP"
3268 ac_path_GREP_max=$ac_count
3270 # 10*(2^10) chars as input seems more than enough
3271 test $ac_count -gt 10 && break
3273 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3276 $ac_path_GREP_found && break 3
3281 if test -z "$ac_cv_path_GREP"; then
3282 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3285 ac_cv_path_GREP=$GREP
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3290 $as_echo "$ac_cv_path_GREP" >&6; }
3291 GREP="$ac_cv_path_GREP"
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3295 $as_echo_n "checking for egrep... " >&6; }
3296 if ${ac_cv_path_EGREP+:} false; then :
3297 $as_echo_n "(cached) " >&6
3299 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3300 then ac_cv_path_EGREP="$GREP -E"
3302 if test -z "$EGREP"; then
3303 ac_path_EGREP_found=false
3304 # Loop through the user's path and test for each of PROGNAME-LIST
3305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3306 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3309 test -z "$as_dir" && as_dir=.
3310 for ac_prog in egrep; do
3311 for ac_exec_ext in '' $ac_executable_extensions; do
3312 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3313 as_fn_executable_p "$ac_path_EGREP" || continue
3314 # Check for GNU ac_path_EGREP and select it if it is found.
3315 # Check for GNU $ac_path_EGREP
3316 case `"$ac_path_EGREP" --version 2>&1` in
3318 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3321 $as_echo_n 0123456789 >"conftest.in"
3324 cat "conftest.in" "conftest.in" >"conftest.tmp"
3325 mv "conftest.tmp" "conftest.in"
3326 cp "conftest.in" "conftest.nl"
3327 $as_echo 'EGREP' >> "conftest.nl"
3328 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3329 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3330 as_fn_arith $ac_count + 1 && ac_count=$as_val
3331 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3332 # Best one so far, save it but keep looking for a better one
3333 ac_cv_path_EGREP="$ac_path_EGREP"
3334 ac_path_EGREP_max=$ac_count
3336 # 10*(2^10) chars as input seems more than enough
3337 test $ac_count -gt 10 && break
3339 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3342 $ac_path_EGREP_found && break 3
3347 if test -z "$ac_cv_path_EGREP"; then
3348 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3351 ac_cv_path_EGREP=$EGREP
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3357 $as_echo "$ac_cv_path_EGREP" >&6; }
3358 EGREP="$ac_cv_path_EGREP"
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3362 $as_echo_n "checking for ANSI C header files... " >&6; }
3363 if ${ac_cv_header_stdc+:} false; then :
3364 $as_echo_n "(cached) " >&6
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3381 if ac_fn_c_try_compile "$LINENO"; then :
3382 ac_cv_header_stdc=yes
3384 ac_cv_header_stdc=no
3386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388 if test $ac_cv_header_stdc = yes; then
3389 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3391 /* end confdefs.h. */
3395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3396 $EGREP "memchr" >/dev/null 2>&1; then :
3399 ac_cv_header_stdc=no
3405 if test $ac_cv_header_stdc = yes; then
3406 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3408 /* end confdefs.h. */
3412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3413 $EGREP "free" >/dev/null 2>&1; then :
3416 ac_cv_header_stdc=no
3422 if test $ac_cv_header_stdc = yes; then
3423 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3424 if test "$cross_compiling" = yes; then :
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3431 #if ((' ' & 0x0FF) == 0x020)
3432 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3433 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3435 # define ISLOWER(c) \
3436 (('a' <= (c) && (c) <= 'i') \
3437 || ('j' <= (c) && (c) <= 'r') \
3438 || ('s' <= (c) && (c) <= 'z'))
3439 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3442 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3447 for (i = 0; i < 256; i++)
3448 if (XOR (islower (i), ISLOWER (i))
3449 || toupper (i) != TOUPPER (i))
3454 if ac_fn_c_try_run "$LINENO"; then :
3457 ac_cv_header_stdc=no
3459 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3460 conftest.$ac_objext conftest.beam conftest.$ac_ext
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3466 $as_echo "$ac_cv_header_stdc" >&6; }
3467 if test $ac_cv_header_stdc = yes; then
3469 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3473 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3474 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3475 inttypes.h stdint.h unistd.h
3477 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3478 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3480 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3481 cat >>confdefs.h <<_ACEOF
3482 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3491 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3492 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3499 if test "$MINIX" = yes; then
3501 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3504 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3507 $as_echo "#define _MINIX 1" >>confdefs.h
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3513 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3514 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3515 $as_echo_n "(cached) " >&6
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3520 # define __EXTENSIONS__ 1
3521 $ac_includes_default
3530 if ac_fn_c_try_compile "$LINENO"; then :
3531 ac_cv_safe_to_define___extensions__=yes
3533 ac_cv_safe_to_define___extensions__=no
3535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3538 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3539 test $ac_cv_safe_to_define___extensions__ = yes &&
3540 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3542 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3544 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3546 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3548 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3553 $as_echo_n "checking whether ln -s works... " >&6; }
3555 if test "$LN_S" = "ln -s"; then
3556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3557 $as_echo "yes" >&6; }
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3560 $as_echo "no, using $LN_S" >&6; }
3566 # Extract the first word of "chmod", so it can be a program name with args.
3567 set dummy chmod; ac_word=$2
3568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3569 $as_echo_n "checking for $ac_word... " >&6; }
3570 if ${ac_cv_prog_CHMOD+:} false; then :
3571 $as_echo_n "(cached) " >&6
3573 if test -n "$CHMOD"; then
3574 ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
3576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580 test -z "$as_dir" && as_dir=.
3581 for ac_exec_ext in '' $ac_executable_extensions; do
3582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3583 ac_cv_prog_CHMOD="chmod"
3584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3593 CHMOD=$ac_cv_prog_CHMOD
3594 if test -n "$CHMOD"; then
3595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
3596 $as_echo "$CHMOD" >&6; }
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3599 $as_echo "no" >&6; }
3603 # Extract the first word of "chown", so it can be a program name with args.
3604 set dummy chown; ac_word=$2
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3606 $as_echo_n "checking for $ac_word... " >&6; }
3607 if ${ac_cv_prog_CHOWN+:} false; then :
3608 $as_echo_n "(cached) " >&6
3610 if test -n "$CHOWN"; then
3611 ac_cv_prog_CHOWN="$CHOWN" # Let the user override the test.
3613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3617 test -z "$as_dir" && as_dir=.
3618 for ac_exec_ext in '' $ac_executable_extensions; do
3619 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3620 ac_cv_prog_CHOWN="chown"
3621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3630 CHOWN=$ac_cv_prog_CHOWN
3631 if test -n "$CHOWN"; then
3632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHOWN" >&5
3633 $as_echo "$CHOWN" >&6; }
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3636 $as_echo "no" >&6; }
3640 # Extract the first word of "ar", so it can be a program name with args.
3641 set dummy ar; ac_word=$2
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3643 $as_echo_n "checking for $ac_word... " >&6; }
3644 if ${ac_cv_prog_AR+:} false; then :
3645 $as_echo_n "(cached) " >&6
3647 if test -n "$AR"; then
3648 ac_cv_prog_AR="$AR" # Let the user override the test.
3650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654 test -z "$as_dir" && as_dir=.
3655 for ac_exec_ext in '' $ac_executable_extensions; do
3656 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 if test -n "$AR"; then
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3670 $as_echo "$AR" >&6; }
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3673 $as_echo "no" >&6; }
3677 # Extract the first word of "install", so it can be a program name with args.
3678 set dummy install; ac_word=$2
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3680 $as_echo_n "checking for $ac_word... " >&6; }
3681 if ${ac_cv_prog_INSTALL+:} false; then :
3682 $as_echo_n "(cached) " >&6
3684 if test -n "$INSTALL"; then
3685 ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
3687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691 test -z "$as_dir" && as_dir=.
3692 for ac_exec_ext in '' $ac_executable_extensions; do
3693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3694 ac_cv_prog_INSTALL="install"
3695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3704 INSTALL=$ac_cv_prog_INSTALL
3705 if test -n "$INSTALL"; then
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3707 $as_echo "$INSTALL" >&6; }
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3710 $as_echo "no" >&6; }
3714 # Extract the first word of "msgfmt", so it can be a program name with args.
3715 set dummy msgfmt; ac_word=$2
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3717 $as_echo_n "checking for $ac_word... " >&6; }
3718 if ${ac_cv_prog_MSGFMT+:} false; then :
3719 $as_echo_n "(cached) " >&6
3721 if test -n "$MSGFMT"; then
3722 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
3724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3728 test -z "$as_dir" && as_dir=.
3729 for ac_exec_ext in '' $ac_executable_extensions; do
3730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3731 ac_cv_prog_MSGFMT="msgfmt"
3732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3741 MSGFMT=$ac_cv_prog_MSGFMT
3742 if test -n "$MSGFMT"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3744 $as_echo "$MSGFMT" >&6; }
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3751 # Extract the first word of "xgettext", so it can be a program name with args.
3752 set dummy xgettext; ac_word=$2
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3754 $as_echo_n "checking for $ac_word... " >&6; }
3755 if ${ac_cv_prog_XGETTEXT+:} false; then :
3756 $as_echo_n "(cached) " >&6
3758 if test -n "$XGETTEXT"; then
3759 ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test.
3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3765 test -z "$as_dir" && as_dir=.
3766 for ac_exec_ext in '' $ac_executable_extensions; do
3767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3768 ac_cv_prog_XGETTEXT="xgettext"
3769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3778 XGETTEXT=$ac_cv_prog_XGETTEXT
3779 if test -n "$XGETTEXT"; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3781 $as_echo "$XGETTEXT" >&6; }
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3784 $as_echo "no" >&6; }
3788 # Extract the first word of "msgmerge", so it can be a program name with args.
3789 set dummy msgmerge; ac_word=$2
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3791 $as_echo_n "checking for $ac_word... " >&6; }
3792 if ${ac_cv_prog_MSGMERGE+:} false; then :
3793 $as_echo_n "(cached) " >&6
3795 if test -n "$MSGMERGE"; then
3796 ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test.
3798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3802 test -z "$as_dir" && as_dir=.
3803 for ac_exec_ext in '' $ac_executable_extensions; do
3804 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3805 ac_cv_prog_MSGMERGE="msgmerge"
3806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3815 MSGMERGE=$ac_cv_prog_MSGMERGE
3816 if test -n "$MSGMERGE"; then
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3818 $as_echo "$MSGMERGE" >&6; }
3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3821 $as_echo "no" >&6; }
3825 # Extract the first word of "xmllint", so it can be a program name with args.
3826 set dummy xmllint; ac_word=$2
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3828 $as_echo_n "checking for $ac_word... " >&6; }
3829 if ${ac_cv_prog_VER_XML+:} false; then :
3830 $as_echo_n "(cached) " >&6
3832 if test -n "$VER_XML"; then
3833 ac_cv_prog_VER_XML="$VER_XML" # Let the user override the test.
3835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3839 test -z "$as_dir" && as_dir=.
3840 for ac_exec_ext in '' $ac_executable_extensions; do
3841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3842 ac_cv_prog_VER_XML="xmllint"
3843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3852 VER_XML=$ac_cv_prog_VER_XML
3853 if test -n "$VER_XML"; then
3854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VER_XML" >&5
3855 $as_echo "$VER_XML" >&6; }
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3858 $as_echo "no" >&6; }
3862 for ac_prog in json_verify json_pp
3864 # Extract the first word of "$ac_prog", so it can be a program name with args.
3865 set dummy $ac_prog; ac_word=$2
3866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3867 $as_echo_n "checking for $ac_word... " >&6; }
3868 if ${ac_cv_prog_VER_JSON+:} false; then :
3869 $as_echo_n "(cached) " >&6
3871 if test -n "$VER_JSON"; then
3872 ac_cv_prog_VER_JSON="$VER_JSON" # Let the user override the test.
3874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3878 test -z "$as_dir" && as_dir=.
3879 for ac_exec_ext in '' $ac_executable_extensions; do
3880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3881 ac_cv_prog_VER_JSON="$ac_prog"
3882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3891 VER_JSON=$ac_cv_prog_VER_JSON
3892 if test -n "$VER_JSON"; then
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VER_JSON" >&5
3894 $as_echo "$VER_JSON" >&6; }
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3897 $as_echo "no" >&6; }
3901 test -n "$VER_JSON" && break
3903 test -n "$VER_JSON" || VER_JSON="true"
3905 for ac_prog in xz bzip2 gzip
3907 # Extract the first word of "$ac_prog", so it can be a program name with args.
3908 set dummy $ac_prog; ac_word=$2
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3910 $as_echo_n "checking for $ac_word... " >&6; }
3911 if ${ac_cv_prog_ZIP+:} false; then :
3912 $as_echo_n "(cached) " >&6
3914 if test -n "$ZIP"; then
3915 ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
3917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3921 test -z "$as_dir" && as_dir=.
3922 for ac_exec_ext in '' $ac_executable_extensions; do
3923 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3924 ac_cv_prog_ZIP="$ac_prog"
3925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3935 if test -n "$ZIP"; then
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
3937 $as_echo "$ZIP" >&6; }
3939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3940 $as_echo "no" >&6; }
3944 test -n "$ZIP" && break
3946 test -n "$ZIP" || ZIP="gzip"
3948 INSTALL_DATA="\${INSTALL} -m 644"
3950 INSTALL_BIN="\${INSTALL} -m 755"
3956 # Extract the first word of "cp", so it can be a program name with args.
3957 set dummy cp; ac_word=$2
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3959 $as_echo_n "checking for $ac_word... " >&6; }
3960 if ${ac_cv_path_PATH_CP+:} false; then :
3961 $as_echo_n "(cached) " >&6
3965 ac_cv_path_PATH_CP="$PATH_CP" # Let the user override the test with a path.
3968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3972 test -z "$as_dir" && as_dir=.
3973 for ac_exec_ext in '' $ac_executable_extensions; do
3974 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3975 ac_cv_path_PATH_CP="$as_dir/$ac_word$ac_exec_ext"
3976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3986 PATH_CP=$ac_cv_path_PATH_CP
3987 if test -n "$PATH_CP"; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CP" >&5
3989 $as_echo "$PATH_CP" >&6; }
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992 $as_echo "no" >&6; }
3996 # Extract the first word of "chkconfig", so it can be a program name with args.
3997 set dummy chkconfig; ac_word=$2
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3999 $as_echo_n "checking for $ac_word... " >&6; }
4000 if ${ac_cv_path_PATH_CHKCONFIG+:} false; then :
4001 $as_echo_n "(cached) " >&6
4003 case $PATH_CHKCONFIG in
4005 ac_cv_path_PATH_CHKCONFIG="$PATH_CHKCONFIG" # Let the user override the test with a path.
4008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4012 test -z "$as_dir" && as_dir=.
4013 for ac_exec_ext in '' $ac_executable_extensions; do
4014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4015 ac_cv_path_PATH_CHKCONFIG="$as_dir/$ac_word$ac_exec_ext"
4016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4026 PATH_CHKCONFIG=$ac_cv_path_PATH_CHKCONFIG
4027 if test -n "$PATH_CHKCONFIG"; then
4028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CHKCONFIG" >&5
4029 $as_echo "$PATH_CHKCONFIG" >&6; }
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4032 $as_echo "no" >&6; }
4038 # Extract the first word of "pkg-config", so it can be a program name with args.
4039 set dummy pkg-config; ac_word=$2
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4041 $as_echo_n "checking for $ac_word... " >&6; }
4042 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4043 $as_echo_n "(cached) " >&6
4045 if test -n "$PKG_CONFIG"; then
4046 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4052 test -z "$as_dir" && as_dir=.
4053 for ac_exec_ext in '' $ac_executable_extensions; do
4054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4055 ac_cv_prog_PKG_CONFIG="pkg-config"
4056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4065 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4066 if test -n "$PKG_CONFIG"; then
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4068 $as_echo "$PKG_CONFIG" >&6; }
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071 $as_echo "no" >&6; }
4075 # Extract the first word of "systemctl", so it can be a program name with args.
4076 set dummy systemctl; ac_word=$2
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4078 $as_echo_n "checking for $ac_word... " >&6; }
4079 if ${ac_cv_path_SYSTEMCTL+:} false; then :
4080 $as_echo_n "(cached) " >&6
4084 ac_cv_path_SYSTEMCTL="$SYSTEMCTL" # Let the user override the test with a path.
4087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091 test -z "$as_dir" && as_dir=.
4092 for ac_exec_ext in '' $ac_executable_extensions; do
4093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4094 ac_cv_path_SYSTEMCTL="$as_dir/$ac_word$ac_exec_ext"
4095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4105 SYSTEMCTL=$ac_cv_path_SYSTEMCTL
4106 if test -n "$SYSTEMCTL"; then
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSTEMCTL" >&5
4108 $as_echo "$SYSTEMCTL" >&6; }
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4111 $as_echo "no" >&6; }
4116 # Check whether --with-systemdsystemunitdir was given.
4117 if test "${with_systemdsystemunitdir+set}" = set; then :
4118 withval=$with_systemdsystemunitdir;
4120 with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
4123 if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ; then
4124 SYSTEMD_UNIT_DIR=$with_systemdsystemunitdir
4128 # Check whether --with-systemdsleepdir was given.
4129 if test "${with_systemdsleepdir+set}" = set; then :
4130 withval=$with_systemdsleepdir;
4132 with_systemdsleepdir=$($PKG_CONFIG --variable=systemdsleepdir systemd)
4135 if test -n "$with_systemdsleepdir" -a "x$with_systemdsleepdir" != xno ; then
4136 SYSTEMD_SLEEP_DIR=$with_systemdsleepdir
4142 # Check header files
4144 echo Check header files:
4148 HAVE_SYS_SYSMACROS_H=
4150 for ac_header in ctype.h
4152 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
4153 if test "x$ac_cv_header_ctype_h" = xyes; then :
4154 cat >>confdefs.h <<_ACEOF
4155 #define HAVE_CTYPE_H 1
4162 for ac_header in errno.h
4164 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
4165 if test "x$ac_cv_header_errno_h" = xyes; then :
4166 cat >>confdefs.h <<_ACEOF
4167 #define HAVE_ERRNO_H 1
4174 for ac_header in libintl.h
4176 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4177 if test "x$ac_cv_header_libintl_h" = xyes; then :
4178 cat >>confdefs.h <<_ACEOF
4179 #define HAVE_LIBINTL_H 1
4186 for ac_header in locale.h
4188 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4189 if test "x$ac_cv_header_locale_h" = xyes; then :
4190 cat >>confdefs.h <<_ACEOF
4191 #define HAVE_LOCALE_H 1
4198 for ac_header in linux/sched.h
4200 ac_fn_c_check_header_mongrel "$LINENO" "linux/sched.h" "ac_cv_header_linux_sched_h" "$ac_includes_default"
4201 if test "x$ac_cv_header_linux_sched_h" = xyes; then :
4202 cat >>confdefs.h <<_ACEOF
4203 #define HAVE_LINUX_SCHED_H 1
4205 HAVE_LINUX_SCHED_H=1
4210 for ac_header in net/if.h
4212 ac_fn_c_check_header_mongrel "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default"
4213 if test "x$ac_cv_header_net_if_h" = xyes; then :
4214 cat >>confdefs.h <<_ACEOF
4215 #define HAVE_NET_IF_H 1
4222 for ac_header in regex.h
4224 ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
4225 if test "x$ac_cv_header_regex_h" = xyes; then :
4226 cat >>confdefs.h <<_ACEOF
4227 #define HAVE_REGEX_H 1
4234 for ac_header in signal.h
4236 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
4237 if test "x$ac_cv_header_signal_h" = xyes; then :
4238 cat >>confdefs.h <<_ACEOF
4239 #define HAVE_SIGNAL_H 1
4246 for ac_header in stdio.h
4248 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
4249 if test "x$ac_cv_header_stdio_h" = xyes; then :
4250 cat >>confdefs.h <<_ACEOF
4251 #define HAVE_STDIO_H 1
4258 for ac_header in stdint.h
4260 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
4261 if test "x$ac_cv_header_stdint_h" = xyes; then :
4262 cat >>confdefs.h <<_ACEOF
4263 #define HAVE_STDINT_H 1
4270 for ac_header in fcntl.h
4272 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
4273 if test "x$ac_cv_header_fcntl_h" = xyes; then :
4274 cat >>confdefs.h <<_ACEOF
4275 #define HAVE_FCNTL_H 1
4282 for ac_header in inttypes.h
4284 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
4285 if test "x$ac_cv_header_inttypes_h" = xyes; then :
4286 cat >>confdefs.h <<_ACEOF
4287 #define HAVE_INTTYPES_H 1
4294 for ac_header in libgen.h
4296 ac_fn_c_check_header_mongrel "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default"
4297 if test "x$ac_cv_header_libgen_h" = xyes; then :
4298 cat >>confdefs.h <<_ACEOF
4299 #define HAVE_LIBGEN_H 1
4306 for ac_header in pwd.h
4308 ac_fn_c_check_header_mongrel "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
4309 if test "x$ac_cv_header_pwd_h" = xyes; then :
4310 cat >>confdefs.h <<_ACEOF
4311 #define HAVE_PWD_H 1
4318 for ac_header in time.h
4320 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
4321 if test "x$ac_cv_header_time_h" = xyes; then :
4322 cat >>confdefs.h <<_ACEOF
4323 #define HAVE_TIME_H 1
4330 for ac_header in unistd.h
4332 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
4333 if test "x$ac_cv_header_unistd_h" = xyes; then :
4334 cat >>confdefs.h <<_ACEOF
4335 #define HAVE_UNISTD_H 1
4342 for ac_header in pcp/pmapi.h
4344 ac_fn_c_check_header_mongrel "$LINENO" "pcp/pmapi.h" "ac_cv_header_pcp_pmapi_h" "$ac_includes_default"
4345 if test "x$ac_cv_header_pcp_pmapi_h" = xyes; then :
4346 cat >>confdefs.h <<_ACEOF
4347 #define HAVE_PCP_PMAPI_H 1
4354 for ac_header in pcp/impl.h
4356 ac_fn_c_check_header_mongrel "$LINENO" "pcp/impl.h" "ac_cv_header_pcp_impl_h" "$ac_includes_default"
4357 if test "x$ac_cv_header_pcp_impl_h" = xyes; then :
4358 cat >>confdefs.h <<_ACEOF
4359 #define HAVE_PCP_IMPL_H 1
4366 for ac_header in sys/time.h
4368 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
4369 if test "x$ac_cv_header_sys_time_h" = xyes; then :
4370 cat >>confdefs.h <<_ACEOF
4371 #define HAVE_SYS_TIME_H 1
4378 for ac_header in sys/statvfs.h
4380 ac_fn_c_check_header_mongrel "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
4381 if test "x$ac_cv_header_sys_statvfs_h" = xyes; then :
4382 cat >>confdefs.h <<_ACEOF
4383 #define HAVE_SYS_STATVFS_H 1
4390 for ac_header in sys/types.h
4392 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
4393 if test "x$ac_cv_header_sys_types_h" = xyes; then :
4394 cat >>confdefs.h <<_ACEOF
4395 #define HAVE_SYS_TYPES_H 1
4402 for ac_header in sys/file.h
4404 ac_fn_c_check_header_mongrel "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
4405 if test "x$ac_cv_header_sys_file_h" = xyes; then :
4406 cat >>confdefs.h <<_ACEOF
4407 #define HAVE_SYS_FILE_H 1
4414 for ac_header in sys/ioctl.h
4416 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
4417 if test "x$ac_cv_header_sys_ioctl_h" = xyes; then :
4418 cat >>confdefs.h <<_ACEOF
4419 #define HAVE_SYS_IOCTL_H 1
4426 for ac_header in sys/param.h
4428 ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
4429 if test "x$ac_cv_header_sys_param_h" = xyes; then :
4430 cat >>confdefs.h <<_ACEOF
4431 #define HAVE_SYS_PARAM_H 1
4438 for ac_header in sys/stat.h
4440 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
4441 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
4442 cat >>confdefs.h <<_ACEOF
4443 #define HAVE_SYS_STAT_H 1
4450 for ac_header in sys/sysmacros.h
4452 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
4453 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
4454 cat >>confdefs.h <<_ACEOF
4455 #define HAVE_SYS_SYSMACROS_H 1
4457 HAVE_SYS_SYSMACROS_H=1
4462 for ac_header in sys/utsname.h
4464 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
4465 if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
4466 cat >>confdefs.h <<_ACEOF
4467 #define HAVE_SYS_UTSNAME_H 1
4476 echo Check typedefs, structures and compiler characteristics:
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4479 $as_echo_n "checking return type of signal handlers... " >&6; }
4480 if ${ac_cv_type_signal+:} false; then :
4481 $as_echo_n "(cached) " >&6
4483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4484 /* end confdefs.h. */
4485 #include <sys/types.h>
4491 return *(signal (0, 0)) (0) == 1;
4496 if ac_fn_c_try_compile "$LINENO"; then :
4497 ac_cv_type_signal=int
4499 ac_cv_type_signal=void
4501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4504 $as_echo "$ac_cv_type_signal" >&6; }
4506 cat >>confdefs.h <<_ACEOF
4507 #define RETSIGTYPE $ac_cv_type_signal
4511 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4512 if test "x$ac_cv_type_size_t" = xyes; then :
4516 cat >>confdefs.h <<_ACEOF
4517 #define size_t unsigned int
4522 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4523 if test "x$ac_cv_type_off_t" = xyes; then :
4527 cat >>confdefs.h <<_ACEOF
4528 #define off_t long int
4535 echo Check library functions:
4537 for ac_func in strchr
4539 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
4540 if test "x$ac_cv_func_strchr" = xyes; then :
4541 cat >>confdefs.h <<_ACEOF
4542 #define HAVE_STRCHR 1
4548 for ac_func in strcspn
4550 ac_fn_c_check_func "$LINENO" "strcspn" "ac_cv_func_strcspn"
4551 if test "x$ac_cv_func_strcspn" = xyes; then :
4552 cat >>confdefs.h <<_ACEOF
4553 #define HAVE_STRCSPN 1
4559 for ac_func in strspn
4561 ac_fn_c_check_func "$LINENO" "strspn" "ac_cv_func_strspn"
4562 if test "x$ac_cv_func_strspn" = xyes; then :
4563 cat >>confdefs.h <<_ACEOF
4564 #define HAVE_STRSPN 1
4570 for ac_func in strstr
4572 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
4573 if test "x$ac_cv_func_strstr" = xyes; then :
4574 cat >>confdefs.h <<_ACEOF
4575 #define HAVE_STRSTR 1
4582 # Should we check for PCP support?
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCP support" >&5
4584 $as_echo_n "checking for PCP support... " >&6; }
4585 # Check whether --enable-pcp was given.
4586 if test "${enable_pcp+set}" = set; then :
4587 enableval=$enable_pcp; PCP=$enableval
4592 if test $PCP != "yes"; then
4598 if test ! $HAVE_PCP_PMAPI_H; then
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCP" >&5
4603 $as_echo "$PCP" >&6; }
4605 # Check for PCP libraries
4608 if test $HAVE_PCP = "y"; then
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pmGetVersion in -lpcp" >&5
4611 $as_echo_n "checking for pmGetVersion in -lpcp... " >&6; }
4612 if ${ac_cv_lib_pcp_pmGetVersion+:} false; then :
4613 $as_echo_n "(cached) " >&6
4615 ac_check_lib_save_LIBS=$LIBS
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4620 /* Override any GCC internal prototype to avoid an error.
4621 Use char because int might match the return type of a GCC
4622 builtin and then its argument prototype would still apply. */
4626 char pmGetVersion ();
4630 return pmGetVersion ();
4635 if ac_fn_c_try_link "$LINENO"; then :
4636 ac_cv_lib_pcp_pmGetVersion=yes
4638 ac_cv_lib_pcp_pmGetVersion=no
4640 rm -f core conftest.err conftest.$ac_objext \
4641 conftest$ac_exeext conftest.$ac_ext
4642 LIBS=$ac_check_lib_save_LIBS
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcp_pmGetVersion" >&5
4645 $as_echo "$ac_cv_lib_pcp_pmGetVersion" >&6; }
4646 if test "x$ac_cv_lib_pcp_pmGetVersion" = xyes; then :
4647 LFPCP="-lpcp -lpcp_import"
4652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCP libraries" >&5
4653 $as_echo_n "checking for PCP libraries... " >&6; }
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4656 #include <pcp/pmapi.h>
4657 #include <pcp/import.h>
4666 if ac_fn_c_try_compile "$LINENO"; then :
4667 PCP=yes; DFPCP="-DHAVE_PCP"
4669 HAVE_PCP="n"; PCP=no
4671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCP" >&5
4673 $as_echo "$PCP" >&6; }
4679 if test $HAVE_PCP_IMPL_H; then
4686 # Should we check for lm_sensors?
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors support" >&5
4688 $as_echo_n "checking for sensors support... " >&6; }
4689 # Check whether --enable-sensors was given.
4690 if test "${enable_sensors+set}" = set; then :
4691 enableval=$enable_sensors; SENSORS=$enableval
4696 if test $SENSORS != "yes"; then
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4702 $as_echo "$SENSORS" >&6; }
4704 # Check for lm_sensors library
4708 if test $SENSORS_SUPPORT = "y"; then
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_get_detected_chips in -lsensors" >&5
4711 $as_echo_n "checking for sensors_get_detected_chips in -lsensors... " >&6; }
4712 if ${ac_cv_lib_sensors_sensors_get_detected_chips+:} false; then :
4713 $as_echo_n "(cached) " >&6
4715 ac_check_lib_save_LIBS=$LIBS
4716 LIBS="-lsensors $LIBS"
4717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4718 /* end confdefs.h. */
4720 /* Override any GCC internal prototype to avoid an error.
4721 Use char because int might match the return type of a GCC
4722 builtin and then its argument prototype would still apply. */
4726 char sensors_get_detected_chips ();
4730 return sensors_get_detected_chips ();
4735 if ac_fn_c_try_link "$LINENO"; then :
4736 ac_cv_lib_sensors_sensors_get_detected_chips=yes
4738 ac_cv_lib_sensors_sensors_get_detected_chips=no
4740 rm -f core conftest.err conftest.$ac_objext \
4741 conftest$ac_exeext conftest.$ac_ext
4742 LIBS=$ac_check_lib_save_LIBS
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_get_detected_chips" >&5
4745 $as_echo "$ac_cv_lib_sensors_sensors_get_detected_chips" >&6; }
4746 if test "x$ac_cv_lib_sensors_sensors_get_detected_chips" = xyes; then :
4747 LFSENSORS="-lsensors"
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors library" >&5
4753 $as_echo_n "checking for sensors library... " >&6; }
4754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4755 /* end confdefs.h. */
4756 #include <sensors/sensors.h>
4757 #include <sensors/error.h>
4766 if ac_fn_c_try_compile "$LINENO"; then :
4767 SENSORS=yes; HAVE_SENSORS="y"; DFSENSORS="-DHAVE_SENSORS"
4769 HAVE_SENSORS="n"; SENSORS=no
4771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4773 $as_echo "$SENSORS" >&6; }
4779 # Check for 32-bit version of lm_sensors library
4783 if test $SENSORS_SUPPORT = "y"; then
4786 LDFLAGS=" -lsensors"
4788 # Check for another function to avoid using cached result
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_cleanup in -lsensors" >&5
4790 $as_echo_n "checking for sensors_cleanup in -lsensors... " >&6; }
4791 if ${ac_cv_lib_sensors_sensors_cleanup+:} false; then :
4792 $as_echo_n "(cached) " >&6
4794 ac_check_lib_save_LIBS=$LIBS
4795 LIBS="-lsensors $LIBS"
4796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4797 /* end confdefs.h. */
4799 /* Override any GCC internal prototype to avoid an error.
4800 Use char because int might match the return type of a GCC
4801 builtin and then its argument prototype would still apply. */
4805 char sensors_cleanup ();
4809 return sensors_cleanup ();
4814 if ac_fn_c_try_link "$LINENO"; then :
4815 ac_cv_lib_sensors_sensors_cleanup=yes
4817 ac_cv_lib_sensors_sensors_cleanup=no
4819 rm -f core conftest.err conftest.$ac_objext \
4820 conftest$ac_exeext conftest.$ac_ext
4821 LIBS=$ac_check_lib_save_LIBS
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_cleanup" >&5
4824 $as_echo "$ac_cv_lib_sensors_sensors_cleanup" >&6; }
4825 if test "x$ac_cv_lib_sensors_sensors_cleanup" = xyes; then :
4826 LFSENSORS32="-lsensors"
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors 32-bit library" >&5
4832 $as_echo_n "checking for sensors 32-bit library... " >&6; }
4833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4834 /* end confdefs.h. */
4835 #include <sensors/sensors.h>
4836 #include <sensors/error.h>
4845 if ac_fn_c_try_link "$LINENO"; then :
4846 SENSORS=yes; HAVE_SENSORS32="y"; DFSENSORS32="-DHAVE_SENSORS32"
4848 HAVE_SENSORS32="n"; SENSORS=no
4850 rm -f core conftest.err conftest.$ac_objext \
4851 conftest$ac_exeext conftest.$ac_ext
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4853 $as_echo "$SENSORS" >&6; }
4860 # Check for 32-bit system libraries
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 32-bit system libraries" >&5
4865 $as_echo_n "checking for 32-bit system libraries... " >&6; }
4866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4867 /* end confdefs.h. */
4872 printf("%d\n", sizeof(long));
4877 if ac_fn_c_try_compile "$LINENO"; then :
4882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TGLIB32" >&5
4884 $as_echo "$TGLIB32" >&6; }
4889 echo Check system services:
4891 # Check whether --enable-largefile was given.
4892 if test "${enable_largefile+set}" = set; then :
4893 enableval=$enable_largefile;
4896 if test "$enable_largefile" != no; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4899 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4900 if ${ac_cv_sys_largefile_CC+:} false; then :
4901 $as_echo_n "(cached) " >&6
4903 ac_cv_sys_largefile_CC=no
4904 if test "$GCC" != yes; then
4907 # IRIX 6.2 and later do not support large files by default,
4908 # so use the C compiler's -n32 option if that helps.
4909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4910 /* end confdefs.h. */
4911 #include <sys/types.h>
4912 /* Check that off_t can represent 2**63 - 1 correctly.
4913 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4914 since some C++ compilers masquerading as C compilers
4915 incorrectly reject 9223372036854775807. */
4916 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4917 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4918 && LARGE_OFF_T % 2147483647 == 1)
4928 if ac_fn_c_try_compile "$LINENO"; then :
4931 rm -f core conftest.err conftest.$ac_objext
4933 if ac_fn_c_try_compile "$LINENO"; then :
4934 ac_cv_sys_largefile_CC=' -n32'; break
4936 rm -f core conftest.err conftest.$ac_objext
4940 rm -f conftest.$ac_ext
4943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4944 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4945 if test "$ac_cv_sys_largefile_CC" != no; then
4946 CC=$CC$ac_cv_sys_largefile_CC
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4950 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4951 if ${ac_cv_sys_file_offset_bits+:} false; then :
4952 $as_echo_n "(cached) " >&6
4955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4956 /* end confdefs.h. */
4957 #include <sys/types.h>
4958 /* Check that off_t can represent 2**63 - 1 correctly.
4959 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4960 since some C++ compilers masquerading as C compilers
4961 incorrectly reject 9223372036854775807. */
4962 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4963 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4964 && LARGE_OFF_T % 2147483647 == 1)
4974 if ac_fn_c_try_compile "$LINENO"; then :
4975 ac_cv_sys_file_offset_bits=no; break
4977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4980 #define _FILE_OFFSET_BITS 64
4981 #include <sys/types.h>
4982 /* Check that off_t can represent 2**63 - 1 correctly.
4983 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4984 since some C++ compilers masquerading as C compilers
4985 incorrectly reject 9223372036854775807. */
4986 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4987 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4988 && LARGE_OFF_T % 2147483647 == 1)
4998 if ac_fn_c_try_compile "$LINENO"; then :
4999 ac_cv_sys_file_offset_bits=64; break
5001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5002 ac_cv_sys_file_offset_bits=unknown
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5007 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5008 case $ac_cv_sys_file_offset_bits in #(
5011 cat >>confdefs.h <<_ACEOF
5012 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5017 if test $ac_cv_sys_file_offset_bits = unknown; then
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5019 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5020 if ${ac_cv_sys_large_files+:} false; then :
5021 $as_echo_n "(cached) " >&6
5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5025 /* end confdefs.h. */
5026 #include <sys/types.h>
5027 /* Check that off_t can represent 2**63 - 1 correctly.
5028 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5029 since some C++ compilers masquerading as C compilers
5030 incorrectly reject 9223372036854775807. */
5031 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5032 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5033 && LARGE_OFF_T % 2147483647 == 1)
5043 if ac_fn_c_try_compile "$LINENO"; then :
5044 ac_cv_sys_large_files=no; break
5046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5048 /* end confdefs.h. */
5049 #define _LARGE_FILES 1
5050 #include <sys/types.h>
5051 /* Check that off_t can represent 2**63 - 1 correctly.
5052 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5053 since some C++ compilers masquerading as C compilers
5054 incorrectly reject 9223372036854775807. */
5055 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5056 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5057 && LARGE_OFF_T % 2147483647 == 1)
5067 if ac_fn_c_try_compile "$LINENO"; then :
5068 ac_cv_sys_large_files=1; break
5070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5071 ac_cv_sys_large_files=unknown
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5076 $as_echo "$ac_cv_sys_large_files" >&6; }
5077 case $ac_cv_sys_large_files in #(
5080 cat >>confdefs.h <<_ACEOF
5081 #define _LARGE_FILES $ac_cv_sys_large_files
5093 echo Check configuration:
5095 # Check arguments used
5097 # Optional Features:
5098 # --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
5099 # --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
5100 # --disable-largefile omit support for large files
5101 # --disable-nls disable National Language Support
5102 # --disable-file-attr don't set attributes on files being installed
5103 # --enable-install-cron tell sysstat to install cron scripts
5104 # --collect-all tell sadc to collect all possible data
5105 # --enable-clean-sa-dir clean system activity directory
5106 # --disable-compress-manpg do not compress manual pages when installed
5107 # --enable-debuginfo enable debug output (--debuginfo option)
5108 # --disable-documentation do not install documentation (man pages...)
5109 # --disable-sensors do not link against libsensors even if available
5110 # --disable-pcp do not link against PCP libraries even if available
5111 # --disable-stripping do not strip object files
5112 # --enable-copy-only only copy files when installing sysstat
5113 # --enable-use-crond use standard cron daemon
5114 # --enable-lto compile with Link Time Optimizations
5116 # Some influential environment variables:
5117 # rcdir directory where startup scripts are installed
5118 # sa_lib_dir sadc, sa1 and sa2 directory
5119 # sa_dir system activity daily datafiles directory
5120 # sar_dir sar binary location. Used only in sa2 shell script
5121 # conf_dir sysstat configuration directory (default is /etc/sysconfig)
5122 # conf_file sysstat configuration file (default is sysstat)
5123 # history number of daily datafiles to keep (default value is 7)
5124 # delay_range maximum delay (in seconds) to wait before sa2 script generates its reports
5125 # compressafter number of days after which datafiles are compressed
5126 # man_group group for man pages
5127 # cron_owner crontab owner
5128 # cron_interval crontab sampling interval
5129 # sadc_options options to be passed to sadc
5131 # Fine tuning the installation directories:
5132 # --mandir=DIR man documentation directory [PREFIX/man]
5133 # --docdir=DIR other documentation directory [PREFIX/share/doc]
5135 # Installation directories:
5136 # --prefix=PREFIX install architecture-independent files in PREFIX
5138 # --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
5142 if test -d /etc/init.d && test ! -L /etc/init.d; then
5143 if test -d /etc/init.d/rc2.d; then
5150 INIT_DIR=/etc/init.d
5151 elif test -d /sbin/init.d; then
5153 INIT_DIR=/sbin/init.d
5157 INIT_DIR=/etc/rc.d/init.d
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking run-commands directory" >&5
5162 $as_echo_n "checking run-commands directory... " >&6; }
5164 if test x$rcdir != x""; then
5165 # Override previous rc directories values
5167 INIT_DIR=$rcdir/init.d
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC_DIR" >&5
5171 $as_echo "$RC_DIR" >&6; }
5172 if test ! -d $RC_DIR; then
5173 echo "INFO: Directory ${RC_DIR} doesn't exist."
5174 echo "INFO: Startup scripts won't be installed."
5181 if test $HAVE_SYS_SYSMACROS_H; then
5188 if test $HAVE_LINUX_SCHED_H; then
5195 if test $HAVE_SYS_PARAM_H; then
5202 # Set sadc directory
5203 if test $prefix != "NONE"; then
5206 AuxPrefix=/usr/local
5209 SADC_DIR=$AuxPrefix/lib
5210 if test -d $AuxPrefix/lib64; then
5211 # Verify that this OS is really 64 bit
5212 BITS=$(getconf LONG_BIT 2>/dev/null)
5213 if test $? = 0; then
5214 if test $BITS = 64; then
5215 SADC_DIR=$AuxPrefix/lib64
5218 # Fallback: look for lm (long mode) flag to know if CPU is 64 bit
5219 grep " lm " /proc/cpuinfo >/dev/null 2>&1
5220 if test $? = 0; then
5221 SADC_DIR=$AuxPrefix/lib64
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sadc directory" >&5
5227 $as_echo_n "checking sadc directory... " >&6; }
5229 if test x$sa_lib_dir != x""; then
5230 SA_LIB_DIR=$sa_lib_dir
5232 SA_LIB_DIR=$SADC_DIR/sa
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_LIB_DIR" >&5
5235 $as_echo "$SA_LIB_DIR" >&6; }
5236 if test ! -d $SA_LIB_DIR; then
5237 echo "INFO: Directory ${SA_LIB_DIR} will be created during installation stage."
5241 # Set system activity directory
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system activity directory" >&5
5243 $as_echo_n "checking system activity directory... " >&6; }
5245 if test x$sa_dir != x""; then
5250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_DIR" >&5
5251 $as_echo "$SA_DIR" >&6; }
5252 if test ! -d $SA_DIR; then
5253 echo "INFO: Directory ${SA_DIR} will be created during installation stage."
5257 # sar binary location. Used only in sa2 shell script
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sar directory" >&5
5259 $as_echo_n "checking sar directory... " >&6; }
5261 if test x$sar_dir != x""; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SAR_DIR" >&5
5267 $as_echo "$SAR_DIR" >&6; }
5270 # Set configuration directory
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysstat configuration directory" >&5
5272 $as_echo_n "checking sysstat configuration directory... " >&6; }
5274 if test x$conf_dir != x""; then
5275 SYSCONFIG_DIR=$conf_dir
5277 SYSCONFIG_DIR=/etc/sysconfig
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFIG_DIR" >&5
5280 $as_echo "$SYSCONFIG_DIR" >&6; }
5281 if test ! -d $SYSCONFIG_DIR; then
5282 echo "INFO: Directory ${SYSCONFIG_DIR} will be created during installation stage."
5286 # Set configuration directory
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysstat configuration file" >&5
5288 $as_echo_n "checking sysstat configuration file... " >&6; }
5290 if test x$conf_file != x""; then
5291 SYSCONFIG_FILE=$conf_file
5293 SYSCONFIG_FILE=sysstat
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFIG_FILE" >&5
5296 $as_echo "$SYSCONFIG_FILE" >&6; }
5299 # National Language Support
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking National Language Support" >&5
5301 $as_echo_n "checking National Language Support... " >&6; }
5302 # Check whether --enable-nls was given.
5303 if test "${enable_nls+set}" = set; then :
5304 enableval=$enable_nls; AUX_NLS=$enableval
5309 if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_NLS" >&5
5317 $as_echo "$AUX_NLS" >&6; }
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5
5319 $as_echo_n "checking for gettext in -lintl... " >&6; }
5320 if ${ac_cv_lib_intl_gettext+:} false; then :
5321 $as_echo_n "(cached) " >&6
5323 ac_check_lib_save_LIBS=$LIBS
5325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5326 /* end confdefs.h. */
5328 /* Override any GCC internal prototype to avoid an error.
5329 Use char because int might match the return type of a GCC
5330 builtin and then its argument prototype would still apply. */
5343 if ac_fn_c_try_link "$LINENO"; then :
5344 ac_cv_lib_intl_gettext=yes
5346 ac_cv_lib_intl_gettext=no
5348 rm -f core conftest.err conftest.$ac_objext \
5349 conftest$ac_exeext conftest.$ac_ext
5350 LIBS=$ac_check_lib_save_LIBS
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5
5353 $as_echo "$ac_cv_lib_intl_gettext" >&6; }
5354 if test "x$ac_cv_lib_intl_gettext" = xyes; then :
5360 if test $AUX_NLS = "yes" && test x$MSGFMT != x"msgfmt"; then
5361 echo "WARNING: msgfmt command not found!"
5364 if test $AUX_NLS = "yes" && test x$XGETTEXT != x"xgettext"; then
5365 echo "WARNING: xgettext command not found!"
5368 if test $AUX_NLS = "yes" && test x$MSGMERGE != x"msgmerge"; then
5369 echo "WARNING: msgmerge command not found!"
5372 if test $NLS = "y" && test $LACKING_GETTEXT = "y"; then
5373 echo "WARNING: Disabling NLS"
5378 # Link Time Optimization
5379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking Link Time Optimization support" >&5
5380 $as_echo_n "checking Link Time Optimization support... " >&6; }
5381 # Check whether --enable-lto was given.
5382 if test "${enable_lto+set}" = set; then :
5383 enableval=$enable_lto; AUX_LTO=$enableval
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_LTO" >&5
5389 $as_echo "$AUX_LTO" >&6; }
5391 if test $AUX_LTO = "yes"; then
5392 # Extract the first word of "gcc-ar", so it can be a program name with args.
5393 set dummy gcc-ar; ac_word=$2
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5395 $as_echo_n "checking for $ac_word... " >&6; }
5396 if ${ac_cv_prog_GCC_AR+:} false; then :
5397 $as_echo_n "(cached) " >&6
5399 if test -n "$GCC_AR"; then
5400 ac_cv_prog_GCC_AR="$GCC_AR" # Let the user override the test.
5402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 test -z "$as_dir" && as_dir=.
5407 for ac_exec_ext in '' $ac_executable_extensions; do
5408 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5409 ac_cv_prog_GCC_AR="gcc-ar"
5410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5419 GCC_AR=$ac_cv_prog_GCC_AR
5420 if test -n "$GCC_AR"; then
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_AR" >&5
5422 $as_echo "$GCC_AR" >&6; }
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5425 $as_echo "no" >&6; }
5429 if test x$GCC_AR != x"gcc-ar"; then
5430 echo "WARNING: gcc-ar command not found! Disabling LTO support"
5438 # Data history to keep by sa2
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of daily data files to keep" >&5
5440 $as_echo_n "checking number of daily data files to keep... " >&6; }
5442 if test x$history = x""; then
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HISTORY" >&5
5448 $as_echo "$HISTORY" >&6; }
5451 # Number of days after which datafiles are compressed
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of days after which data files are compressed" >&5
5453 $as_echo_n "checking number of days after which data files are compressed... " >&6; }
5455 if test x$compressafter = x""; then
5458 COMPRESSAFTER=$compressafter
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESSAFTER" >&5
5461 $as_echo "$COMPRESSAFTER" >&6; }
5464 # Random delay to wait before sa2 script runs
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking random delay to wait before sa2 script runs" >&5
5466 $as_echo_n "checking random delay to wait before sa2 script runs... " >&6; }
5468 if test x$delay_range = x""; then
5471 DELAY_RANGE=$delay_range
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DELAY_RANGE" >&5
5474 $as_echo "$DELAY_RANGE" >&6; }
5478 grep ^man: /etc/group >/dev/null 2>&1
5479 if test $? = 0; then
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group for manual pages" >&5
5486 $as_echo_n "checking group for manual pages... " >&6; }
5488 if test x$man_group = x""; then
5490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5491 $as_echo "$MAN_GROUP" >&6; }
5493 grep ^$man_group: /etc/group >/dev/null 2>&1
5494 if test $? = 1; then
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5497 $as_echo "$MAN_GROUP" >&6; }
5498 echo "WARNING: Group ${man_group} not found: Using ${GRP} instead"
5500 MAN_GROUP=$man_group
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5502 $as_echo "$MAN_GROUP" >&6; }
5507 # Don't set attributes on files being installed?
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether attributes should not be set on files being installed" >&5
5509 $as_echo_n "checking whether attributes should not be set on files being installed... " >&6; }
5510 # Check whether --enable-file-attr was given.
5511 if test "${enable_file_attr+set}" = set; then :
5512 enableval=$enable_file_attr; AUX_IMG=$enableval
5517 if test $AUX_IMG != "no"; then
5518 IGNORE_FILE_ATTRIBUTES=n
5521 IGNORE_FILE_ATTRIBUTES=y
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_IMG" >&5
5525 $as_echo "$AUX_IMG" >&6; }
5528 # Compress manual pages?
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether manual pages should be compressed" >&5
5530 $as_echo_n "checking whether manual pages should be compressed... " >&6; }
5531 # Check whether --enable-compress-manpg was given.
5532 if test "${enable_compress_manpg+set}" = set; then :
5533 enableval=$enable_compress_manpg; AUX_MPG=$enableval
5538 if test $AUX_MPG != "yes"; then
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_MPG" >&5
5544 $as_echo "$AUX_MPG" >&6; }
5547 # Check whether sa directory should be cleaned
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system activity directory should be cleaned" >&5
5549 $as_echo_n "checking whether system activity directory should be cleaned... " >&6; }
5550 # Check whether --enable-clean-sa-dir was given.
5551 if test "${enable_clean_sa_dir+set}" = set; then :
5552 enableval=$enable_clean_sa_dir; AUX_CSD=$enableval
5557 if test $AUX_CSD != "yes"; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CSD" >&5
5564 $as_echo "$AUX_CSD" >&6; }
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cron should start sar automatically" >&5
5569 $as_echo_n "checking whether cron should start sar automatically... " >&6; }
5570 # Check whether --enable-install-cron was given.
5571 if test "${enable_install_cron+set}" = set; then :
5572 enableval=$enable_install_cron; INSTALL_CRON=$enableval
5577 if test $INSTALL_CRON != "yes"; then
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CRON" >&5
5585 $as_echo "$AUX_CRON" >&6; }
5590 if test $INSTALL_CRON = "y"; then
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab owner" >&5
5592 $as_echo_n "checking crontab owner... " >&6; }
5594 if test x$cron_owner = x""; then
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5597 $as_echo "$CRON_OWNER" >&6; }
5599 grep ^$cron_owner: /etc/passwd >/dev/null 2>&1
5600 if test $? = 1; then
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5603 $as_echo "$CRON_OWNER" >&6; }
5604 echo "WARNING: User ${cron_owner} not found: Using ${CUSR} instead."
5606 CRON_OWNER=$cron_owner
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5608 $as_echo "$CRON_OWNER" >&6; }
5611 echo "INFO: Crontab for ${CRON_OWNER} will be saved in current directory if necessary"
5612 if test $CRON_OWNER = "root"; then
5615 REM_CHOWN="# REM_CHOWN"
5617 SU_C_OWNER="su $CRON_OWNER -c "
5619 # " (ignore this line)
5623 # Check whether we should use the standard cron daemon
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we should use the standard cron daemon" >&5
5625 $as_echo_n "checking whether we should use the standard cron daemon... " >&6; }
5626 # Check whether --enable-use-crond was given.
5627 if test "${enable_use_crond+set}" = set; then :
5628 enableval=$enable_use_crond; UCROND=$enableval
5633 if test $UCROND != "yes"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UCROND" >&5
5640 $as_echo "$UCROND" >&6; }
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab interval" >&5
5645 $as_echo_n "checking crontab interval... " >&6; }
5647 if test x$cron_interval = x""; then
5650 CRON_INTERVAL=$cron_interval
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_INTERVAL" >&5
5653 $as_echo "$CRON_INTERVAL" >&6; }
5654 CRON_INTERVAL_SEC=`expr ${CRON_INTERVAL} \* 60`
5655 CRON_COUNT=`expr 60 / ${CRON_INTERVAL}`
5657 # Check whether sadc should collect all possible activities
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sadc should collect all possible activities" >&5
5659 $as_echo_n "checking whether sadc should collect all possible activities... " >&6; }
5660 # Check whether --enable-collect-all was given.
5661 if test "${enable_collect_all+set}" = set; then :
5662 enableval=$enable_collect_all; COLLECT_ALL=$enableval
5667 if test $COLLECT_ALL != "yes"; then
5671 COLLECT_ALL="-S XALL"
5674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_COLL" >&5
5675 $as_echo "$AUX_COLL" >&6; }
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking options to be passed to sadc" >&5
5678 $as_echo_n "checking options to be passed to sadc... " >&6; }
5680 if test x"$sadc_options" != x""; then
5681 SADC_OPT="$sadc_options"
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SADC_OPT" >&5
5686 $as_echo "$SADC_OPT" >&6; }
5689 # Check whether files should only be copied
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether files should only be copied" >&5
5691 $as_echo_n "checking whether files should only be copied... " >&6; }
5692 # Check whether --enable-copy-only was given.
5693 if test "${enable_copy_only+set}" = set; then :
5694 enableval=$enable_copy_only; OCOPY=$enableval
5699 if test $OCOPY != "yes"; then
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCOPY" >&5
5706 $as_echo "$OCOPY" >&6; }
5713 REM_CHOWN="# REM_CHOWN"
5715 CRON_INTERVAL_SEC=600
5728 # Check whether documentation should be installed
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether documentation should be installed" >&5
5730 $as_echo_n "checking whether documentation should be installed... " >&6; }
5731 # Check whether --enable-documentation was given.
5732 if test "${enable_documentation+set}" = set; then :
5733 enableval=$enable_documentation; AUX_DOC=$enableval
5738 if test $AUX_DOC != "no"; then
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_DOC" >&5
5746 $as_echo "$AUX_DOC" >&6; }
5749 # Set directory for installing manual pages (see comment in Makefile)
5752 # Check whether debug mode should be activated
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether debug mode should be activated" >&5
5754 $as_echo_n "checking whether debug mode should be activated... " >&6; }
5755 # Check whether --enable-debuginfo was given.
5756 if test "${enable_debuginfo+set}" = set; then :
5757 enableval=$enable_debuginfo; WITH_DEBUG=yes ; DFLAGS="$DFLAGS -DDEBUG"
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_DEBUG" >&5
5763 $as_echo "$WITH_DEBUG" >&6; }
5767 # Check whether object files should be stripped
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether object files should be stripped" >&5
5769 $as_echo_n "checking whether object files should be stripped... " >&6; }
5770 # Check whether --enable-stripping was given.
5771 if test "${enable_stripping+set}" = set; then :
5772 enableval=$enable_stripping; AUX_STRIP=$enableval
5777 if test $AUX_STRIP != "no"; then
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_STRIP" >&5
5785 $as_echo "$AUX_STRIP" >&6; }
5790 echo Now create files:
5792 ac_config_files="$ac_config_files sa1"
5793 # Permissions must be changed
5794 ac_config_files="$ac_config_files sa2"
5795 # Permissions must be changed
5796 ac_config_files="$ac_config_files cron/crontab:cron/crontab.sample"
5797 # File must be renamed
5798 ac_config_files="$ac_config_files sysstat.sysconfig"
5800 ac_config_files="$ac_config_files version.h:version.in"
5801 # File must be renamed
5802 ac_config_files="$ac_config_files sysconfig.h:sysconfig.in"
5803 # File must be renamed
5804 ac_config_files="$ac_config_files cron/sysstat.cron.daily"
5806 ac_config_files="$ac_config_files cron/sysstat.cron.hourly"
5808 ac_config_files="$ac_config_files cron/sysstat.crond"
5810 ac_config_files="$ac_config_files cron/sysstat.crond.sample.in:cron/sysstat.crond.in"
5812 ac_config_files="$ac_config_files sysstat"
5813 # Permissions must be changed
5814 ac_config_files="$ac_config_files sysstat.service"
5816 ac_config_files="$ac_config_files cron/sysstat-collect.service"
5818 ac_config_files="$ac_config_files cron/sysstat-collect.timer"
5820 ac_config_files="$ac_config_files cron/sysstat-summary.service"
5822 ac_config_files="$ac_config_files cron/sysstat-summary.timer"
5824 ac_config_files="$ac_config_files cron/sysstat.sleep"
5825 # Permissions must be changed
5826 ac_config_files="$ac_config_files man/sa1.8:man/sa1.in"
5827 # File must be renamed
5828 ac_config_files="$ac_config_files man/sa2.8:man/sa2.in"
5829 # File must be renamed
5830 ac_config_files="$ac_config_files man/sadc.8:man/sadc.in"
5831 # File must be renamed
5832 ac_config_files="$ac_config_files man/sadf.1:man/sadf.in"
5833 # File must be renamed
5834 ac_config_files="$ac_config_files man/sar.1:man/sar.in"
5835 # File must be renamed
5836 ac_config_files="$ac_config_files man/sysstat.5:man/sysstat.in"
5837 # File must be renamed
5838 ac_config_files="$ac_config_files man/iostat.1:man/iostat.in"
5839 # File must be renamed
5840 ac_config_files="$ac_config_files man/cifsiostat.1:man/cifsiostat.in"
5841 # File must be renamed
5842 ac_config_files="$ac_config_files tests/variables"
5845 ac_config_files="$ac_config_files Makefile"
5847 cat >confcache <<\_ACEOF
5848 # This file is a shell script that caches the results of configure
5849 # tests run on this system so they can be shared between configure
5850 # scripts and configure runs, see configure's option --config-cache.
5851 # It is not useful on other systems. If it contains results you don't
5852 # want to keep, you may remove or edit it.
5854 # config.status only pays attention to the cache file if you give it
5855 # the --recheck option to rerun configure.
5857 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5858 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5863 # The following way of writing the cache mishandles newlines in values,
5864 # but we know of no workaround that is simple, portable, and efficient.
5865 # So, we kill variables containing newlines.
5866 # Ultrix sh set writes to stderr and can't be redirected directly,
5867 # and sets the high bit in the cache file unless we assign to the vars.
5869 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5870 eval ac_val=\$$ac_var
5874 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5875 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5878 _ | IFS | as_nl) ;; #(
5879 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5880 *) { eval $ac_var=; unset $ac_var;} ;;
5886 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5887 *${as_nl}ac_space=\ *)
5888 # `set' does not quote correctly, so add quotes: double-quote
5889 # substitution turns \\\\ into \\, and sed turns \\ into \.
5892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5895 # `set' quotes correctly as required by POSIX, so do not add quotes.
5896 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5905 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5907 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5909 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5910 if test -w "$cache_file"; then
5911 if test "x$cache_file" != "x/dev/null"; then
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5913 $as_echo "$as_me: updating cache $cache_file" >&6;}
5914 if test ! -f "$cache_file" || test -h "$cache_file"; then
5915 cat confcache >"$cache_file"
5917 case $cache_file in #(
5919 mv -f confcache "$cache_file"$$ &&
5920 mv -f "$cache_file"$$ "$cache_file" ;; #(
5922 mv -f confcache "$cache_file" ;;
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5928 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5933 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5934 # Let make expand exec_prefix.
5935 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5937 # Transform confdefs.h into DEFS.
5938 # Protect against shell expansion while executing Makefile rules.
5939 # Protect against Makefile macro expansion.
5941 # If the first sed substitution is executed (which looks for macros that
5942 # take arguments), then branch to the quote section. Otherwise,
5943 # look for a macro that doesn't take arguments.
5953 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5955 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5959 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5972 DEFS=`sed -n "$ac_script" confdefs.h`
5978 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5979 # 1. Remove the extension, and $U if already installed.
5980 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5981 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5982 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5983 # will be set to the directory where LIBOBJS objects are built.
5984 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5985 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5989 LTLIBOBJS=$ac_ltlibobjs
5993 : "${CONFIG_STATUS=./config.status}"
5995 ac_clean_files_save=$ac_clean_files
5996 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5997 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5998 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
6000 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6002 # Generated by $as_me.
6003 # Run this file to recreate the current configuration.
6004 # Compiler output produced by configure, useful for debugging
6005 # configure, is in config.log if it exists.
6011 SHELL=\${CONFIG_SHELL-$SHELL}
6014 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6015 ## -------------------- ##
6016 ## M4sh Initialization. ##
6017 ## -------------------- ##
6019 # Be more Bourne compatible
6020 DUALCASE=1; export DUALCASE # for MKS sh
6021 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6024 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6025 # is contrary to our usage. Disable this feature.
6026 alias -g '${1+"$@"}'='"$@"'
6027 setopt NO_GLOB_SUBST
6029 case `(set -o) 2>/dev/null` in #(
6041 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6042 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6043 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6044 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6045 # Prefer a ksh shell builtin over an external printf program on Solaris,
6046 # but without wasting forks for bash or zsh.
6047 if test -z "$BASH_VERSION$ZSH_VERSION" \
6048 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6049 as_echo='print -r --'
6050 as_echo_n='print -rn --'
6051 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6052 as_echo='printf %s\n'
6053 as_echo_n='printf %s'
6055 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6056 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6057 as_echo_n='/usr/ucb/echo -n'
6059 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6060 as_echo_n_body='eval
6064 expr "X$arg" : "X\\(.*\\)$as_nl";
6065 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6067 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6069 export as_echo_n_body
6070 as_echo_n='sh -c $as_echo_n_body as_echo'
6073 as_echo='sh -c $as_echo_body as_echo'
6076 # The user is always right.
6077 if test "${PATH_SEPARATOR+set}" != set; then
6079 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6080 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6087 # We need space, tab and new line, in precisely that order. Quoting is
6088 # there to prevent editors from complaining about space-tab.
6089 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6090 # splitting by setting IFS to empty value.)
6093 # Find who we are. Look in the path if we contain no directory separator.
6096 *[\\/]* ) as_myself=$0 ;;
6097 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6101 test -z "$as_dir" && as_dir=.
6102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6108 # We did not find ourselves, most probably we were run as `sh COMMAND'
6109 # in which case we are not to be found in the path.
6110 if test "x$as_myself" = x; then
6113 if test ! -f "$as_myself"; then
6114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6118 # Unset variables that we do not need and which cause bugs (e.g. in
6119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6120 # suppresses any "Segmentation fault" message there. '((' could
6121 # trigger a bug in pdksh 5.2.14.
6122 for as_var in BASH_ENV ENV MAIL MAILPATH
6123 do eval test x\${$as_var+set} = xset \
6124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6140 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6141 # ----------------------------------------
6142 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6143 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6144 # script with STATUS, using 1 if that was 0.
6147 as_status=$1; test $as_status -eq 0 && as_status=1
6149 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6150 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6152 $as_echo "$as_me: error: $2" >&2
6153 as_fn_exit $as_status
6157 # as_fn_set_status STATUS
6158 # -----------------------
6159 # Set $? to STATUS, without forking.
6163 } # as_fn_set_status
6167 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6177 # Portably unset VAR.
6180 { eval $1=; unset $1;}
6182 as_unset=as_fn_unset
6183 # as_fn_append VAR VALUE
6184 # ----------------------
6185 # Append the text in VALUE to the end of the definition contained in VAR. Take
6186 # advantage of any shell optimizations that allow amortized linear growth over
6187 # repeated appends, instead of the typical quadratic growth present in naive
6189 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6190 eval 'as_fn_append ()
6201 # as_fn_arith ARG...
6202 # ------------------
6203 # Perform arithmetic evaluation on the ARGs, and store the result in the
6204 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6205 # must be portable across $(()) and expr.
6206 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6207 eval 'as_fn_arith ()
6214 as_val=`expr "$@" || test $? -eq 1`
6219 if expr a : '\(a\)' >/dev/null 2>&1 &&
6220 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6226 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6227 as_basename=basename
6232 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6238 as_me=`$as_basename -- "$0" ||
6239 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6240 X"$0" : 'X\(//\)$' \| \
6241 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6243 sed '/^.*\/\([^/][^/]*\)\/*$/{
6257 # Avoid depending upon Character Ranges.
6258 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6259 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6260 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6261 as_cr_digits='0123456789'
6262 as_cr_alnum=$as_cr_Letters$as_cr_digits
6264 ECHO_C= ECHO_N= ECHO_T=
6265 case `echo -n x` in #(((((
6267 case `echo 'xy\c'` in
6268 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6270 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6277 rm -f conf$$ conf$$.exe conf$$.file
6278 if test -d conf$$.dir; then
6279 rm -f conf$$.dir/conf$$.file
6282 mkdir conf$$.dir 2>/dev/null
6284 if (echo >conf$$.file) 2>/dev/null; then
6285 if ln -s conf$$.file conf$$ 2>/dev/null; then
6287 # ... but there are two gotchas:
6288 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6289 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6290 # In both cases, we have to default to `cp -pR'.
6291 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6293 elif ln conf$$.file conf$$ 2>/dev/null; then
6301 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6302 rmdir conf$$.dir 2>/dev/null
6307 # Create "$as_dir" as a directory, including parents if necessary.
6312 -*) as_dir=./$as_dir;;
6314 test -d "$as_dir" || eval $as_mkdir_p || {
6318 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6319 *) as_qdir=$as_dir;;
6321 as_dirs="'$as_qdir' $as_dirs"
6322 as_dir=`$as_dirname -- "$as_dir" ||
6323 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6324 X"$as_dir" : 'X\(//\)[^/]' \| \
6325 X"$as_dir" : 'X\(//\)$' \| \
6326 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6327 $as_echo X"$as_dir" |
6328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6345 test -d "$as_dir" && break
6347 test -z "$as_dirs" || eval "mkdir $as_dirs"
6348 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6352 if mkdir -p . 2>/dev/null; then
6353 as_mkdir_p='mkdir -p "$as_dir"'
6355 test -d ./-p && rmdir ./-p
6360 # as_fn_executable_p FILE
6361 # -----------------------
6362 # Test if FILE is an executable regular file.
6363 as_fn_executable_p ()
6365 test -f "$1" && test -x "$1"
6366 } # as_fn_executable_p
6368 as_executable_p=as_fn_executable_p
6370 # Sed expression to map a string onto a valid CPP name.
6371 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6373 # Sed expression to map a string onto a valid variable name.
6374 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6378 ## ----------------------------------- ##
6379 ## Main body of $CONFIG_STATUS script. ##
6380 ## ----------------------------------- ##
6382 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6384 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6385 # Save the log message, to keep $0 and so on meaningful, and to
6386 # report actual input values of CONFIG_FILES etc. instead of their
6387 # values after options handling.
6389 This file was extended by sysstat $as_me 12.5.5, which was
6390 generated by GNU Autoconf 2.69. Invocation command line was
6392 CONFIG_FILES = $CONFIG_FILES
6393 CONFIG_HEADERS = $CONFIG_HEADERS
6394 CONFIG_LINKS = $CONFIG_LINKS
6395 CONFIG_COMMANDS = $CONFIG_COMMANDS
6398 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6403 case $ac_config_files in *"
6404 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6409 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6410 # Files that config.status was made for.
6411 config_files="$ac_config_files"
6415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6417 \`$as_me' instantiates files and other configuration actions
6418 from templates according to the current configuration. Unless the files
6419 and actions are specified as TAGs, all are instantiated by default.
6421 Usage: $0 [OPTION]... [TAG]...
6423 -h, --help print this help, then exit
6424 -V, --version print version number and configuration settings, then exit
6425 --config print configuration, then exit
6426 -q, --quiet, --silent
6427 do not print progress messages
6428 -d, --debug don't remove temporary files
6429 --recheck update $as_me by reconfiguring in the same conditions
6430 --file=FILE[:TEMPLATE]
6431 instantiate the configuration file FILE
6433 Configuration files:
6436 Report bugs to the package provider."
6439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6440 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6442 sysstat config.status 12.5.5
6443 configured by $0, generated by GNU Autoconf 2.69,
6444 with options \\"\$ac_cs_config\\"
6446 Copyright (C) 2012 Free Software Foundation, Inc.
6447 This config.status script is free software; the Free Software Foundation
6448 gives unlimited permission to copy, distribute and modify it."
6452 test -n "\$AWK" || AWK=awk
6455 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6456 # The default lists apply if the user does not specify any file.
6462 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6463 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6467 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6479 # Handling of the options.
6480 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6482 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6483 $as_echo "$ac_cs_version"; exit ;;
6484 --config | --confi | --conf | --con | --co | --c )
6485 $as_echo "$ac_cs_config"; exit ;;
6486 --debug | --debu | --deb | --de | --d | -d )
6488 --file | --fil | --fi | --f )
6491 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6492 '') as_fn_error $? "missing file argument" ;;
6494 as_fn_append CONFIG_FILES " '$ac_optarg'"
6495 ac_need_defaults=false;;
6496 --he | --h | --help | --hel | -h )
6497 $as_echo "$ac_cs_usage"; exit ;;
6498 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6499 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6503 -*) as_fn_error $? "unrecognized option: \`$1'
6504 Try \`$0 --help' for more information." ;;
6506 *) as_fn_append ac_config_targets " $1"
6507 ac_need_defaults=false ;;
6513 ac_configure_extra_args=
6515 if $ac_cs_silent; then
6517 ac_configure_extra_args="$ac_configure_extra_args --silent"
6521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6522 if \$ac_cs_recheck; then
6523 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6525 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6526 CONFIG_SHELL='$SHELL'
6532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6536 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6537 ## Running $as_me. ##
6543 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6548 # Handling of arguments.
6549 for ac_config_target in $ac_config_targets
6551 case $ac_config_target in
6552 "sa1") CONFIG_FILES="$CONFIG_FILES sa1" ;;
6553 "sa2") CONFIG_FILES="$CONFIG_FILES sa2" ;;
6554 "cron/crontab") CONFIG_FILES="$CONFIG_FILES cron/crontab:cron/crontab.sample" ;;
6555 "sysstat.sysconfig") CONFIG_FILES="$CONFIG_FILES sysstat.sysconfig" ;;
6556 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:version.in" ;;
6557 "sysconfig.h") CONFIG_FILES="$CONFIG_FILES sysconfig.h:sysconfig.in" ;;
6558 "cron/sysstat.cron.daily") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.daily" ;;
6559 "cron/sysstat.cron.hourly") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.hourly" ;;
6560 "cron/sysstat.crond") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond" ;;
6561 "cron/sysstat.crond.sample.in") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond.sample.in:cron/sysstat.crond.in" ;;
6562 "sysstat") CONFIG_FILES="$CONFIG_FILES sysstat" ;;
6563 "sysstat.service") CONFIG_FILES="$CONFIG_FILES sysstat.service" ;;
6564 "cron/sysstat-collect.service") CONFIG_FILES="$CONFIG_FILES cron/sysstat-collect.service" ;;
6565 "cron/sysstat-collect.timer") CONFIG_FILES="$CONFIG_FILES cron/sysstat-collect.timer" ;;
6566 "cron/sysstat-summary.service") CONFIG_FILES="$CONFIG_FILES cron/sysstat-summary.service" ;;
6567 "cron/sysstat-summary.timer") CONFIG_FILES="$CONFIG_FILES cron/sysstat-summary.timer" ;;
6568 "cron/sysstat.sleep") CONFIG_FILES="$CONFIG_FILES cron/sysstat.sleep" ;;
6569 "man/sa1.8") CONFIG_FILES="$CONFIG_FILES man/sa1.8:man/sa1.in" ;;
6570 "man/sa2.8") CONFIG_FILES="$CONFIG_FILES man/sa2.8:man/sa2.in" ;;
6571 "man/sadc.8") CONFIG_FILES="$CONFIG_FILES man/sadc.8:man/sadc.in" ;;
6572 "man/sadf.1") CONFIG_FILES="$CONFIG_FILES man/sadf.1:man/sadf.in" ;;
6573 "man/sar.1") CONFIG_FILES="$CONFIG_FILES man/sar.1:man/sar.in" ;;
6574 "man/sysstat.5") CONFIG_FILES="$CONFIG_FILES man/sysstat.5:man/sysstat.in" ;;
6575 "man/iostat.1") CONFIG_FILES="$CONFIG_FILES man/iostat.1:man/iostat.in" ;;
6576 "man/cifsiostat.1") CONFIG_FILES="$CONFIG_FILES man/cifsiostat.1:man/cifsiostat.in" ;;
6577 "tests/variables") CONFIG_FILES="$CONFIG_FILES tests/variables" ;;
6578 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6580 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6585 # If the user did not use the arguments to specify the items to instantiate,
6586 # then the envvar interface is used. Set only those that are not.
6587 # We use the long form for the default assignment because of an extremely
6588 # bizarre bug on SunOS 4.1.3.
6589 if $ac_need_defaults; then
6590 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6593 # Have a temporary directory for convenience. Make it in the build tree
6594 # simply because there is no reason against having it here, and in addition,
6595 # creating and moving files from /tmp can sometimes cause problems.
6596 # Hook for its removal unless debugging.
6597 # Note that there is a small window in which the directory will not be cleaned:
6598 # after its creation but before its name has been assigned to `$tmp'.
6602 trap 'exit_status=$?
6604 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6606 trap 'as_fn_exit 1' 1 2 13 15
6608 # Create a (secure) tmp directory for tmp files.
6611 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6615 tmp=./conf$$-$RANDOM
6616 (umask 077 && mkdir "$tmp")
6617 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6620 # Set up the scripts for CONFIG_FILES section.
6621 # No need to generate them if there are no CONFIG_FILES.
6622 # This happens for instance with `./config.status config.h'.
6623 if test -n "$CONFIG_FILES"; then
6626 ac_cr=`echo X | tr X '\015'`
6627 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6628 # But we know of no other shell where ac_cr would be empty at this
6629 # point, so we can use a bashism as a fallback.
6630 if test "x$ac_cr" = x; then
6631 eval ac_cr=\$\'\\r\'
6633 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6634 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6640 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6645 echo "cat >conf$$subs.awk <<_ACEOF" &&
6646 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6649 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6650 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6652 for ac_last_try in false false false false false :; do
6653 . ./conf$$subs.sh ||
6654 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6656 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6657 if test $ac_delim_n = $ac_delim_num; then
6659 elif $ac_last_try; then
6660 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6662 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6668 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6672 s/^/S["/; s/!.*/"]=/
6682 s/\(.\{148\}\)..*/\1/
6684 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6689 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6696 s/\(.\{148\}\)..*/\1/
6698 s/["\\]/\\&/g; s/^/"/; s/$/"/
6702 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6707 ' <conf$$subs.awk | sed '
6712 ' >>$CONFIG_STATUS || ac_write_fail=1
6713 rm -f conf$$subs.awk
6714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6716 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6717 for (key in S) S_is_set[key] = 1
6723 nfields = split(line, field, "@")
6725 len = length(field[1])
6726 for (i = 2; i < nfields; i++) {
6728 keylen = length(key)
6729 if (S_is_set[key]) {
6731 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6732 len += length(value) + length(field[++i])
6743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6744 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6745 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6748 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6749 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6752 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6753 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6754 # trailing colons and then remove the whole line if VPATH becomes empty
6755 # (actually we leave an empty line to preserve line numbers).
6756 if test "x$srcdir" = x.; then
6757 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6776 fi # test -n "$CONFIG_FILES"
6779 eval set X " :F $CONFIG_FILES "
6784 :[FHLC]) ac_mode=$ac_tag; continue;;
6786 case $ac_mode$ac_tag in
6788 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6789 :[FH]-) ac_tag=-:-;;
6790 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6807 -) ac_f="$ac_tmp/stdin";;
6808 *) # Look for the file first in the build tree, then in the source tree
6809 # (if the path is not absolute). The absolute path cannot be DOS-style,
6810 # because $ac_f cannot contain `:'.
6814 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6816 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6818 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6819 as_fn_append ac_file_inputs " '$ac_f'"
6822 # Let's still pretend it is `configure' which instantiates (i.e., don't
6823 # use $as_me), people would be surprised to read:
6824 # /* config.h. Generated by config.status. */
6825 configure_input='Generated from '`
6826 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6828 if test x"$ac_file" != x-; then
6829 configure_input="$ac_file. $configure_input"
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6831 $as_echo "$as_me: creating $ac_file" >&6;}
6833 # Neutralize special characters interpreted by sed in replacement strings.
6834 case $configure_input in #(
6835 *\&* | *\|* | *\\* )
6836 ac_sed_conf_input=`$as_echo "$configure_input" |
6837 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6838 *) ac_sed_conf_input=$configure_input;;
6842 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6843 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6848 ac_dir=`$as_dirname -- "$ac_file" ||
6849 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6850 X"$ac_file" : 'X\(//\)[^/]' \| \
6851 X"$ac_file" : 'X\(//\)$' \| \
6852 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6853 $as_echo X"$ac_file" |
6854 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6871 as_dir="$ac_dir"; as_fn_mkdir_p
6875 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6877 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6878 # A ".." for each directory in $ac_dir_suffix.
6879 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6880 case $ac_top_builddir_sub in
6881 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6882 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6885 ac_abs_top_builddir=$ac_pwd
6886 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6887 # for backward compatibility:
6888 ac_top_builddir=$ac_top_build_prefix
6891 .) # We are building in place.
6893 ac_top_srcdir=$ac_top_builddir_sub
6894 ac_abs_top_srcdir=$ac_pwd ;;
6895 [\\/]* | ?:[\\/]* ) # Absolute name.
6896 ac_srcdir=$srcdir$ac_dir_suffix;
6897 ac_top_srcdir=$srcdir
6898 ac_abs_top_srcdir=$srcdir ;;
6900 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6901 ac_top_srcdir=$ac_top_build_prefix$srcdir
6902 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6904 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6916 # If the template does not know about datarootdir, expand it.
6917 # FIXME: This hack should be removed a few years after 2.60.
6918 ac_datarootdir_hack=; ac_datarootdir_seen=
6929 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6930 *datarootdir*) ac_datarootdir_seen=yes;;
6931 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6933 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6936 ac_datarootdir_hack='
6937 s&@datadir@&$datadir&g
6938 s&@docdir@&$docdir&g
6939 s&@infodir@&$infodir&g
6940 s&@localedir@&$localedir&g
6941 s&@mandir@&$mandir&g
6942 s&\\\${datarootdir}&$datarootdir&g' ;;
6946 # Neutralize VPATH when `$srcdir' = `.'.
6947 # Shell code in configure.ac might set extrasub.
6948 # FIXME: do we really want to maintain this feature?
6949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6950 ac_sed_extra="$ac_vpsub
6953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6955 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6956 s|@configure_input@|$ac_sed_conf_input|;t t
6957 s&@top_builddir@&$ac_top_builddir_sub&;t t
6958 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6959 s&@srcdir@&$ac_srcdir&;t t
6960 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6961 s&@top_srcdir@&$ac_top_srcdir&;t t
6962 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6963 s&@builddir@&$ac_builddir&;t t
6964 s&@abs_builddir@&$ac_abs_builddir&;t t
6965 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6966 $ac_datarootdir_hack
6968 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6969 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6971 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6972 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6973 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6974 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6976 which seems to be undefined. Please make sure it is defined" >&5
6977 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6978 which seems to be undefined. Please make sure it is defined" >&2;}
6980 rm -f "$ac_tmp/stdin"
6982 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6983 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6985 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6993 case $ac_file$ac_mode in
6994 "sa1":F) chmod +x sa1 ;;
6995 "sa2":F) chmod +x sa2 ;;
6996 "cron/sysstat.crond.sample.in":F) sed s/^/#/ cron/sysstat.crond.sample.in > cron/sysstat.crond.sample ;;
6997 "sysstat":F) chmod +x sysstat ;;
6998 "cron/sysstat.sleep":F) chmod +x cron/sysstat.sleep ;;
7006 ac_clean_files=$ac_clean_files_save
7008 test $ac_write_fail = 0 ||
7009 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7012 # configure is writing to config.log, and then calls config.status.
7013 # config.status does its own redirection, appending to config.log.
7014 # Unfortunately, on DOS this fails, as config.log is still kept open
7015 # by configure, so config.status won't be able to write to it; its
7016 # output is simply discarded. So we exec the FD to /dev/null,
7017 # effectively closing config.log, so it can be properly (re)opened and
7018 # appended to by config.status. When coming back to configure, we
7019 # need to make the FD available again.
7020 if test "$no_create" != yes; then
7022 ac_config_status_args=
7023 test "$silent" = yes &&
7024 ac_config_status_args="$ac_config_status_args --quiet"
7026 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7028 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7029 # would make configure fail if this is the last instruction.
7030 $ac_cs_success || as_fn_exit 1
7032 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7034 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7039 Sysstat version: $PACKAGE_VERSION
7040 Installation prefix: $prefix
7041 rc directory: ${RC_DIR}
7042 Init directory: ${INIT_DIR}"
7043 if test "$UCROND" != "yes"; then
7044 echo " Systemd unit dir: ${with_systemdsystemunitdir}"
7045 echo " Systemd sleep dir: ${with_systemdsleepdir}"
7047 echo " Use standard cron daemon"
7049 echo " Configuration file: ${SYSCONFIG_DIR}/${SYSCONFIG_FILE}
7050 Man pages directory: $mandir
7052 Compiler flags: $CFLAGS