2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sysstat 12.2.0.
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.2.0'
581 PACKAGE_STRING='sysstat 12.2.0'
585 ac_unique_file="ioconf.h"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars='LTLIBOBJS
644 IGNORE_FILE_ATTRIBUTES
731 program_transform_name
744 enable_option_checking
745 with_systemdsystemunitdir
751 enable_compress_manpg
760 ac_precious_vars='build_alias
783 # Initialize some variables set by options.
785 ac_init_version=false
786 ac_unrecognized_opts=
788 # The variables have the same names as the options, with
789 # dashes changed to underlines.
797 program_transform_name=s,x,x,
805 # Installation directory options.
806 # These are left unexpanded so users can "make install exec_prefix=/foo"
807 # and all the variables that are supposed to be based on exec_prefix
808 # by default will actually change.
809 # Use braces instead of parens because sh, perl, etc. also accept them.
810 # (The list follows the same order as the GNU Coding Standards.)
811 bindir='${exec_prefix}/bin'
812 sbindir='${exec_prefix}/sbin'
813 libexecdir='${exec_prefix}/libexec'
814 datarootdir='${prefix}/share'
815 datadir='${datarootdir}'
816 sysconfdir='${prefix}/etc'
817 sharedstatedir='${prefix}/com'
818 localstatedir='${prefix}/var'
819 includedir='${prefix}/include'
820 oldincludedir='/usr/include'
821 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
822 infodir='${datarootdir}/info'
827 libdir='${exec_prefix}/lib'
828 localedir='${datarootdir}/locale'
829 mandir='${datarootdir}/man'
835 # If the previous option needs an argument, assign it.
836 if test -n "$ac_prev"; then
837 eval $ac_prev=\$ac_option
843 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
848 # Accept the important Cygnus configure options, so we can diagnose typos.
850 case $ac_dashdash$ac_option in
854 -bindir | --bindir | --bindi | --bind | --bin | --bi)
856 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
859 -build | --build | --buil | --bui | --bu)
860 ac_prev=build_alias ;;
861 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
862 build_alias=$ac_optarg ;;
864 -cache-file | --cache-file | --cache-fil | --cache-fi \
865 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
866 ac_prev=cache_file ;;
867 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
868 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
869 cache_file=$ac_optarg ;;
872 cache_file=config.cache ;;
874 -datadir | --datadir | --datadi | --datad)
876 -datadir=* | --datadir=* | --datadi=* | --datad=*)
877 datadir=$ac_optarg ;;
879 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
880 | --dataroo | --dataro | --datar)
881 ac_prev=datarootdir ;;
882 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
883 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
884 datarootdir=$ac_optarg ;;
886 -disable-* | --disable-*)
887 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
888 # Reject names that are not valid shell variable names.
889 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
890 as_fn_error $? "invalid feature name: $ac_useropt"
891 ac_useropt_orig=$ac_useropt
892 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
893 case $ac_user_opts in
897 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
898 ac_unrecognized_sep=', ';;
900 eval enable_$ac_useropt=no ;;
902 -docdir | --docdir | --docdi | --doc | --do)
904 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
907 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
909 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
912 -enable-* | --enable-*)
913 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
914 # Reject names that are not valid shell variable names.
915 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
916 as_fn_error $? "invalid feature name: $ac_useropt"
917 ac_useropt_orig=$ac_useropt
918 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
919 case $ac_user_opts in
923 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
924 ac_unrecognized_sep=', ';;
926 eval enable_$ac_useropt=\$ac_optarg ;;
928 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
929 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
930 | --exec | --exe | --ex)
931 ac_prev=exec_prefix ;;
932 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
933 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
934 | --exec=* | --exe=* | --ex=*)
935 exec_prefix=$ac_optarg ;;
937 -gas | --gas | --ga | --g)
938 # Obsolete; use --with-gas.
941 -help | --help | --hel | --he | -h)
943 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
944 ac_init_help=recursive ;;
945 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
946 ac_init_help=short ;;
948 -host | --host | --hos | --ho)
949 ac_prev=host_alias ;;
950 -host=* | --host=* | --hos=* | --ho=*)
951 host_alias=$ac_optarg ;;
953 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
955 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
957 htmldir=$ac_optarg ;;
959 -includedir | --includedir | --includedi | --included | --include \
960 | --includ | --inclu | --incl | --inc)
961 ac_prev=includedir ;;
962 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
963 | --includ=* | --inclu=* | --incl=* | --inc=*)
964 includedir=$ac_optarg ;;
966 -infodir | --infodir | --infodi | --infod | --info | --inf)
968 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
969 infodir=$ac_optarg ;;
971 -libdir | --libdir | --libdi | --libd)
973 -libdir=* | --libdir=* | --libdi=* | --libd=*)
976 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
977 | --libexe | --libex | --libe)
978 ac_prev=libexecdir ;;
979 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
980 | --libexe=* | --libex=* | --libe=*)
981 libexecdir=$ac_optarg ;;
983 -localedir | --localedir | --localedi | --localed | --locale)
985 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
986 localedir=$ac_optarg ;;
988 -localstatedir | --localstatedir | --localstatedi | --localstated \
989 | --localstate | --localstat | --localsta | --localst | --locals)
990 ac_prev=localstatedir ;;
991 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
992 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
993 localstatedir=$ac_optarg ;;
995 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
997 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1000 -nfp | --nfp | --nf)
1001 # Obsolete; use --without-fp.
1004 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1005 | --no-cr | --no-c | -n)
1008 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1009 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1012 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1013 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1014 | --oldin | --oldi | --old | --ol | --o)
1015 ac_prev=oldincludedir ;;
1016 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1017 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1018 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1019 oldincludedir=$ac_optarg ;;
1021 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1023 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1024 prefix=$ac_optarg ;;
1026 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1027 | --program-pre | --program-pr | --program-p)
1028 ac_prev=program_prefix ;;
1029 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1030 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1031 program_prefix=$ac_optarg ;;
1033 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1034 | --program-suf | --program-su | --program-s)
1035 ac_prev=program_suffix ;;
1036 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1037 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1038 program_suffix=$ac_optarg ;;
1040 -program-transform-name | --program-transform-name \
1041 | --program-transform-nam | --program-transform-na \
1042 | --program-transform-n | --program-transform- \
1043 | --program-transform | --program-transfor \
1044 | --program-transfo | --program-transf \
1045 | --program-trans | --program-tran \
1046 | --progr-tra | --program-tr | --program-t)
1047 ac_prev=program_transform_name ;;
1048 -program-transform-name=* | --program-transform-name=* \
1049 | --program-transform-nam=* | --program-transform-na=* \
1050 | --program-transform-n=* | --program-transform-=* \
1051 | --program-transform=* | --program-transfor=* \
1052 | --program-transfo=* | --program-transf=* \
1053 | --program-trans=* | --program-tran=* \
1054 | --progr-tra=* | --program-tr=* | --program-t=*)
1055 program_transform_name=$ac_optarg ;;
1057 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1059 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1060 pdfdir=$ac_optarg ;;
1062 -psdir | --psdir | --psdi | --psd | --ps)
1064 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1067 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1068 | -silent | --silent | --silen | --sile | --sil)
1071 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1073 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1075 sbindir=$ac_optarg ;;
1077 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1078 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1079 | --sharedst | --shareds | --shared | --share | --shar \
1081 ac_prev=sharedstatedir ;;
1082 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1083 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1084 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1086 sharedstatedir=$ac_optarg ;;
1088 -site | --site | --sit)
1090 -site=* | --site=* | --sit=*)
1093 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1095 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1096 srcdir=$ac_optarg ;;
1098 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1099 | --syscon | --sysco | --sysc | --sys | --sy)
1100 ac_prev=sysconfdir ;;
1101 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1102 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1103 sysconfdir=$ac_optarg ;;
1105 -target | --target | --targe | --targ | --tar | --ta | --t)
1106 ac_prev=target_alias ;;
1107 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1108 target_alias=$ac_optarg ;;
1110 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1113 -version | --version | --versio | --versi | --vers | -V)
1114 ac_init_version=: ;;
1117 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1118 # Reject names that are not valid shell variable names.
1119 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1120 as_fn_error $? "invalid package name: $ac_useropt"
1121 ac_useropt_orig=$ac_useropt
1122 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1123 case $ac_user_opts in
1127 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1128 ac_unrecognized_sep=', ';;
1130 eval with_$ac_useropt=\$ac_optarg ;;
1132 -without-* | --without-*)
1133 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1134 # Reject names that are not valid shell variable names.
1135 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1136 as_fn_error $? "invalid package name: $ac_useropt"
1137 ac_useropt_orig=$ac_useropt
1138 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1139 case $ac_user_opts in
1143 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1144 ac_unrecognized_sep=', ';;
1146 eval with_$ac_useropt=no ;;
1149 # Obsolete; use --with-x.
1152 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1153 | --x-incl | --x-inc | --x-in | --x-i)
1154 ac_prev=x_includes ;;
1155 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1156 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1157 x_includes=$ac_optarg ;;
1159 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1160 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1161 ac_prev=x_libraries ;;
1162 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1163 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1164 x_libraries=$ac_optarg ;;
1166 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1167 Try \`$0 --help' for more information"
1171 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1172 # Reject names that are not valid shell variable names.
1173 case $ac_envvar in #(
1174 '' | [0-9]* | *[!_$as_cr_alnum]* )
1175 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1177 eval $ac_envvar=\$ac_optarg
1178 export $ac_envvar ;;
1181 # FIXME: should be removed in autoconf 3.0.
1182 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1183 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1184 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1185 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1191 if test -n "$ac_prev"; then
1192 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1193 as_fn_error $? "missing argument to $ac_option"
1196 if test -n "$ac_unrecognized_opts"; then
1197 case $enable_option_checking in
1199 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1200 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1204 # Check all directory arguments for consistency.
1205 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1206 datadir sysconfdir sharedstatedir localstatedir includedir \
1207 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1208 libdir localedir mandir
1210 eval ac_val=\$$ac_var
1211 # Remove trailing slashes.
1214 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1215 eval $ac_var=\$ac_val;;
1217 # Be sure to have absolute directory names.
1219 [\\/$]* | ?:[\\/]* ) continue;;
1220 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1222 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1225 # There might be people who depend on the old broken behavior: `$host'
1226 # used to hold the argument of --host etc.
1227 # FIXME: To remove some day.
1230 target=$target_alias
1232 # FIXME: To remove some day.
1233 if test "x$host_alias" != x; then
1234 if test "x$build_alias" = x; then
1235 cross_compiling=maybe
1236 elif test "x$build_alias" != "x$host_alias"; then
1242 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1244 test "$silent" = yes && exec 6>/dev/null
1247 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1248 ac_ls_di=`ls -di .` &&
1249 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1250 as_fn_error $? "working directory cannot be determined"
1251 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1252 as_fn_error $? "pwd does not report name of working directory"
1255 # Find the source files, if location was not specified.
1256 if test -z "$srcdir"; then
1257 ac_srcdir_defaulted=yes
1258 # Try the directory containing this script, then the parent directory.
1259 ac_confdir=`$as_dirname -- "$as_myself" ||
1260 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1261 X"$as_myself" : 'X\(//\)[^/]' \| \
1262 X"$as_myself" : 'X\(//\)$' \| \
1263 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1264 $as_echo X"$as_myself" |
1265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1283 if test ! -r "$srcdir/$ac_unique_file"; then
1287 ac_srcdir_defaulted=no
1289 if test ! -r "$srcdir/$ac_unique_file"; then
1290 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1291 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1293 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1295 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1297 # When building in place, set srcdir=.
1298 if test "$ac_abs_confdir" = "$ac_pwd"; then
1301 # Remove unnecessary trailing slashes from srcdir.
1302 # Double slashes in file names in object file debugging info
1303 # mess up M-x gdb in Emacs.
1305 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1307 for ac_var in $ac_precious_vars; do
1308 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1309 eval ac_env_${ac_var}_value=\$${ac_var}
1310 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1311 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1315 # Report the --help message.
1317 if test "$ac_init_help" = "long"; then
1318 # Omit some internal or obsolete options to make the list less imposing.
1319 # This message is too long to be a string in the A/UX 3.1 sh.
1321 \`configure' configures sysstat 12.2.0 to adapt to many kinds of systems.
1323 Usage: $0 [OPTION]... [VAR=VALUE]...
1325 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1326 VAR=VALUE. See below for descriptions of some of the useful variables.
1328 Defaults for the options are specified in brackets.
1331 -h, --help display this help and exit
1332 --help=short display options specific to this package
1333 --help=recursive display the short help of all the included packages
1334 -V, --version display version information and exit
1335 -q, --quiet, --silent do not print \`checking ...' messages
1336 --cache-file=FILE cache test results in FILE [disabled]
1337 -C, --config-cache alias for \`--cache-file=config.cache'
1338 -n, --no-create do not create output files
1339 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1341 Installation directories:
1342 --prefix=PREFIX install architecture-independent files in PREFIX
1343 [$ac_default_prefix]
1344 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1347 By default, \`make install' will install all the files in
1348 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1349 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1350 for instance \`--prefix=\$HOME'.
1352 For better control, use the options below.
1354 Fine tuning of the installation directories:
1355 --bindir=DIR user executables [EPREFIX/bin]
1356 --sbindir=DIR system admin executables [EPREFIX/sbin]
1357 --libexecdir=DIR program executables [EPREFIX/libexec]
1358 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1359 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1360 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1361 --libdir=DIR object code libraries [EPREFIX/lib]
1362 --includedir=DIR C header files [PREFIX/include]
1363 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1366 --infodir=DIR info documentation [DATAROOTDIR/info]
1367 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1368 --mandir=DIR man documentation [DATAROOTDIR/man]
1369 --docdir=DIR documentation root [DATAROOTDIR/doc/sysstat]
1370 --htmldir=DIR html documentation [DOCDIR]
1371 --dvidir=DIR dvi documentation [DOCDIR]
1372 --pdfdir=DIR pdf documentation [DOCDIR]
1373 --psdir=DIR ps documentation [DOCDIR]
1380 if test -n "$ac_init_help"; then
1381 case $ac_init_help in
1382 short | recursive ) echo "Configuration of sysstat 12.2.0:";;
1387 --disable-option-checking ignore unrecognized --enable/--with options
1388 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1389 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1390 --disable-sensors disable sensors support
1391 --disable-pcp disable PCP support
1392 --disable-largefile omit support for large files
1393 --disable-nls disable National Language Support
1394 --disable-file-attr do not set attributes on files being installed
1395 --enable-compress-manpg compress sysstat manual pages
1396 --enable-clean-sa-dir clean system activity directory
1397 --enable-install-cron install a crontab to start sar
1398 --enable-collect-all collect all possible activities
1399 --enable-copy-only only copy files when installing
1400 --disable-documentation do not install documentation
1401 --enable-debuginfo enable debug output (--debuginfo option)
1402 --disable-stripping do not strip object files
1405 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1406 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1407 --with-systemdsystemunitdir=DIR
1408 Directory for systemd service files
1410 Some influential environment variables:
1411 CC C compiler command
1412 CFLAGS C compiler flags
1413 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1414 nonstandard directory <lib dir>
1415 LIBS libraries to pass to the linker, e.g. -l<library>
1416 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1417 you have headers in a nonstandard directory <include dir>
1419 rcdir run-commands directory
1420 sa_lib_dir sadc directory
1421 sa_dir system activity directory
1422 sar_dir sar directory
1423 conf_dir sysstat configuration directory
1424 conf_file sysstat configuration file
1425 history number of daily data files to keep (default value is 7)
1427 number of days after which data files are compressed (default
1429 man_group group for manual pages
1430 cron_owner crontab owner
1434 options to be passed to sadc
1436 Use these variables to override the choices made by `configure' or to help
1437 it to find libraries and programs with nonstandard names/locations.
1439 Report bugs to the package provider.
1444 if test "$ac_init_help" = "recursive"; then
1445 # If there are subdirs, report their specific --help.
1446 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1447 test -d "$ac_dir" ||
1448 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1453 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1455 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1456 # A ".." for each directory in $ac_dir_suffix.
1457 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1458 case $ac_top_builddir_sub in
1459 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1460 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1463 ac_abs_top_builddir=$ac_pwd
1464 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1465 # for backward compatibility:
1466 ac_top_builddir=$ac_top_build_prefix
1469 .) # We are building in place.
1471 ac_top_srcdir=$ac_top_builddir_sub
1472 ac_abs_top_srcdir=$ac_pwd ;;
1473 [\\/]* | ?:[\\/]* ) # Absolute name.
1474 ac_srcdir=$srcdir$ac_dir_suffix;
1475 ac_top_srcdir=$srcdir
1476 ac_abs_top_srcdir=$srcdir ;;
1478 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1479 ac_top_srcdir=$ac_top_build_prefix$srcdir
1480 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1482 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1484 cd "$ac_dir" || { ac_status=$?; continue; }
1485 # Check for guested configure.
1486 if test -f "$ac_srcdir/configure.gnu"; then
1488 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1489 elif test -f "$ac_srcdir/configure"; then
1491 $SHELL "$ac_srcdir/configure" --help=recursive
1493 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1495 cd "$ac_pwd" || { ac_status=$?; break; }
1499 test -n "$ac_init_help" && exit $ac_status
1500 if $ac_init_version; then
1502 sysstat configure 12.2.0
1503 generated by GNU Autoconf 2.69
1505 Copyright (C) 2012 Free Software Foundation, Inc.
1506 This configure script is free software; the Free Software Foundation
1507 gives unlimited permission to copy, distribute and modify it.
1512 ## ------------------------ ##
1513 ## Autoconf initialization. ##
1514 ## ------------------------ ##
1516 # ac_fn_c_try_compile LINENO
1517 # --------------------------
1518 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1519 ac_fn_c_try_compile ()
1521 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1522 rm -f conftest.$ac_objext
1523 if { { ac_try="$ac_compile"
1525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1526 *) ac_try_echo=$ac_try;;
1528 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1529 $as_echo "$ac_try_echo"; } >&5
1530 (eval "$ac_compile") 2>conftest.err
1532 if test -s conftest.err; then
1533 grep -v '^ *+' conftest.err >conftest.er1
1534 cat conftest.er1 >&5
1535 mv -f conftest.er1 conftest.err
1537 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1538 test $ac_status = 0; } && {
1539 test -z "$ac_c_werror_flag" ||
1540 test ! -s conftest.err
1541 } && test -s conftest.$ac_objext; then :
1544 $as_echo "$as_me: failed program was:" >&5
1545 sed 's/^/| /' conftest.$ac_ext >&5
1549 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1550 as_fn_set_status $ac_retval
1552 } # ac_fn_c_try_compile
1554 # ac_fn_c_try_cpp LINENO
1555 # ----------------------
1556 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1559 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1560 if { { ac_try="$ac_cpp conftest.$ac_ext"
1562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1563 *) ac_try_echo=$ac_try;;
1565 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1566 $as_echo "$ac_try_echo"; } >&5
1567 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1569 if test -s conftest.err; then
1570 grep -v '^ *+' conftest.err >conftest.er1
1571 cat conftest.er1 >&5
1572 mv -f conftest.er1 conftest.err
1574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1575 test $ac_status = 0; } > conftest.i && {
1576 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1577 test ! -s conftest.err
1581 $as_echo "$as_me: failed program was:" >&5
1582 sed 's/^/| /' conftest.$ac_ext >&5
1586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1587 as_fn_set_status $ac_retval
1591 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1592 # -------------------------------------------------------
1593 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1594 # the include files in INCLUDES and setting the cache variable VAR
1596 ac_fn_c_check_header_mongrel ()
1598 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1599 if eval \${$3+:} false; then :
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1601 $as_echo_n "checking for $2... " >&6; }
1602 if eval \${$3+:} false; then :
1603 $as_echo_n "(cached) " >&6
1606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1607 $as_echo "$ac_res" >&6; }
1609 # Is the header compilable?
1610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1611 $as_echo_n "checking $2 usability... " >&6; }
1612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1613 /* end confdefs.h. */
1617 if ac_fn_c_try_compile "$LINENO"; then :
1618 ac_header_compiler=yes
1620 ac_header_compiler=no
1622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1624 $as_echo "$ac_header_compiler" >&6; }
1626 # Is the header present?
1627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1628 $as_echo_n "checking $2 presence... " >&6; }
1629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1630 /* end confdefs.h. */
1633 if ac_fn_c_try_cpp "$LINENO"; then :
1634 ac_header_preproc=yes
1636 ac_header_preproc=no
1638 rm -f conftest.err conftest.i conftest.$ac_ext
1639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1640 $as_echo "$ac_header_preproc" >&6; }
1642 # So? What about this header?
1643 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1646 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1648 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1652 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1654 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1655 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1656 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1658 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1660 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1664 $as_echo_n "checking for $2... " >&6; }
1665 if eval \${$3+:} false; then :
1666 $as_echo_n "(cached) " >&6
1668 eval "$3=\$ac_header_compiler"
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1672 $as_echo "$ac_res" >&6; }
1674 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1676 } # ac_fn_c_check_header_mongrel
1678 # ac_fn_c_try_run LINENO
1679 # ----------------------
1680 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1681 # that executables *can* be run.
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 if { { ac_try="$ac_link"
1687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1688 *) ac_try_echo=$ac_try;;
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_link") 2>&5
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1696 { { case "(($ac_try" in
1697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1698 *) ac_try_echo=$ac_try;;
1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1701 $as_echo "$ac_try_echo"; } >&5
1702 (eval "$ac_try") 2>&5
1704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705 test $ac_status = 0; }; }; then :
1708 $as_echo "$as_me: program exited with status $ac_status" >&5
1709 $as_echo "$as_me: failed program was:" >&5
1710 sed 's/^/| /' conftest.$ac_ext >&5
1712 ac_retval=$ac_status
1714 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1715 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 as_fn_set_status $ac_retval
1720 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1721 # -------------------------------------------------------
1722 # Tests whether HEADER exists and can be compiled using the include files in
1723 # INCLUDES, setting the cache variable VAR accordingly.
1724 ac_fn_c_check_header_compile ()
1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1728 $as_echo_n "checking for $2... " >&6; }
1729 if eval \${$3+:} false; then :
1730 $as_echo_n "(cached) " >&6
1732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1733 /* end confdefs.h. */
1737 if ac_fn_c_try_compile "$LINENO"; then :
1742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1746 $as_echo "$ac_res" >&6; }
1747 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1749 } # ac_fn_c_check_header_compile
1751 # ac_fn_c_try_link LINENO
1752 # -----------------------
1753 # Try to link conftest.$ac_ext, and return whether this succeeded.
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 rm -f conftest.$ac_objext conftest$ac_exeext
1758 if { { ac_try="$ac_link"
1760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1761 *) ac_try_echo=$ac_try;;
1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1764 $as_echo "$ac_try_echo"; } >&5
1765 (eval "$ac_link") 2>conftest.err
1767 if test -s conftest.err; then
1768 grep -v '^ *+' conftest.err >conftest.er1
1769 cat conftest.er1 >&5
1770 mv -f conftest.er1 conftest.err
1772 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773 test $ac_status = 0; } && {
1774 test -z "$ac_c_werror_flag" ||
1775 test ! -s conftest.err
1776 } && test -s conftest$ac_exeext && {
1777 test "$cross_compiling" = yes ||
1778 test -x conftest$ac_exeext
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1787 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1788 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1789 # interfere with the next link command; also delete a directory that is
1790 # left behind by Apple's compiler. We do this before executing the actions.
1791 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1792 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1793 as_fn_set_status $ac_retval
1795 } # ac_fn_c_try_link
1797 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1798 # -------------------------------------------
1799 # Tests whether TYPE exists after having included INCLUDES, setting cache
1800 # variable VAR accordingly.
1801 ac_fn_c_check_type ()
1803 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1805 $as_echo_n "checking for $2... " >&6; }
1806 if eval \${$3+:} false; then :
1807 $as_echo_n "(cached) " >&6
1810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1811 /* end confdefs.h. */
1822 if ac_fn_c_try_compile "$LINENO"; then :
1823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1824 /* end confdefs.h. */
1835 if ac_fn_c_try_compile "$LINENO"; then :
1840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1846 $as_echo "$ac_res" >&6; }
1847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849 } # ac_fn_c_check_type
1851 # ac_fn_c_check_func LINENO FUNC VAR
1852 # ----------------------------------
1853 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1854 ac_fn_c_check_func ()
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if eval \${$3+:} false; then :
1860 $as_echo_n "(cached) " >&6
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1864 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1866 #define $2 innocuous_$2
1868 /* System header to define __stub macros and hopefully few prototypes,
1869 which can conflict with char $2 (); below.
1870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1871 <limits.h> exists even on freestanding compilers. */
1874 # include <limits.h>
1876 # include <assert.h>
1881 /* Override any GCC internal prototype to avoid an error.
1882 Use char because int might match the return type of a GCC
1883 builtin and then its argument prototype would still apply. */
1888 /* The GNU C library defines this for functions which it implements
1889 to always fail with ENOSYS. Some functions are actually named
1890 something starting with __ and the normal name is an alias. */
1891 #if defined __stub_$2 || defined __stub___$2
1903 if ac_fn_c_try_link "$LINENO"; then :
1908 rm -f core conftest.err conftest.$ac_objext \
1909 conftest$ac_exeext conftest.$ac_ext
1912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1913 $as_echo "$ac_res" >&6; }
1914 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1916 } # ac_fn_c_check_func
1917 cat >config.log <<_ACEOF
1918 This file contains any messages produced by compilers while
1919 running configure, to aid debugging if configure makes a mistake.
1921 It was created by sysstat $as_me 12.2.0, which was
1922 generated by GNU Autoconf 2.69. Invocation command line was
1934 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1935 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1936 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1937 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1938 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1940 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1941 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1943 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1944 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1945 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1946 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1947 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1948 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1949 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1957 test -z "$as_dir" && as_dir=.
1958 $as_echo "PATH: $as_dir"
1974 # Keep a trace of the command line.
1975 # Strip out --no-create and --no-recursion so they do not pile up.
1976 # Strip out --silent because we don't want to record it for future runs.
1977 # Also quote any args containing shell meta-characters.
1978 # Make two passes to allow for proper duplicate-argument suppression.
1982 ac_must_keep_next=false
1988 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1989 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1990 | -silent | --silent | --silen | --sile | --sil)
1993 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1996 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1998 as_fn_append ac_configure_args1 " '$ac_arg'"
1999 if test $ac_must_keep_next = true; then
2000 ac_must_keep_next=false # Got value, back to normal.
2003 *=* | --config-cache | -C | -disable-* | --disable-* \
2004 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2005 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2006 | -with-* | --with-* | -without-* | --without-* | --x)
2007 case "$ac_configure_args0 " in
2008 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2011 -* ) ac_must_keep_next=true ;;
2014 as_fn_append ac_configure_args " '$ac_arg'"
2019 { ac_configure_args0=; unset ac_configure_args0;}
2020 { ac_configure_args1=; unset ac_configure_args1;}
2022 # When interrupted or exit'd, cleanup temporary files, and complete
2023 # config.log. We remove comments because anyway the quotes in there
2024 # would cause problems or look ugly.
2025 # WARNING: Use '\'' to represent an apostrophe within the trap.
2026 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2027 trap 'exit_status=$?
2028 # Save into config.log some information that might help in debugging.
2032 $as_echo "## ---------------- ##
2033 ## Cache variables. ##
2034 ## ---------------- ##"
2036 # The following way of writing the cache mishandles newlines in values,
2038 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2039 eval ac_val=\$$ac_var
2043 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2044 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2047 _ | IFS | as_nl) ;; #(
2048 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2049 *) { eval $ac_var=; unset $ac_var;} ;;
2054 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2055 *${as_nl}ac_space=\ *)
2057 "s/'\''/'\''\\\\'\'''\''/g;
2058 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2061 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2068 $as_echo "## ----------------- ##
2069 ## Output variables. ##
2070 ## ----------------- ##"
2072 for ac_var in $ac_subst_vars
2074 eval ac_val=\$$ac_var
2076 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2078 $as_echo "$ac_var='\''$ac_val'\''"
2082 if test -n "$ac_subst_files"; then
2083 $as_echo "## ------------------- ##
2084 ## File substitutions. ##
2085 ## ------------------- ##"
2087 for ac_var in $ac_subst_files
2089 eval ac_val=\$$ac_var
2091 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2093 $as_echo "$ac_var='\''$ac_val'\''"
2098 if test -s confdefs.h; then
2099 $as_echo "## ----------- ##
2106 test "$ac_signal" != 0 &&
2107 $as_echo "$as_me: caught signal $ac_signal"
2108 $as_echo "$as_me: exit $exit_status"
2110 rm -f core *.core core.conftest.* &&
2111 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2114 for ac_signal in 1 2 13 15; do
2115 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2119 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2120 rm -f -r conftest* confdefs.h
2122 $as_echo "/* confdefs.h */" > confdefs.h
2124 # Predefined preprocessor variables.
2126 cat >>confdefs.h <<_ACEOF
2127 #define PACKAGE_NAME "$PACKAGE_NAME"
2130 cat >>confdefs.h <<_ACEOF
2131 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2134 cat >>confdefs.h <<_ACEOF
2135 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2138 cat >>confdefs.h <<_ACEOF
2139 #define PACKAGE_STRING "$PACKAGE_STRING"
2142 cat >>confdefs.h <<_ACEOF
2143 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2146 cat >>confdefs.h <<_ACEOF
2147 #define PACKAGE_URL "$PACKAGE_URL"
2151 # Let the site file select an alternate cache file if it wants to.
2152 # Prefer an explicitly selected file to automatically selected ones.
2155 if test -n "$CONFIG_SITE"; then
2156 # We do not want a PATH search for config.site.
2157 case $CONFIG_SITE in #((
2158 -*) ac_site_file1=./$CONFIG_SITE;;
2159 */*) ac_site_file1=$CONFIG_SITE;;
2160 *) ac_site_file1=./$CONFIG_SITE;;
2162 elif test "x$prefix" != xNONE; then
2163 ac_site_file1=$prefix/share/config.site
2164 ac_site_file2=$prefix/etc/config.site
2166 ac_site_file1=$ac_default_prefix/share/config.site
2167 ac_site_file2=$ac_default_prefix/etc/config.site
2169 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2171 test "x$ac_site_file" = xNONE && continue
2172 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2174 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2175 sed 's/^/| /' "$ac_site_file" >&5
2177 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2178 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2179 as_fn_error $? "failed to load site script $ac_site_file
2180 See \`config.log' for more details" "$LINENO" 5; }
2184 if test -r "$cache_file"; then
2185 # Some versions of bash will fail to source /dev/null (special files
2186 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2187 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2189 $as_echo "$as_me: loading cache $cache_file" >&6;}
2191 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2192 *) . "./$cache_file";;
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2197 $as_echo "$as_me: creating cache $cache_file" >&6;}
2201 # Check that the precious variables saved in the cache have kept the same
2203 ac_cache_corrupted=false
2204 for ac_var in $ac_precious_vars; do
2205 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2206 eval ac_new_set=\$ac_env_${ac_var}_set
2207 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2208 eval ac_new_val=\$ac_env_${ac_var}_value
2209 case $ac_old_set,$ac_new_set in
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2212 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2213 ac_cache_corrupted=: ;;
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2216 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2217 ac_cache_corrupted=: ;;
2220 if test "x$ac_old_val" != "x$ac_new_val"; then
2221 # differences in whitespace do not lead to failure.
2222 ac_old_val_w=`echo x $ac_old_val`
2223 ac_new_val_w=`echo x $ac_new_val`
2224 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2226 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2227 ac_cache_corrupted=:
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2230 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2231 eval $ac_var=\$ac_old_val
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2234 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2236 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2239 # Pass precious variables to config.status.
2240 if test "$ac_new_set" = set; then
2242 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2243 *) ac_arg=$ac_var=$ac_new_val ;;
2245 case " $ac_configure_args " in
2246 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2247 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2251 if $ac_cache_corrupted; then
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2255 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2256 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2258 ## -------------------- ##
2259 ## Main body of script. ##
2260 ## -------------------- ##
2263 ac_cpp='$CPP $CPPFLAGS'
2264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2270 # Ensure that a recent enough version of Autoconf is being used
2273 # Check whether the configure script is in the right dir
2278 echo Check programs:
2282 ac_cpp='$CPP $CPPFLAGS'
2283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2286 if test -n "$ac_tool_prefix"; then
2287 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2288 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2290 $as_echo_n "checking for $ac_word... " >&6; }
2291 if ${ac_cv_prog_CC+:} false; then :
2292 $as_echo_n "(cached) " >&6
2294 if test -n "$CC"; then
2295 ac_cv_prog_CC="$CC" # Let the user override the test.
2297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2301 test -z "$as_dir" && as_dir=.
2302 for ac_exec_ext in '' $ac_executable_extensions; do
2303 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2304 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2315 if test -n "$CC"; then
2316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2317 $as_echo "$CC" >&6; }
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2320 $as_echo "no" >&6; }
2325 if test -z "$ac_cv_prog_CC"; then
2327 # Extract the first word of "gcc", so it can be a program name with args.
2328 set dummy gcc; ac_word=$2
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2330 $as_echo_n "checking for $ac_word... " >&6; }
2331 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2332 $as_echo_n "(cached) " >&6
2334 if test -n "$ac_ct_CC"; then
2335 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2341 test -z "$as_dir" && as_dir=.
2342 for ac_exec_ext in '' $ac_executable_extensions; do
2343 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2344 ac_cv_prog_ac_ct_CC="gcc"
2345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2354 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2355 if test -n "$ac_ct_CC"; then
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2357 $as_echo "$ac_ct_CC" >&6; }
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2360 $as_echo "no" >&6; }
2363 if test "x$ac_ct_CC" = x; then
2366 case $cross_compiling:$ac_tool_warned in
2368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2370 ac_tool_warned=yes ;;
2378 if test -z "$CC"; then
2379 if test -n "$ac_tool_prefix"; then
2380 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2381 set dummy ${ac_tool_prefix}cc; ac_word=$2
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2383 $as_echo_n "checking for $ac_word... " >&6; }
2384 if ${ac_cv_prog_CC+:} false; then :
2385 $as_echo_n "(cached) " >&6
2387 if test -n "$CC"; then
2388 ac_cv_prog_CC="$CC" # Let the user override the test.
2390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2394 test -z "$as_dir" && as_dir=.
2395 for ac_exec_ext in '' $ac_executable_extensions; do
2396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2397 ac_cv_prog_CC="${ac_tool_prefix}cc"
2398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2408 if test -n "$CC"; then
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2410 $as_echo "$CC" >&6; }
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2413 $as_echo "no" >&6; }
2419 if test -z "$CC"; then
2420 # Extract the first word of "cc", so it can be a program name with args.
2421 set dummy cc; ac_word=$2
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2423 $as_echo_n "checking for $ac_word... " >&6; }
2424 if ${ac_cv_prog_CC+:} false; then :
2425 $as_echo_n "(cached) " >&6
2427 if test -n "$CC"; then
2428 ac_cv_prog_CC="$CC" # Let the user override the test.
2431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2435 test -z "$as_dir" && as_dir=.
2436 for ac_exec_ext in '' $ac_executable_extensions; do
2437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2438 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2439 ac_prog_rejected=yes
2443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2450 if test $ac_prog_rejected = yes; then
2451 # We found a bogon in the path, so make sure we never use it.
2452 set dummy $ac_cv_prog_CC
2454 if test $# != 0; then
2455 # We chose a different compiler from the bogus one.
2456 # However, it has the same basename, so the bogon will be chosen
2457 # first if we set CC to just the basename; use the full file name.
2459 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2465 if test -n "$CC"; then
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2467 $as_echo "$CC" >&6; }
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2470 $as_echo "no" >&6; }
2475 if test -z "$CC"; then
2476 if test -n "$ac_tool_prefix"; then
2477 for ac_prog in cl.exe
2479 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2480 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2482 $as_echo_n "checking for $ac_word... " >&6; }
2483 if ${ac_cv_prog_CC+:} false; then :
2484 $as_echo_n "(cached) " >&6
2486 if test -n "$CC"; then
2487 ac_cv_prog_CC="$CC" # Let the user override the test.
2489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2493 test -z "$as_dir" && as_dir=.
2494 for ac_exec_ext in '' $ac_executable_extensions; do
2495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2496 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 if test -n "$CC"; then
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2509 $as_echo "$CC" >&6; }
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2512 $as_echo "no" >&6; }
2516 test -n "$CC" && break
2519 if test -z "$CC"; then
2521 for ac_prog in cl.exe
2523 # Extract the first word of "$ac_prog", so it can be a program name with args.
2524 set dummy $ac_prog; ac_word=$2
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2526 $as_echo_n "checking for $ac_word... " >&6; }
2527 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2528 $as_echo_n "(cached) " >&6
2530 if test -n "$ac_ct_CC"; then
2531 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2540 ac_cv_prog_ac_ct_CC="$ac_prog"
2541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2550 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2551 if test -n "$ac_ct_CC"; then
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2553 $as_echo "$ac_ct_CC" >&6; }
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 $as_echo "no" >&6; }
2560 test -n "$ac_ct_CC" && break
2563 if test "x$ac_ct_CC" = x; then
2566 case $cross_compiling:$ac_tool_warned in
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2569 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2570 ac_tool_warned=yes ;;
2579 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2580 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2581 as_fn_error $? "no acceptable C compiler found in \$PATH
2582 See \`config.log' for more details" "$LINENO" 5; }
2584 # Provide some information about the compiler.
2585 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2588 for ac_option in --version -v -V -qversion; do
2589 { { ac_try="$ac_compiler $ac_option >&5"
2591 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2592 *) ac_try_echo=$ac_try;;
2594 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2595 $as_echo "$ac_try_echo"; } >&5
2596 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2598 if test -s conftest.err; then
2600 ... rest of stderr output deleted ...
2601 10q' conftest.err >conftest.er1
2602 cat conftest.er1 >&5
2604 rm -f conftest.er1 conftest.err
2605 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2606 test $ac_status = 0; }
2609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2610 /* end confdefs.h. */
2620 ac_clean_files_save=$ac_clean_files
2621 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2622 # Try to create an executable without -o first, disregard a.out.
2623 # It will help us diagnose broken compilers, and finding out an intuition
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2626 $as_echo_n "checking whether the C compiler works... " >&6; }
2627 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2629 # The possible output files:
2630 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2633 for ac_file in $ac_files
2636 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2637 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2642 if { { ac_try="$ac_link_default"
2644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2645 *) ac_try_echo=$ac_try;;
2647 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2648 $as_echo "$ac_try_echo"; } >&5
2649 (eval "$ac_link_default") 2>&5
2651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2652 test $ac_status = 0; }; then :
2653 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2654 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2655 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2656 # so that the user can short-circuit this test for compilers unknown to
2658 for ac_file in $ac_files ''
2660 test -f "$ac_file" || continue
2662 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2665 # We found the default executable, but exeext='' is most
2669 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2671 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2673 # We set ac_cv_exeext here because the later test for it is not
2674 # safe: cross compilers may not add the suffix if given an `-o'
2675 # argument, so we may need to know it at that point already.
2676 # Even if this section looks crufty: it has the advantage of
2683 test "$ac_cv_exeext" = no && ac_cv_exeext=
2688 if test -z "$ac_file"; then :
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2690 $as_echo "no" >&6; }
2691 $as_echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2694 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2696 as_fn_error 77 "C compiler cannot create executables
2697 See \`config.log' for more details" "$LINENO" 5; }
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2700 $as_echo "yes" >&6; }
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2703 $as_echo_n "checking for C compiler default output file name... " >&6; }
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2705 $as_echo "$ac_file" >&6; }
2706 ac_exeext=$ac_cv_exeext
2708 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2709 ac_clean_files=$ac_clean_files_save
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2711 $as_echo_n "checking for suffix of executables... " >&6; }
2712 if { { ac_try="$ac_link"
2714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2715 *) ac_try_echo=$ac_try;;
2717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2718 $as_echo "$ac_try_echo"; } >&5
2719 (eval "$ac_link") 2>&5
2721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2722 test $ac_status = 0; }; then :
2723 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2724 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2725 # work properly (i.e., refer to `conftest.exe'), while it won't with
2727 for ac_file in conftest.exe conftest conftest.*; do
2728 test -f "$ac_file" || continue
2730 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2731 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2739 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2740 See \`config.log' for more details" "$LINENO" 5; }
2742 rm -f conftest conftest$ac_cv_exeext
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2744 $as_echo "$ac_cv_exeext" >&6; }
2746 rm -f conftest.$ac_ext
2747 EXEEXT=$ac_cv_exeext
2749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2750 /* end confdefs.h. */
2755 FILE *f = fopen ("conftest.out", "w");
2756 return ferror (f) || fclose (f) != 0;
2762 ac_clean_files="$ac_clean_files conftest.out"
2763 # Check that the compiler produces executables we can run. If not, either
2764 # the compiler is broken, or we cross compile.
2765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2766 $as_echo_n "checking whether we are cross compiling... " >&6; }
2767 if test "$cross_compiling" != yes; then
2768 { { ac_try="$ac_link"
2770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2771 *) ac_try_echo=$ac_try;;
2773 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2774 $as_echo "$ac_try_echo"; } >&5
2775 (eval "$ac_link") 2>&5
2777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2778 test $ac_status = 0; }
2779 if { ac_try='./conftest$ac_cv_exeext'
2780 { { case "(($ac_try" in
2781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2782 *) ac_try_echo=$ac_try;;
2784 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2785 $as_echo "$ac_try_echo"; } >&5
2786 (eval "$ac_try") 2>&5
2788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2789 test $ac_status = 0; }; }; then
2792 if test "$cross_compiling" = maybe; then
2795 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2796 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2797 as_fn_error $? "cannot run C compiled programs.
2798 If you meant to cross compile, use \`--host'.
2799 See \`config.log' for more details" "$LINENO" 5; }
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2804 $as_echo "$cross_compiling" >&6; }
2806 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2807 ac_clean_files=$ac_clean_files_save
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2809 $as_echo_n "checking for suffix of object files... " >&6; }
2810 if ${ac_cv_objext+:} false; then :
2811 $as_echo_n "(cached) " >&6
2813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2814 /* end confdefs.h. */
2824 rm -f conftest.o conftest.obj
2825 if { { ac_try="$ac_compile"
2827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2828 *) ac_try_echo=$ac_try;;
2830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2831 $as_echo "$ac_try_echo"; } >&5
2832 (eval "$ac_compile") 2>&5
2834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2835 test $ac_status = 0; }; then :
2836 for ac_file in conftest.o conftest.obj conftest.*; do
2837 test -f "$ac_file" || continue;
2839 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2840 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2845 $as_echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.$ac_ext >&5
2848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2850 as_fn_error $? "cannot compute suffix of object files: cannot compile
2851 See \`config.log' for more details" "$LINENO" 5; }
2853 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2856 $as_echo "$ac_cv_objext" >&6; }
2857 OBJEXT=$ac_cv_objext
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2860 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2861 if ${ac_cv_c_compiler_gnu+:} false; then :
2862 $as_echo_n "(cached) " >&6
2864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2865 /* end confdefs.h. */
2878 if ac_fn_c_try_compile "$LINENO"; then :
2883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2884 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2888 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2889 if test $ac_compiler_gnu = yes; then
2894 ac_test_CFLAGS=${CFLAGS+set}
2895 ac_save_CFLAGS=$CFLAGS
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2897 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2898 if ${ac_cv_prog_cc_g+:} false; then :
2899 $as_echo_n "(cached) " >&6
2901 ac_save_c_werror_flag=$ac_c_werror_flag
2902 ac_c_werror_flag=yes
2905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2906 /* end confdefs.h. */
2916 if ac_fn_c_try_compile "$LINENO"; then :
2920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2921 /* end confdefs.h. */
2931 if ac_fn_c_try_compile "$LINENO"; then :
2934 ac_c_werror_flag=$ac_save_c_werror_flag
2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h. */
2947 if ac_fn_c_try_compile "$LINENO"; then :
2950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955 ac_c_werror_flag=$ac_save_c_werror_flag
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2958 $as_echo "$ac_cv_prog_cc_g" >&6; }
2959 if test "$ac_test_CFLAGS" = set; then
2960 CFLAGS=$ac_save_CFLAGS
2961 elif test $ac_cv_prog_cc_g = yes; then
2962 if test "$GCC" = yes; then
2968 if test "$GCC" = yes; then
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2975 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2976 if ${ac_cv_prog_cc_c89+:} false; then :
2977 $as_echo_n "(cached) " >&6
2979 ac_cv_prog_cc_c89=no
2981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2982 /* end confdefs.h. */
2986 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2987 struct buf { int x; };
2988 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2989 static char *e (p, i)
2995 static char *f (char * (*g) (char **, int), char **p, ...)
3000 s = g (p, va_arg (v,int));
3005 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3006 function prototypes and stuff, but not '\xHH' hex character constants.
3007 These don't provoke an error unfortunately, instead are silently treated
3008 as 'x'. The following induces an error, until -std is added to get
3009 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3010 array size at least. It's necessary to write '\x00'==0 to get something
3011 that's true only with -std. */
3012 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3014 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3015 inside strings and character constants. */
3017 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3019 int test (int i, double x);
3020 struct s1 {int (*f) (int a);};
3021 struct s2 {int (*f) (double a);};
3022 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3028 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3033 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3034 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3036 CC="$ac_save_CC $ac_arg"
3037 if ac_fn_c_try_compile "$LINENO"; then :
3038 ac_cv_prog_cc_c89=$ac_arg
3040 rm -f core conftest.err conftest.$ac_objext
3041 test "x$ac_cv_prog_cc_c89" != "xno" && break
3043 rm -f conftest.$ac_ext
3048 case "x$ac_cv_prog_cc_c89" in
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3051 $as_echo "none needed" >&6; } ;;
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3054 $as_echo "unsupported" >&6; } ;;
3056 CC="$CC $ac_cv_prog_cc_c89"
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3058 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3060 if test "x$ac_cv_prog_cc_c89" != xno; then :
3065 ac_cpp='$CPP $CPPFLAGS'
3066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3072 ac_cpp='$CPP $CPPFLAGS'
3073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3077 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3078 # On Suns, sometimes $CPP names a directory.
3079 if test -n "$CPP" && test -d "$CPP"; then
3082 if test -z "$CPP"; then
3083 if ${ac_cv_prog_CPP+:} false; then :
3084 $as_echo_n "(cached) " >&6
3086 # Double quotes because CPP needs to be expanded
3087 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3090 for ac_c_preproc_warn_flag in '' yes
3092 # Use a header file that comes with gcc, so configuring glibc
3093 # with a fresh cross-compiler works.
3094 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3095 # <limits.h> exists even on freestanding compilers.
3096 # On the NeXT, cc -E runs the code through the compiler's parser,
3097 # not just through cpp. "Syntax error" is here to catch this case.
3098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3099 /* end confdefs.h. */
3101 # include <limits.h>
3103 # include <assert.h>
3107 if ac_fn_c_try_cpp "$LINENO"; then :
3110 # Broken: fails on valid input.
3113 rm -f conftest.err conftest.i conftest.$ac_ext
3115 # OK, works on sane cases. Now check whether nonexistent headers
3116 # can be detected and how.
3117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3119 #include <ac_nonexistent.h>
3121 if ac_fn_c_try_cpp "$LINENO"; then :
3122 # Broken: success on invalid input.
3125 # Passes both tests.
3129 rm -f conftest.err conftest.i conftest.$ac_ext
3132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3133 rm -f conftest.i conftest.err conftest.$ac_ext
3134 if $ac_preproc_ok; then :
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3147 $as_echo "$CPP" >&6; }
3149 for ac_c_preproc_warn_flag in '' yes
3151 # Use a header file that comes with gcc, so configuring glibc
3152 # with a fresh cross-compiler works.
3153 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3154 # <limits.h> exists even on freestanding compilers.
3155 # On the NeXT, cc -E runs the code through the compiler's parser,
3156 # not just through cpp. "Syntax error" is here to catch this case.
3157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3158 /* end confdefs.h. */
3160 # include <limits.h>
3162 # include <assert.h>
3166 if ac_fn_c_try_cpp "$LINENO"; then :
3169 # Broken: fails on valid input.
3172 rm -f conftest.err conftest.i conftest.$ac_ext
3174 # OK, works on sane cases. Now check whether nonexistent headers
3175 # can be detected and how.
3176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3177 /* end confdefs.h. */
3178 #include <ac_nonexistent.h>
3180 if ac_fn_c_try_cpp "$LINENO"; then :
3181 # Broken: success on invalid input.
3184 # Passes both tests.
3188 rm -f conftest.err conftest.i conftest.$ac_ext
3191 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3192 rm -f conftest.i conftest.err conftest.$ac_ext
3193 if $ac_preproc_ok; then :
3196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3198 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3199 See \`config.log' for more details" "$LINENO" 5; }
3203 ac_cpp='$CPP $CPPFLAGS'
3204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3210 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3211 if ${ac_cv_path_GREP+:} false; then :
3212 $as_echo_n "(cached) " >&6
3214 if test -z "$GREP"; then
3215 ac_path_GREP_found=false
3216 # Loop through the user's path and test for each of PROGNAME-LIST
3217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3218 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3221 test -z "$as_dir" && as_dir=.
3222 for ac_prog in grep ggrep; do
3223 for ac_exec_ext in '' $ac_executable_extensions; do
3224 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3225 as_fn_executable_p "$ac_path_GREP" || continue
3226 # Check for GNU ac_path_GREP and select it if it is found.
3227 # Check for GNU $ac_path_GREP
3228 case `"$ac_path_GREP" --version 2>&1` in
3230 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3233 $as_echo_n 0123456789 >"conftest.in"
3236 cat "conftest.in" "conftest.in" >"conftest.tmp"
3237 mv "conftest.tmp" "conftest.in"
3238 cp "conftest.in" "conftest.nl"
3239 $as_echo 'GREP' >> "conftest.nl"
3240 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3241 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3242 as_fn_arith $ac_count + 1 && ac_count=$as_val
3243 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3244 # Best one so far, save it but keep looking for a better one
3245 ac_cv_path_GREP="$ac_path_GREP"
3246 ac_path_GREP_max=$ac_count
3248 # 10*(2^10) chars as input seems more than enough
3249 test $ac_count -gt 10 && break
3251 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3254 $ac_path_GREP_found && break 3
3259 if test -z "$ac_cv_path_GREP"; then
3260 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3263 ac_cv_path_GREP=$GREP
3267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3268 $as_echo "$ac_cv_path_GREP" >&6; }
3269 GREP="$ac_cv_path_GREP"
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3273 $as_echo_n "checking for egrep... " >&6; }
3274 if ${ac_cv_path_EGREP+:} false; then :
3275 $as_echo_n "(cached) " >&6
3277 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3278 then ac_cv_path_EGREP="$GREP -E"
3280 if test -z "$EGREP"; then
3281 ac_path_EGREP_found=false
3282 # Loop through the user's path and test for each of PROGNAME-LIST
3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3287 test -z "$as_dir" && as_dir=.
3288 for ac_prog in egrep; do
3289 for ac_exec_ext in '' $ac_executable_extensions; do
3290 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3291 as_fn_executable_p "$ac_path_EGREP" || continue
3292 # Check for GNU ac_path_EGREP and select it if it is found.
3293 # Check for GNU $ac_path_EGREP
3294 case `"$ac_path_EGREP" --version 2>&1` in
3296 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3299 $as_echo_n 0123456789 >"conftest.in"
3302 cat "conftest.in" "conftest.in" >"conftest.tmp"
3303 mv "conftest.tmp" "conftest.in"
3304 cp "conftest.in" "conftest.nl"
3305 $as_echo 'EGREP' >> "conftest.nl"
3306 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3307 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3308 as_fn_arith $ac_count + 1 && ac_count=$as_val
3309 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3310 # Best one so far, save it but keep looking for a better one
3311 ac_cv_path_EGREP="$ac_path_EGREP"
3312 ac_path_EGREP_max=$ac_count
3314 # 10*(2^10) chars as input seems more than enough
3315 test $ac_count -gt 10 && break
3317 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3320 $ac_path_EGREP_found && break 3
3325 if test -z "$ac_cv_path_EGREP"; then
3326 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3329 ac_cv_path_EGREP=$EGREP
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3335 $as_echo "$ac_cv_path_EGREP" >&6; }
3336 EGREP="$ac_cv_path_EGREP"
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3340 $as_echo_n "checking for ANSI C header files... " >&6; }
3341 if ${ac_cv_header_stdc+:} false; then :
3342 $as_echo_n "(cached) " >&6
3344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3345 /* end confdefs.h. */
3359 if ac_fn_c_try_compile "$LINENO"; then :
3360 ac_cv_header_stdc=yes
3362 ac_cv_header_stdc=no
3364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3366 if test $ac_cv_header_stdc = yes; then
3367 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3374 $EGREP "memchr" >/dev/null 2>&1; then :
3377 ac_cv_header_stdc=no
3383 if test $ac_cv_header_stdc = yes; then
3384 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3386 /* end confdefs.h. */
3390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3391 $EGREP "free" >/dev/null 2>&1; then :
3394 ac_cv_header_stdc=no
3400 if test $ac_cv_header_stdc = yes; then
3401 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3402 if test "$cross_compiling" = yes; then :
3405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406 /* end confdefs.h. */
3409 #if ((' ' & 0x0FF) == 0x020)
3410 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3411 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3413 # define ISLOWER(c) \
3414 (('a' <= (c) && (c) <= 'i') \
3415 || ('j' <= (c) && (c) <= 'r') \
3416 || ('s' <= (c) && (c) <= 'z'))
3417 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3420 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3425 for (i = 0; i < 256; i++)
3426 if (XOR (islower (i), ISLOWER (i))
3427 || toupper (i) != TOUPPER (i))
3432 if ac_fn_c_try_run "$LINENO"; then :
3435 ac_cv_header_stdc=no
3437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3438 conftest.$ac_objext conftest.beam conftest.$ac_ext
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3444 $as_echo "$ac_cv_header_stdc" >&6; }
3445 if test $ac_cv_header_stdc = yes; then
3447 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3451 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3452 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3453 inttypes.h stdint.h unistd.h
3455 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3456 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3458 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3459 cat >>confdefs.h <<_ACEOF
3460 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3469 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3470 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3477 if test "$MINIX" = yes; then
3479 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3482 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3485 $as_echo "#define _MINIX 1" >>confdefs.h
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3491 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3492 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3493 $as_echo_n "(cached) " >&6
3495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3496 /* end confdefs.h. */
3498 # define __EXTENSIONS__ 1
3499 $ac_includes_default
3508 if ac_fn_c_try_compile "$LINENO"; then :
3509 ac_cv_safe_to_define___extensions__=yes
3511 ac_cv_safe_to_define___extensions__=no
3513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3516 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3517 test $ac_cv_safe_to_define___extensions__ = yes &&
3518 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3520 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3522 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3524 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3526 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3531 $as_echo_n "checking whether ln -s works... " >&6; }
3533 if test "$LN_S" = "ln -s"; then
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3535 $as_echo "yes" >&6; }
3537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3538 $as_echo "no, using $LN_S" >&6; }
3544 # Extract the first word of "chmod", so it can be a program name with args.
3545 set dummy chmod; ac_word=$2
3546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3547 $as_echo_n "checking for $ac_word... " >&6; }
3548 if ${ac_cv_prog_CHMOD+:} false; then :
3549 $as_echo_n "(cached) " >&6
3551 if test -n "$CHMOD"; then
3552 ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
3554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3558 test -z "$as_dir" && as_dir=.
3559 for ac_exec_ext in '' $ac_executable_extensions; do
3560 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3561 ac_cv_prog_CHMOD="chmod"
3562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3571 CHMOD=$ac_cv_prog_CHMOD
3572 if test -n "$CHMOD"; then
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
3574 $as_echo "$CHMOD" >&6; }
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577 $as_echo "no" >&6; }
3581 # Extract the first word of "chown", so it can be a program name with args.
3582 set dummy chown; ac_word=$2
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3584 $as_echo_n "checking for $ac_word... " >&6; }
3585 if ${ac_cv_prog_CHOWN+:} false; then :
3586 $as_echo_n "(cached) " >&6
3588 if test -n "$CHOWN"; then
3589 ac_cv_prog_CHOWN="$CHOWN" # Let the user override the test.
3591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3595 test -z "$as_dir" && as_dir=.
3596 for ac_exec_ext in '' $ac_executable_extensions; do
3597 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3598 ac_cv_prog_CHOWN="chown"
3599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3608 CHOWN=$ac_cv_prog_CHOWN
3609 if test -n "$CHOWN"; then
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHOWN" >&5
3611 $as_echo "$CHOWN" >&6; }
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3614 $as_echo "no" >&6; }
3618 # Extract the first word of "ar", so it can be a program name with args.
3619 set dummy ar; ac_word=$2
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3621 $as_echo_n "checking for $ac_word... " >&6; }
3622 if ${ac_cv_prog_AR+:} false; then :
3623 $as_echo_n "(cached) " >&6
3625 if test -n "$AR"; then
3626 ac_cv_prog_AR="$AR" # Let the user override the test.
3628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3632 test -z "$as_dir" && as_dir=.
3633 for ac_exec_ext in '' $ac_executable_extensions; do
3634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3646 if test -n "$AR"; then
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3648 $as_echo "$AR" >&6; }
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3651 $as_echo "no" >&6; }
3655 # Extract the first word of "install", so it can be a program name with args.
3656 set dummy install; ac_word=$2
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3658 $as_echo_n "checking for $ac_word... " >&6; }
3659 if ${ac_cv_prog_INSTALL+:} false; then :
3660 $as_echo_n "(cached) " >&6
3662 if test -n "$INSTALL"; then
3663 ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
3665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3669 test -z "$as_dir" && as_dir=.
3670 for ac_exec_ext in '' $ac_executable_extensions; do
3671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3672 ac_cv_prog_INSTALL="install"
3673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3682 INSTALL=$ac_cv_prog_INSTALL
3683 if test -n "$INSTALL"; then
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3685 $as_echo "$INSTALL" >&6; }
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 $as_echo "no" >&6; }
3692 # Extract the first word of "msgfmt", so it can be a program name with args.
3693 set dummy msgfmt; ac_word=$2
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3695 $as_echo_n "checking for $ac_word... " >&6; }
3696 if ${ac_cv_prog_MSGFMT+:} false; then :
3697 $as_echo_n "(cached) " >&6
3699 if test -n "$MSGFMT"; then
3700 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
3702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3706 test -z "$as_dir" && as_dir=.
3707 for ac_exec_ext in '' $ac_executable_extensions; do
3708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3709 ac_cv_prog_MSGFMT="msgfmt"
3710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3719 MSGFMT=$ac_cv_prog_MSGFMT
3720 if test -n "$MSGFMT"; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3722 $as_echo "$MSGFMT" >&6; }
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725 $as_echo "no" >&6; }
3729 # Extract the first word of "xgettext", so it can be a program name with args.
3730 set dummy xgettext; ac_word=$2
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3732 $as_echo_n "checking for $ac_word... " >&6; }
3733 if ${ac_cv_prog_XGETTEXT+:} false; then :
3734 $as_echo_n "(cached) " >&6
3736 if test -n "$XGETTEXT"; then
3737 ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test.
3739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3743 test -z "$as_dir" && as_dir=.
3744 for ac_exec_ext in '' $ac_executable_extensions; do
3745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3746 ac_cv_prog_XGETTEXT="xgettext"
3747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3756 XGETTEXT=$ac_cv_prog_XGETTEXT
3757 if test -n "$XGETTEXT"; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3759 $as_echo "$XGETTEXT" >&6; }
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3762 $as_echo "no" >&6; }
3766 # Extract the first word of "msgmerge", so it can be a program name with args.
3767 set dummy msgmerge; ac_word=$2
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3769 $as_echo_n "checking for $ac_word... " >&6; }
3770 if ${ac_cv_prog_MSGMERGE+:} false; then :
3771 $as_echo_n "(cached) " >&6
3773 if test -n "$MSGMERGE"; then
3774 ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test.
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3783 ac_cv_prog_MSGMERGE="msgmerge"
3784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3793 MSGMERGE=$ac_cv_prog_MSGMERGE
3794 if test -n "$MSGMERGE"; then
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3796 $as_echo "$MSGMERGE" >&6; }
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3799 $as_echo "no" >&6; }
3803 # Extract the first word of "xmllint", so it can be a program name with args.
3804 set dummy xmllint; ac_word=$2
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3806 $as_echo_n "checking for $ac_word... " >&6; }
3807 if ${ac_cv_prog_VER_XML+:} false; then :
3808 $as_echo_n "(cached) " >&6
3810 if test -n "$VER_XML"; then
3811 ac_cv_prog_VER_XML="$VER_XML" # Let the user override the test.
3813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3817 test -z "$as_dir" && as_dir=.
3818 for ac_exec_ext in '' $ac_executable_extensions; do
3819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3820 ac_cv_prog_VER_XML="xmllint"
3821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 VER_XML=$ac_cv_prog_VER_XML
3831 if test -n "$VER_XML"; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VER_XML" >&5
3833 $as_echo "$VER_XML" >&6; }
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3836 $as_echo "no" >&6; }
3840 for ac_prog in json_verify json_pp
3842 # Extract the first word of "$ac_prog", so it can be a program name with args.
3843 set dummy $ac_prog; ac_word=$2
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3845 $as_echo_n "checking for $ac_word... " >&6; }
3846 if ${ac_cv_prog_VER_JSON+:} false; then :
3847 $as_echo_n "(cached) " >&6
3849 if test -n "$VER_JSON"; then
3850 ac_cv_prog_VER_JSON="$VER_JSON" # Let the user override the test.
3852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3856 test -z "$as_dir" && as_dir=.
3857 for ac_exec_ext in '' $ac_executable_extensions; do
3858 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3859 ac_cv_prog_VER_JSON="$ac_prog"
3860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3869 VER_JSON=$ac_cv_prog_VER_JSON
3870 if test -n "$VER_JSON"; then
3871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VER_JSON" >&5
3872 $as_echo "$VER_JSON" >&6; }
3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3875 $as_echo "no" >&6; }
3879 test -n "$VER_JSON" && break
3881 test -n "$VER_JSON" || VER_JSON="true"
3883 for ac_prog in xz bzip2 gzip
3885 # Extract the first word of "$ac_prog", so it can be a program name with args.
3886 set dummy $ac_prog; ac_word=$2
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3888 $as_echo_n "checking for $ac_word... " >&6; }
3889 if ${ac_cv_prog_ZIP+:} false; then :
3890 $as_echo_n "(cached) " >&6
3892 if test -n "$ZIP"; then
3893 ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
3895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3899 test -z "$as_dir" && as_dir=.
3900 for ac_exec_ext in '' $ac_executable_extensions; do
3901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3902 ac_cv_prog_ZIP="$ac_prog"
3903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3913 if test -n "$ZIP"; then
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
3915 $as_echo "$ZIP" >&6; }
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918 $as_echo "no" >&6; }
3922 test -n "$ZIP" && break
3924 test -n "$ZIP" || ZIP="gzip"
3926 INSTALL_DATA="\${INSTALL} -m 644"
3928 INSTALL_BIN="\${INSTALL} -m 755"
3934 # Extract the first word of "cp", so it can be a program name with args.
3935 set dummy cp; ac_word=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if ${ac_cv_path_PATH_CP+:} false; then :
3939 $as_echo_n "(cached) " >&6
3943 ac_cv_path_PATH_CP="$PATH_CP" # Let the user override the test with a path.
3946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3950 test -z "$as_dir" && as_dir=.
3951 for ac_exec_ext in '' $ac_executable_extensions; do
3952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3953 ac_cv_path_PATH_CP="$as_dir/$ac_word$ac_exec_ext"
3954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 PATH_CP=$ac_cv_path_PATH_CP
3965 if test -n "$PATH_CP"; then
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CP" >&5
3967 $as_echo "$PATH_CP" >&6; }
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3970 $as_echo "no" >&6; }
3974 # Extract the first word of "chkconfig", so it can be a program name with args.
3975 set dummy chkconfig; ac_word=$2
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if ${ac_cv_path_PATH_CHKCONFIG+:} false; then :
3979 $as_echo_n "(cached) " >&6
3981 case $PATH_CHKCONFIG in
3983 ac_cv_path_PATH_CHKCONFIG="$PATH_CHKCONFIG" # Let the user override the test with a path.
3986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3990 test -z "$as_dir" && as_dir=.
3991 for ac_exec_ext in '' $ac_executable_extensions; do
3992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3993 ac_cv_path_PATH_CHKCONFIG="$as_dir/$ac_word$ac_exec_ext"
3994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4004 PATH_CHKCONFIG=$ac_cv_path_PATH_CHKCONFIG
4005 if test -n "$PATH_CHKCONFIG"; then
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CHKCONFIG" >&5
4007 $as_echo "$PATH_CHKCONFIG" >&6; }
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4010 $as_echo "no" >&6; }
4016 # Extract the first word of "pkg-config", so it can be a program name with args.
4017 set dummy pkg-config; ac_word=$2
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4019 $as_echo_n "checking for $ac_word... " >&6; }
4020 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4021 $as_echo_n "(cached) " >&6
4023 if test -n "$PKG_CONFIG"; then
4024 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4030 test -z "$as_dir" && as_dir=.
4031 for ac_exec_ext in '' $ac_executable_extensions; do
4032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4033 ac_cv_prog_PKG_CONFIG="pkg-config"
4034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4043 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4044 if test -n "$PKG_CONFIG"; then
4045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4046 $as_echo "$PKG_CONFIG" >&6; }
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4049 $as_echo "no" >&6; }
4053 # Extract the first word of "systemctl", so it can be a program name with args.
4054 set dummy systemctl; ac_word=$2
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4056 $as_echo_n "checking for $ac_word... " >&6; }
4057 if ${ac_cv_path_SYSTEMCTL+:} false; then :
4058 $as_echo_n "(cached) " >&6
4062 ac_cv_path_SYSTEMCTL="$SYSTEMCTL" # Let the user override the test with a path.
4065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4069 test -z "$as_dir" && as_dir=.
4070 for ac_exec_ext in '' $ac_executable_extensions; do
4071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4072 ac_cv_path_SYSTEMCTL="$as_dir/$ac_word$ac_exec_ext"
4073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4083 SYSTEMCTL=$ac_cv_path_SYSTEMCTL
4084 if test -n "$SYSTEMCTL"; then
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSTEMCTL" >&5
4086 $as_echo "$SYSTEMCTL" >&6; }
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4089 $as_echo "no" >&6; }
4094 # Check whether --with-systemdsystemunitdir was given.
4095 if test "${with_systemdsystemunitdir+set}" = set; then :
4096 withval=$with_systemdsystemunitdir;
4098 with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
4101 if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ; then
4102 SYSTEMD_UNIT_DIR=$with_systemdsystemunitdir
4108 # Check header files
4110 echo Check header files:
4114 HAVE_SYS_SYSMACROS_H=
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4117 $as_echo_n "checking for ANSI C header files... " >&6; }
4118 if ${ac_cv_header_stdc+:} false; then :
4119 $as_echo_n "(cached) " >&6
4121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4122 /* end confdefs.h. */
4136 if ac_fn_c_try_compile "$LINENO"; then :
4137 ac_cv_header_stdc=yes
4139 ac_cv_header_stdc=no
4141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4143 if test $ac_cv_header_stdc = yes; then
4144 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4150 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4151 $EGREP "memchr" >/dev/null 2>&1; then :
4154 ac_cv_header_stdc=no
4160 if test $ac_cv_header_stdc = yes; then
4161 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4168 $EGREP "free" >/dev/null 2>&1; then :
4171 ac_cv_header_stdc=no
4177 if test $ac_cv_header_stdc = yes; then
4178 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4179 if test "$cross_compiling" = yes; then :
4182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4183 /* end confdefs.h. */
4186 #if ((' ' & 0x0FF) == 0x020)
4187 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4188 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4190 # define ISLOWER(c) \
4191 (('a' <= (c) && (c) <= 'i') \
4192 || ('j' <= (c) && (c) <= 'r') \
4193 || ('s' <= (c) && (c) <= 'z'))
4194 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4197 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4202 for (i = 0; i < 256; i++)
4203 if (XOR (islower (i), ISLOWER (i))
4204 || toupper (i) != TOUPPER (i))
4209 if ac_fn_c_try_run "$LINENO"; then :
4212 ac_cv_header_stdc=no
4214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4215 conftest.$ac_objext conftest.beam conftest.$ac_ext
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4221 $as_echo "$ac_cv_header_stdc" >&6; }
4222 if test $ac_cv_header_stdc = yes; then
4224 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4229 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4230 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4232 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4233 if eval \${$as_ac_Header+:} false; then :
4234 $as_echo_n "(cached) " >&6
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4238 #include <sys/types.h>
4250 if ac_fn_c_try_compile "$LINENO"; then :
4251 eval "$as_ac_Header=yes"
4253 eval "$as_ac_Header=no"
4255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4257 eval ac_res=\$$as_ac_Header
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4259 $as_echo "$ac_res" >&6; }
4260 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4261 cat >>confdefs.h <<_ACEOF
4262 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4265 ac_header_dirent=$ac_hdr; break
4269 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4270 if test $ac_header_dirent = dirent.h; then
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4272 $as_echo_n "checking for library containing opendir... " >&6; }
4273 if ${ac_cv_search_opendir+:} false; then :
4274 $as_echo_n "(cached) " >&6
4276 ac_func_search_save_LIBS=$LIBS
4277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4278 /* end confdefs.h. */
4280 /* Override any GCC internal prototype to avoid an error.
4281 Use char because int might match the return type of a GCC
4282 builtin and then its argument prototype would still apply. */
4295 for ac_lib in '' dir; do
4296 if test -z "$ac_lib"; then
4297 ac_res="none required"
4300 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4302 if ac_fn_c_try_link "$LINENO"; then :
4303 ac_cv_search_opendir=$ac_res
4305 rm -f core conftest.err conftest.$ac_objext \
4307 if ${ac_cv_search_opendir+:} false; then :
4311 if ${ac_cv_search_opendir+:} false; then :
4314 ac_cv_search_opendir=no
4317 LIBS=$ac_func_search_save_LIBS
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4320 $as_echo "$ac_cv_search_opendir" >&6; }
4321 ac_res=$ac_cv_search_opendir
4322 if test "$ac_res" != no; then :
4323 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4329 $as_echo_n "checking for library containing opendir... " >&6; }
4330 if ${ac_cv_search_opendir+:} false; then :
4331 $as_echo_n "(cached) " >&6
4333 ac_func_search_save_LIBS=$LIBS
4334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4335 /* end confdefs.h. */
4337 /* Override any GCC internal prototype to avoid an error.
4338 Use char because int might match the return type of a GCC
4339 builtin and then its argument prototype would still apply. */
4352 for ac_lib in '' x; do
4353 if test -z "$ac_lib"; then
4354 ac_res="none required"
4357 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4359 if ac_fn_c_try_link "$LINENO"; then :
4360 ac_cv_search_opendir=$ac_res
4362 rm -f core conftest.err conftest.$ac_objext \
4364 if ${ac_cv_search_opendir+:} false; then :
4368 if ${ac_cv_search_opendir+:} false; then :
4371 ac_cv_search_opendir=no
4374 LIBS=$ac_func_search_save_LIBS
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4377 $as_echo "$ac_cv_search_opendir" >&6; }
4378 ac_res=$ac_cv_search_opendir
4379 if test "$ac_res" != no; then :
4380 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4386 for ac_header in ctype.h
4388 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
4389 if test "x$ac_cv_header_ctype_h" = xyes; then :
4390 cat >>confdefs.h <<_ACEOF
4391 #define HAVE_CTYPE_H 1
4398 for ac_header in errno.h
4400 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
4401 if test "x$ac_cv_header_errno_h" = xyes; then :
4402 cat >>confdefs.h <<_ACEOF
4403 #define HAVE_ERRNO_H 1
4410 for ac_header in libintl.h
4412 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4413 if test "x$ac_cv_header_libintl_h" = xyes; then :
4414 cat >>confdefs.h <<_ACEOF
4415 #define HAVE_LIBINTL_H 1
4422 for ac_header in locale.h
4424 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4425 if test "x$ac_cv_header_locale_h" = xyes; then :
4426 cat >>confdefs.h <<_ACEOF
4427 #define HAVE_LOCALE_H 1
4434 for ac_header in linux/sched.h
4436 ac_fn_c_check_header_mongrel "$LINENO" "linux/sched.h" "ac_cv_header_linux_sched_h" "$ac_includes_default"
4437 if test "x$ac_cv_header_linux_sched_h" = xyes; then :
4438 cat >>confdefs.h <<_ACEOF
4439 #define HAVE_LINUX_SCHED_H 1
4441 HAVE_LINUX_SCHED_H=1
4446 for ac_header in net/if.h
4448 ac_fn_c_check_header_mongrel "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default"
4449 if test "x$ac_cv_header_net_if_h" = xyes; then :
4450 cat >>confdefs.h <<_ACEOF
4451 #define HAVE_NET_IF_H 1
4458 for ac_header in regex.h
4460 ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
4461 if test "x$ac_cv_header_regex_h" = xyes; then :
4462 cat >>confdefs.h <<_ACEOF
4463 #define HAVE_REGEX_H 1
4470 for ac_header in signal.h
4472 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
4473 if test "x$ac_cv_header_signal_h" = xyes; then :
4474 cat >>confdefs.h <<_ACEOF
4475 #define HAVE_SIGNAL_H 1
4482 for ac_header in stdio.h
4484 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
4485 if test "x$ac_cv_header_stdio_h" = xyes; then :
4486 cat >>confdefs.h <<_ACEOF
4487 #define HAVE_STDIO_H 1
4494 for ac_header in stdint.h
4496 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
4497 if test "x$ac_cv_header_stdint_h" = xyes; then :
4498 cat >>confdefs.h <<_ACEOF
4499 #define HAVE_STDINT_H 1
4506 for ac_header in fcntl.h
4508 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
4509 if test "x$ac_cv_header_fcntl_h" = xyes; then :
4510 cat >>confdefs.h <<_ACEOF
4511 #define HAVE_FCNTL_H 1
4518 for ac_header in inttypes.h
4520 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
4521 if test "x$ac_cv_header_inttypes_h" = xyes; then :
4522 cat >>confdefs.h <<_ACEOF
4523 #define HAVE_INTTYPES_H 1
4530 for ac_header in libgen.h
4532 ac_fn_c_check_header_mongrel "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default"
4533 if test "x$ac_cv_header_libgen_h" = xyes; then :
4534 cat >>confdefs.h <<_ACEOF
4535 #define HAVE_LIBGEN_H 1
4542 for ac_header in pwd.h
4544 ac_fn_c_check_header_mongrel "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
4545 if test "x$ac_cv_header_pwd_h" = xyes; then :
4546 cat >>confdefs.h <<_ACEOF
4547 #define HAVE_PWD_H 1
4554 for ac_header in time.h
4556 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
4557 if test "x$ac_cv_header_time_h" = xyes; then :
4558 cat >>confdefs.h <<_ACEOF
4559 #define HAVE_TIME_H 1
4566 for ac_header in unistd.h
4568 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
4569 if test "x$ac_cv_header_unistd_h" = xyes; then :
4570 cat >>confdefs.h <<_ACEOF
4571 #define HAVE_UNISTD_H 1
4578 for ac_header in pcp/pmapi.h
4580 ac_fn_c_check_header_mongrel "$LINENO" "pcp/pmapi.h" "ac_cv_header_pcp_pmapi_h" "$ac_includes_default"
4581 if test "x$ac_cv_header_pcp_pmapi_h" = xyes; then :
4582 cat >>confdefs.h <<_ACEOF
4583 #define HAVE_PCP_PMAPI_H 1
4590 for ac_header in pcp/impl.h
4592 ac_fn_c_check_header_mongrel "$LINENO" "pcp/impl.h" "ac_cv_header_pcp_impl_h" "$ac_includes_default"
4593 if test "x$ac_cv_header_pcp_impl_h" = xyes; then :
4594 cat >>confdefs.h <<_ACEOF
4595 #define HAVE_PCP_IMPL_H 1
4602 for ac_header in sys/time.h
4604 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
4605 if test "x$ac_cv_header_sys_time_h" = xyes; then :
4606 cat >>confdefs.h <<_ACEOF
4607 #define HAVE_SYS_TIME_H 1
4614 for ac_header in sys/statvfs.h
4616 ac_fn_c_check_header_mongrel "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
4617 if test "x$ac_cv_header_sys_statvfs_h" = xyes; then :
4618 cat >>confdefs.h <<_ACEOF
4619 #define HAVE_SYS_STATVFS_H 1
4626 for ac_header in sys/types.h
4628 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
4629 if test "x$ac_cv_header_sys_types_h" = xyes; then :
4630 cat >>confdefs.h <<_ACEOF
4631 #define HAVE_SYS_TYPES_H 1
4638 for ac_header in sys/file.h
4640 ac_fn_c_check_header_mongrel "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
4641 if test "x$ac_cv_header_sys_file_h" = xyes; then :
4642 cat >>confdefs.h <<_ACEOF
4643 #define HAVE_SYS_FILE_H 1
4650 for ac_header in sys/ioctl.h
4652 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
4653 if test "x$ac_cv_header_sys_ioctl_h" = xyes; then :
4654 cat >>confdefs.h <<_ACEOF
4655 #define HAVE_SYS_IOCTL_H 1
4662 for ac_header in sys/param.h
4664 ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
4665 if test "x$ac_cv_header_sys_param_h" = xyes; then :
4666 cat >>confdefs.h <<_ACEOF
4667 #define HAVE_SYS_PARAM_H 1
4674 for ac_header in sys/stat.h
4676 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
4677 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
4678 cat >>confdefs.h <<_ACEOF
4679 #define HAVE_SYS_STAT_H 1
4686 for ac_header in sys/sysmacros.h
4688 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
4689 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
4690 cat >>confdefs.h <<_ACEOF
4691 #define HAVE_SYS_SYSMACROS_H 1
4693 HAVE_SYS_SYSMACROS_H=1
4698 for ac_header in sys/utsname.h
4700 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
4701 if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
4702 cat >>confdefs.h <<_ACEOF
4703 #define HAVE_SYS_UTSNAME_H 1
4712 echo Check typedefs, structures and compiler characteristics:
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4715 $as_echo_n "checking return type of signal handlers... " >&6; }
4716 if ${ac_cv_type_signal+:} false; then :
4717 $as_echo_n "(cached) " >&6
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4721 #include <sys/types.h>
4727 return *(signal (0, 0)) (0) == 1;
4732 if ac_fn_c_try_compile "$LINENO"; then :
4733 ac_cv_type_signal=int
4735 ac_cv_type_signal=void
4737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4740 $as_echo "$ac_cv_type_signal" >&6; }
4742 cat >>confdefs.h <<_ACEOF
4743 #define RETSIGTYPE $ac_cv_type_signal
4747 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4748 if test "x$ac_cv_type_size_t" = xyes; then :
4752 cat >>confdefs.h <<_ACEOF
4753 #define size_t unsigned int
4758 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4759 if test "x$ac_cv_type_off_t" = xyes; then :
4763 cat >>confdefs.h <<_ACEOF
4764 #define off_t long int
4771 echo Check library functions:
4773 for ac_func in strchr
4775 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
4776 if test "x$ac_cv_func_strchr" = xyes; then :
4777 cat >>confdefs.h <<_ACEOF
4778 #define HAVE_STRCHR 1
4784 for ac_func in strcspn
4786 ac_fn_c_check_func "$LINENO" "strcspn" "ac_cv_func_strcspn"
4787 if test "x$ac_cv_func_strcspn" = xyes; then :
4788 cat >>confdefs.h <<_ACEOF
4789 #define HAVE_STRCSPN 1
4795 for ac_func in strspn
4797 ac_fn_c_check_func "$LINENO" "strspn" "ac_cv_func_strspn"
4798 if test "x$ac_cv_func_strspn" = xyes; then :
4799 cat >>confdefs.h <<_ACEOF
4800 #define HAVE_STRSPN 1
4806 for ac_func in strstr
4808 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
4809 if test "x$ac_cv_func_strstr" = xyes; then :
4810 cat >>confdefs.h <<_ACEOF
4811 #define HAVE_STRSTR 1
4818 # Should we check for lm_sensors?
4819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors support" >&5
4820 $as_echo_n "checking for sensors support... " >&6; }
4821 # Check whether --enable-sensors was given.
4822 if test "${enable_sensors+set}" = set; then :
4823 enableval=$enable_sensors; SENSORS=$enableval
4828 if test $SENSORS != "yes"; then
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4834 $as_echo "$SENSORS" >&6; }
4836 # Check for lm_sensors
4839 if test $HAVE_SENSORS = "y"; then
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_get_detected_chips in -lsensors" >&5
4842 $as_echo_n "checking for sensors_get_detected_chips in -lsensors... " >&6; }
4843 if ${ac_cv_lib_sensors_sensors_get_detected_chips+:} false; then :
4844 $as_echo_n "(cached) " >&6
4846 ac_check_lib_save_LIBS=$LIBS
4847 LIBS="-lsensors $LIBS"
4848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4849 /* end confdefs.h. */
4851 /* Override any GCC internal prototype to avoid an error.
4852 Use char because int might match the return type of a GCC
4853 builtin and then its argument prototype would still apply. */
4857 char sensors_get_detected_chips ();
4861 return sensors_get_detected_chips ();
4866 if ac_fn_c_try_link "$LINENO"; then :
4867 ac_cv_lib_sensors_sensors_get_detected_chips=yes
4869 ac_cv_lib_sensors_sensors_get_detected_chips=no
4871 rm -f core conftest.err conftest.$ac_objext \
4872 conftest$ac_exeext conftest.$ac_ext
4873 LIBS=$ac_check_lib_save_LIBS
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_get_detected_chips" >&5
4876 $as_echo "$ac_cv_lib_sensors_sensors_get_detected_chips" >&6; }
4877 if test "x$ac_cv_lib_sensors_sensors_get_detected_chips" = xyes; then :
4878 LFSENSORS="-lsensors"
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors lib" >&5
4884 $as_echo_n "checking for sensors lib... " >&6; }
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4887 #include <sensors/sensors.h>
4888 #include <sensors/error.h>
4898 if ac_fn_c_try_compile "$LINENO"; then :
4899 SENSORS=yes; DFSENSORS="-DHAVE_SENSORS"
4901 HAVE_SENSORS="n"; SENSORS=no
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4905 $as_echo "$SENSORS" >&6; }
4911 # Should we check for PCP support?
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCP support" >&5
4913 $as_echo_n "checking for PCP support... " >&6; }
4914 # Check whether --enable-pcp was given.
4915 if test "${enable_pcp+set}" = set; then :
4916 enableval=$enable_pcp; PCP=$enableval
4921 if test $PCP != "yes"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCP" >&5
4927 $as_echo "$PCP" >&6; }
4929 if test ! $HAVE_PCP_PMAPI_H; then
4933 # Check for PCP libraries
4936 if test $HAVE_PCP = "y"; then
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pmGetVersion in -lpcp" >&5
4939 $as_echo_n "checking for pmGetVersion in -lpcp... " >&6; }
4940 if ${ac_cv_lib_pcp_pmGetVersion+:} false; then :
4941 $as_echo_n "(cached) " >&6
4943 ac_check_lib_save_LIBS=$LIBS
4945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4946 /* end confdefs.h. */
4948 /* Override any GCC internal prototype to avoid an error.
4949 Use char because int might match the return type of a GCC
4950 builtin and then its argument prototype would still apply. */
4954 char pmGetVersion ();
4958 return pmGetVersion ();
4963 if ac_fn_c_try_link "$LINENO"; then :
4964 ac_cv_lib_pcp_pmGetVersion=yes
4966 ac_cv_lib_pcp_pmGetVersion=no
4968 rm -f core conftest.err conftest.$ac_objext \
4969 conftest$ac_exeext conftest.$ac_ext
4970 LIBS=$ac_check_lib_save_LIBS
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcp_pmGetVersion" >&5
4973 $as_echo "$ac_cv_lib_pcp_pmGetVersion" >&6; }
4974 if test "x$ac_cv_lib_pcp_pmGetVersion" = xyes; then :
4975 LFPCP="-lpcp -lpcp_import"
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCP libraries" >&5
4981 $as_echo_n "checking for PCP libraries... " >&6; }
4982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4983 /* end confdefs.h. */
4984 #include <pcp/pmapi.h>
4985 #include <pcp/import.h>
4995 if ac_fn_c_try_compile "$LINENO"; then :
4996 PCP=yes; DFPCP="-DHAVE_PCP"
4998 HAVE_PCP="n"; PCP=no
5000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCP" >&5
5002 $as_echo "$PCP" >&6; }
5008 if test $HAVE_PCP_IMPL_H; then
5016 echo Check system services:
5018 # Check whether --enable-largefile was given.
5019 if test "${enable_largefile+set}" = set; then :
5020 enableval=$enable_largefile;
5023 if test "$enable_largefile" != no; then
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5026 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5027 if ${ac_cv_sys_largefile_CC+:} false; then :
5028 $as_echo_n "(cached) " >&6
5030 ac_cv_sys_largefile_CC=no
5031 if test "$GCC" != yes; then
5034 # IRIX 6.2 and later do not support large files by default,
5035 # so use the C compiler's -n32 option if that helps.
5036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5037 /* end confdefs.h. */
5038 #include <sys/types.h>
5039 /* Check that off_t can represent 2**63 - 1 correctly.
5040 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5041 since some C++ compilers masquerading as C compilers
5042 incorrectly reject 9223372036854775807. */
5043 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5044 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5045 && LARGE_OFF_T % 2147483647 == 1)
5055 if ac_fn_c_try_compile "$LINENO"; then :
5058 rm -f core conftest.err conftest.$ac_objext
5060 if ac_fn_c_try_compile "$LINENO"; then :
5061 ac_cv_sys_largefile_CC=' -n32'; break
5063 rm -f core conftest.err conftest.$ac_objext
5067 rm -f conftest.$ac_ext
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5071 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5072 if test "$ac_cv_sys_largefile_CC" != no; then
5073 CC=$CC$ac_cv_sys_largefile_CC
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5077 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5078 if ${ac_cv_sys_file_offset_bits+:} false; then :
5079 $as_echo_n "(cached) " >&6
5082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5083 /* end confdefs.h. */
5084 #include <sys/types.h>
5085 /* Check that off_t can represent 2**63 - 1 correctly.
5086 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5087 since some C++ compilers masquerading as C compilers
5088 incorrectly reject 9223372036854775807. */
5089 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5090 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5091 && LARGE_OFF_T % 2147483647 == 1)
5101 if ac_fn_c_try_compile "$LINENO"; then :
5102 ac_cv_sys_file_offset_bits=no; break
5104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5106 /* end confdefs.h. */
5107 #define _FILE_OFFSET_BITS 64
5108 #include <sys/types.h>
5109 /* Check that off_t can represent 2**63 - 1 correctly.
5110 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5111 since some C++ compilers masquerading as C compilers
5112 incorrectly reject 9223372036854775807. */
5113 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5114 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5115 && LARGE_OFF_T % 2147483647 == 1)
5125 if ac_fn_c_try_compile "$LINENO"; then :
5126 ac_cv_sys_file_offset_bits=64; break
5128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5129 ac_cv_sys_file_offset_bits=unknown
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5134 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5135 case $ac_cv_sys_file_offset_bits in #(
5138 cat >>confdefs.h <<_ACEOF
5139 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5144 if test $ac_cv_sys_file_offset_bits = unknown; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5146 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5147 if ${ac_cv_sys_large_files+:} false; then :
5148 $as_echo_n "(cached) " >&6
5151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5152 /* end confdefs.h. */
5153 #include <sys/types.h>
5154 /* Check that off_t can represent 2**63 - 1 correctly.
5155 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5156 since some C++ compilers masquerading as C compilers
5157 incorrectly reject 9223372036854775807. */
5158 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5159 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5160 && LARGE_OFF_T % 2147483647 == 1)
5170 if ac_fn_c_try_compile "$LINENO"; then :
5171 ac_cv_sys_large_files=no; break
5173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5175 /* end confdefs.h. */
5176 #define _LARGE_FILES 1
5177 #include <sys/types.h>
5178 /* Check that off_t can represent 2**63 - 1 correctly.
5179 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5180 since some C++ compilers masquerading as C compilers
5181 incorrectly reject 9223372036854775807. */
5182 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5183 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5184 && LARGE_OFF_T % 2147483647 == 1)
5194 if ac_fn_c_try_compile "$LINENO"; then :
5195 ac_cv_sys_large_files=1; break
5197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5198 ac_cv_sys_large_files=unknown
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5203 $as_echo "$ac_cv_sys_large_files" >&6; }
5204 case $ac_cv_sys_large_files in #(
5207 cat >>confdefs.h <<_ACEOF
5208 #define _LARGE_FILES $ac_cv_sys_large_files
5220 echo Check configuration:
5222 # Check arguments used
5224 # Optional Features:
5225 # --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
5226 # --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
5227 # --disable-largefile omit support for large files
5228 # --disable-nls disable National Language Support
5229 # --disable-file-attr don't set attributes on files being installed
5230 # --enable-install-cron tell sysstat to install cron scripts
5231 # --collect-all tell sadc to collect all possible data
5232 # --enable-clean-sa-dir clean system activity directory
5233 # --enable-compress-manpg compress manual pages
5234 # --enable-debuginfo enable debug output (--debuginfo option)
5235 # --disable-documentation do not install documentation (man pages...)
5236 # --disable-sensors do not link against libsensors even if available
5237 # --disable-pcp do not link against PCP libraries even if available
5238 # --disable-stripping do not strip object files
5239 # --enable-copy-only only copy files when installing sysstat
5241 # Some influential environment variables:
5242 # rcdir directory where startup scripts are installed
5243 # sa_lib_dir sadc, sa1 and sa2 directory
5244 # sa_dir system activity daily datafiles directory
5245 # sar_dir sar binary location. Used only in sa2 shell script
5246 # conf_dir sysstat configuration directory (default is /etc/sysconfig)
5247 # conf_file sysstat configuration file (default is sysstat)
5248 # history number of daily datafiles to keep (default value is 7)
5249 # compressafter number of days after which datafiles are compressed
5250 # man_group group for man pages
5251 # cron_owner crontab owner
5252 # cron_interval crontab sampling interval
5253 # sadc_options options to be passed to sadc
5255 # Fine tuning the installation directories:
5256 # --mandir=DIR man documentation directory [PREFIX/man]
5257 # --docdir=DIR other documentation directory [PREFIX/share/doc]
5259 # Installation directories:
5260 # --prefix=PREFIX install architecture-independent files in PREFIX
5262 # --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
5266 if test -d /etc/init.d && test ! -L /etc/init.d; then
5267 if test -d /etc/init.d/rc2.d; then
5274 INIT_DIR=/etc/init.d
5275 elif test -d /sbin/init.d; then
5277 INIT_DIR=/sbin/init.d
5281 INIT_DIR=/etc/rc.d/init.d
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking run-commands directory" >&5
5286 $as_echo_n "checking run-commands directory... " >&6; }
5288 if test x$rcdir != x""; then
5289 # Override previous rc directories values
5291 INIT_DIR=$rcdir/init.d
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC_DIR" >&5
5295 $as_echo "$RC_DIR" >&6; }
5296 if test ! -d $RC_DIR; then
5297 echo "INFO: Directory ${RC_DIR} doesn't exist."
5298 echo "INFO: Startup scripts won't be installed."
5305 if test $HAVE_SYS_SYSMACROS_H; then
5312 if test $HAVE_LINUX_SCHED_H; then
5319 if test $HAVE_SYS_PARAM_H; then
5326 # Set sadc directory
5327 if test $prefix != "NONE"; then
5330 AuxPrefix=/usr/local
5333 SADC_DIR=$AuxPrefix/lib
5334 if test -d $AuxPrefix/lib64; then
5335 # Verify that this OS is really 64 bit
5336 BITS=$(getconf LONG_BIT 2>/dev/null)
5337 if test $? = 0; then
5338 if test $BITS = 64; then
5339 SADC_DIR=$AuxPrefix/lib64
5342 # Fallback: look for lm (long mode) flag to know if CPU is 64 bit
5343 grep " lm " /proc/cpuinfo >/dev/null 2>&1
5344 if test $? = 0; then
5345 SADC_DIR=$AuxPrefix/lib64
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sadc directory" >&5
5351 $as_echo_n "checking sadc directory... " >&6; }
5353 if test x$sa_lib_dir != x""; then
5354 SA_LIB_DIR=$sa_lib_dir
5356 SA_LIB_DIR=$SADC_DIR/sa
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_LIB_DIR" >&5
5359 $as_echo "$SA_LIB_DIR" >&6; }
5360 if test ! -d $SA_LIB_DIR; then
5361 echo "INFO: Directory ${SA_LIB_DIR} will be created during installation stage."
5365 # Set system activity directory
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system activity directory" >&5
5367 $as_echo_n "checking system activity directory... " >&6; }
5369 if test x$sa_dir != x""; then
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_DIR" >&5
5375 $as_echo "$SA_DIR" >&6; }
5376 if test ! -d $SA_DIR; then
5377 echo "INFO: Directory ${SA_DIR} will be created during installation stage."
5381 # sar binary location. Used only in sa2 shell script
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sar directory" >&5
5383 $as_echo_n "checking sar directory... " >&6; }
5385 if test x$sar_dir != x""; then
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SAR_DIR" >&5
5391 $as_echo "$SAR_DIR" >&6; }
5394 # Set configuration directory
5395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysstat configuration directory" >&5
5396 $as_echo_n "checking sysstat configuration directory... " >&6; }
5398 if test x$conf_dir != x""; then
5399 SYSCONFIG_DIR=$conf_dir
5401 SYSCONFIG_DIR=/etc/sysconfig
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFIG_DIR" >&5
5404 $as_echo "$SYSCONFIG_DIR" >&6; }
5405 if test ! -d $SYSCONFIG_DIR; then
5406 echo "INFO: Directory ${SYSCONFIG_DIR} will be created during installation stage."
5410 # Set configuration directory
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysstat configuration file" >&5
5412 $as_echo_n "checking sysstat configuration file... " >&6; }
5414 if test x$conf_file != x""; then
5415 SYSCONFIG_FILE=$conf_file
5417 SYSCONFIG_FILE=sysstat
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFIG_FILE" >&5
5420 $as_echo "$SYSCONFIG_FILE" >&6; }
5423 # National Language Support
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking National Language Support" >&5
5425 $as_echo_n "checking National Language Support... " >&6; }
5426 # Check whether --enable-nls was given.
5427 if test "${enable_nls+set}" = set; then :
5428 enableval=$enable_nls; AUX_NLS=$enableval
5433 if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_NLS" >&5
5441 $as_echo "$AUX_NLS" >&6; }
5443 if test $AUX_NLS = "yes" && test x$MSGFMT != x"msgfmt"; then
5444 echo "WARNING: msgfmt command not found!"
5447 if test $AUX_NLS = "yes" && test x$XGETTEXT != x"xgettext"; then
5448 echo "WARNING: xgettext command not found!"
5451 if test $AUX_NLS = "yes" && test x$MSGMERGE != x"msgmerge"; then
5452 echo "WARNING: msgmerge command not found!"
5455 if test $NLS = "y" && test $LACKING_GETTEXT = "y"; then
5456 echo "WARNING: Disabling NLS"
5461 # Data history to keep by sa2
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of daily data files to keep" >&5
5463 $as_echo_n "checking number of daily data files to keep... " >&6; }
5465 if test x$history = x""; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HISTORY" >&5
5471 $as_echo "$HISTORY" >&6; }
5474 # Number of days after which datafiles are compressed
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of days after which data files are compressed" >&5
5476 $as_echo_n "checking number of days after which data files are compressed... " >&6; }
5478 if test x$compressafter = x""; then
5481 COMPRESSAFTER=$compressafter
5483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESSAFTER" >&5
5484 $as_echo "$COMPRESSAFTER" >&6; }
5488 grep ^man: /etc/group >/dev/null 2>&1
5489 if test $? = 0; then
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group for manual pages" >&5
5496 $as_echo_n "checking group for manual pages... " >&6; }
5498 if test x$man_group = x""; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5501 $as_echo "$MAN_GROUP" >&6; }
5503 grep ^$man_group: /etc/group >/dev/null 2>&1
5504 if test $? = 1; then
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5507 $as_echo "$MAN_GROUP" >&6; }
5508 echo "WARNING: Group ${man_group} not found: Using ${GRP} instead"
5510 MAN_GROUP=$man_group
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5512 $as_echo "$MAN_GROUP" >&6; }
5517 # Don't set attributes on files being installed?
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether attributes should not be set on files being installed" >&5
5519 $as_echo_n "checking whether attributes should not be set on files being installed... " >&6; }
5520 # Check whether --enable-file-attr was given.
5521 if test "${enable_file_attr+set}" = set; then :
5522 enableval=$enable_file_attr; AUX_IMG=$enableval
5527 if test $AUX_IMG != "no"; then
5528 IGNORE_FILE_ATTRIBUTES=n
5531 IGNORE_FILE_ATTRIBUTES=y
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_IMG" >&5
5535 $as_echo "$AUX_IMG" >&6; }
5538 # Compress manual pages?
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether manual pages should be compressed" >&5
5540 $as_echo_n "checking whether manual pages should be compressed... " >&6; }
5541 # Check whether --enable-compress-manpg was given.
5542 if test "${enable_compress_manpg+set}" = set; then :
5543 enableval=$enable_compress_manpg; AUX_MPG=$enableval
5548 if test $AUX_MPG != "yes"; then
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_MPG" >&5
5555 $as_echo "$AUX_MPG" >&6; }
5558 # Check whether sa directory should be cleaned
5559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system activity directory should be cleaned" >&5
5560 $as_echo_n "checking whether system activity directory should be cleaned... " >&6; }
5561 # Check whether --enable-clean-sa-dir was given.
5562 if test "${enable_clean_sa_dir+set}" = set; then :
5563 enableval=$enable_clean_sa_dir; AUX_CSD=$enableval
5568 if test $AUX_CSD != "yes"; then
5574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CSD" >&5
5575 $as_echo "$AUX_CSD" >&6; }
5579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cron should start sar automatically" >&5
5580 $as_echo_n "checking whether cron should start sar automatically... " >&6; }
5581 # Check whether --enable-install-cron was given.
5582 if test "${enable_install_cron+set}" = set; then :
5583 enableval=$enable_install_cron; INSTALL_CRON=$enableval
5588 if test $INSTALL_CRON != "yes"; then
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CRON" >&5
5596 $as_echo "$AUX_CRON" >&6; }
5601 if test $INSTALL_CRON = "y"; then
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab owner" >&5
5603 $as_echo_n "checking crontab owner... " >&6; }
5605 if test x$cron_owner = x""; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5608 $as_echo "$CRON_OWNER" >&6; }
5610 grep ^$cron_owner: /etc/passwd >/dev/null 2>&1
5611 if test $? = 1; then
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5614 $as_echo "$CRON_OWNER" >&6; }
5615 echo "WARNING: User ${cron_owner} not found: Using ${CUSR} instead."
5617 CRON_OWNER=$cron_owner
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5619 $as_echo "$CRON_OWNER" >&6; }
5622 echo "INFO: Crontab for ${CRON_OWNER} will be saved in current directory if necessary"
5623 if test $CRON_OWNER = "root"; then
5626 REM_CHOWN="# REM_CHOWN"
5628 SU_C_OWNER="su $CRON_OWNER -c "
5630 # " (ignore this line)
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab interval" >&5
5636 $as_echo_n "checking crontab interval... " >&6; }
5638 if test x$cron_interval = x""; then
5641 CRON_INTERVAL=$cron_interval
5643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_INTERVAL" >&5
5644 $as_echo "$CRON_INTERVAL" >&6; }
5645 CRON_INTERVAL_SEC=`expr ${CRON_INTERVAL} \* 60`
5646 CRON_COUNT=`expr 60 / ${CRON_INTERVAL}`
5648 # Check whether sadc should collect all possible activities
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sadc should collect all possible activities" >&5
5650 $as_echo_n "checking whether sadc should collect all possible activities... " >&6; }
5651 # Check whether --enable-collect-all was given.
5652 if test "${enable_collect_all+set}" = set; then :
5653 enableval=$enable_collect_all; COLLECT_ALL=$enableval
5658 if test $COLLECT_ALL != "yes"; then
5662 COLLECT_ALL="-S XALL"
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_COLL" >&5
5666 $as_echo "$AUX_COLL" >&6; }
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking options to be passed to sadc" >&5
5669 $as_echo_n "checking options to be passed to sadc... " >&6; }
5671 if test x"$sadc_options" != x""; then
5672 SADC_OPT="$sadc_options"
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SADC_OPT" >&5
5677 $as_echo "$SADC_OPT" >&6; }
5680 # Check whether files should only be copied
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether files should only be copied" >&5
5682 $as_echo_n "checking whether files should only be copied... " >&6; }
5683 # Check whether --enable-copy-only was given.
5684 if test "${enable_copy_only+set}" = set; then :
5685 enableval=$enable_copy_only; OCOPY=$enableval
5690 if test $OCOPY != "yes"; then
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCOPY" >&5
5697 $as_echo "$OCOPY" >&6; }
5704 REM_CHOWN="# REM_CHOWN"
5706 CRON_INTERVAL_SEC=600
5719 # Check whether documentation should be installed
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether documentation should be installed" >&5
5721 $as_echo_n "checking whether documentation should be installed... " >&6; }
5722 # Check whether --enable-documentation was given.
5723 if test "${enable_documentation+set}" = set; then :
5724 enableval=$enable_documentation; AUX_DOC=$enableval
5729 if test $AUX_DOC != "no"; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_DOC" >&5
5737 $as_echo "$AUX_DOC" >&6; }
5740 # Set directory for installing manual pages (see comment in Makefile)
5743 # Check whether --debuginfo options should be allowed
5744 # Check whether --enable-debuginfo was given.
5745 if test "${enable_debuginfo+set}" = set; then :
5746 enableval=$enable_debuginfo; WITH_DEBUG=yes ; DFLAGS="$DFLAGS -DDEBUG"
5754 # Check whether object files should be stripped
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether object files should be stripped" >&5
5756 $as_echo_n "checking whether object files should be stripped... " >&6; }
5757 # Check whether --enable-stripping was given.
5758 if test "${enable_stripping+set}" = set; then :
5759 enableval=$enable_stripping; AUX_STRIP=$enableval
5764 if test $AUX_STRIP != "no"; then
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_STRIP" >&5
5772 $as_echo "$AUX_STRIP" >&6; }
5777 echo Now create files:
5779 ac_config_files="$ac_config_files sa1"
5780 # Permissions must be changed
5781 ac_config_files="$ac_config_files sa2"
5782 # Permissions must be changed
5783 ac_config_files="$ac_config_files cron/crontab:cron/crontab.sample"
5784 # File must be renamed
5785 ac_config_files="$ac_config_files sysstat.sysconfig"
5787 ac_config_files="$ac_config_files version.h:version.in"
5788 # File must be renamed
5789 ac_config_files="$ac_config_files sysconfig.h:sysconfig.in"
5790 # File must be renamed
5791 ac_config_files="$ac_config_files cron/sysstat.cron.daily"
5793 ac_config_files="$ac_config_files cron/sysstat.cron.hourly"
5795 ac_config_files="$ac_config_files cron/sysstat.crond"
5797 ac_config_files="$ac_config_files cron/sysstat.crond.sample.in:cron/sysstat.crond.in"
5799 ac_config_files="$ac_config_files sysstat"
5800 # Permissions must be changed
5801 ac_config_files="$ac_config_files sysstat.service"
5803 ac_config_files="$ac_config_files cron/sysstat-collect.service"
5805 ac_config_files="$ac_config_files cron/sysstat-collect.timer"
5807 ac_config_files="$ac_config_files cron/sysstat-summary.service"
5809 ac_config_files="$ac_config_files cron/sysstat-summary.timer"
5811 ac_config_files="$ac_config_files man/sa1.8:man/sa1.in"
5812 # File must be renamed
5813 ac_config_files="$ac_config_files man/sa2.8:man/sa2.in"
5814 # File must be renamed
5815 ac_config_files="$ac_config_files man/sadc.8:man/sadc.in"
5816 # File must be renamed
5817 ac_config_files="$ac_config_files man/sadf.1:man/sadf.in"
5818 # File must be renamed
5819 ac_config_files="$ac_config_files man/sar.1:man/sar.in"
5820 # File must be renamed
5821 ac_config_files="$ac_config_files man/sysstat.5:man/sysstat.in"
5822 # File must be renamed
5823 ac_config_files="$ac_config_files man/iostat.1:man/iostat.in"
5824 # File must be renamed
5825 ac_config_files="$ac_config_files man/cifsiostat.1:man/cifsiostat.in"
5826 # File must be renamed
5827 ac_config_files="$ac_config_files tests/variables"
5830 ac_config_files="$ac_config_files Makefile"
5832 cat >confcache <<\_ACEOF
5833 # This file is a shell script that caches the results of configure
5834 # tests run on this system so they can be shared between configure
5835 # scripts and configure runs, see configure's option --config-cache.
5836 # It is not useful on other systems. If it contains results you don't
5837 # want to keep, you may remove or edit it.
5839 # config.status only pays attention to the cache file if you give it
5840 # the --recheck option to rerun configure.
5842 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5843 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5848 # The following way of writing the cache mishandles newlines in values,
5849 # but we know of no workaround that is simple, portable, and efficient.
5850 # So, we kill variables containing newlines.
5851 # Ultrix sh set writes to stderr and can't be redirected directly,
5852 # and sets the high bit in the cache file unless we assign to the vars.
5854 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5855 eval ac_val=\$$ac_var
5859 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5860 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5863 _ | IFS | as_nl) ;; #(
5864 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5865 *) { eval $ac_var=; unset $ac_var;} ;;
5871 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5872 *${as_nl}ac_space=\ *)
5873 # `set' does not quote correctly, so add quotes: double-quote
5874 # substitution turns \\\\ into \\, and sed turns \\ into \.
5877 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5880 # `set' quotes correctly as required by POSIX, so do not add quotes.
5881 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5890 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5892 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5894 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5895 if test -w "$cache_file"; then
5896 if test "x$cache_file" != "x/dev/null"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5898 $as_echo "$as_me: updating cache $cache_file" >&6;}
5899 if test ! -f "$cache_file" || test -h "$cache_file"; then
5900 cat confcache >"$cache_file"
5902 case $cache_file in #(
5904 mv -f confcache "$cache_file"$$ &&
5905 mv -f "$cache_file"$$ "$cache_file" ;; #(
5907 mv -f confcache "$cache_file" ;;
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5913 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5918 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5919 # Let make expand exec_prefix.
5920 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5922 # Transform confdefs.h into DEFS.
5923 # Protect against shell expansion while executing Makefile rules.
5924 # Protect against Makefile macro expansion.
5926 # If the first sed substitution is executed (which looks for macros that
5927 # take arguments), then branch to the quote section. Otherwise,
5928 # look for a macro that doesn't take arguments.
5938 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5940 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5944 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5957 DEFS=`sed -n "$ac_script" confdefs.h`
5963 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5964 # 1. Remove the extension, and $U if already installed.
5965 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5966 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5967 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5968 # will be set to the directory where LIBOBJS objects are built.
5969 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5970 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5974 LTLIBOBJS=$ac_ltlibobjs
5978 : "${CONFIG_STATUS=./config.status}"
5980 ac_clean_files_save=$ac_clean_files
5981 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5983 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5985 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5987 # Generated by $as_me.
5988 # Run this file to recreate the current configuration.
5989 # Compiler output produced by configure, useful for debugging
5990 # configure, is in config.log if it exists.
5996 SHELL=\${CONFIG_SHELL-$SHELL}
5999 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6000 ## -------------------- ##
6001 ## M4sh Initialization. ##
6002 ## -------------------- ##
6004 # Be more Bourne compatible
6005 DUALCASE=1; export DUALCASE # for MKS sh
6006 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
6009 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6010 # is contrary to our usage. Disable this feature.
6011 alias -g '${1+"$@"}'='"$@"'
6012 setopt NO_GLOB_SUBST
6014 case `(set -o) 2>/dev/null` in #(
6026 # Printing a long string crashes Solaris 7 /usr/bin/printf.
6027 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6028 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
6029 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
6030 # Prefer a ksh shell builtin over an external printf program on Solaris,
6031 # but without wasting forks for bash or zsh.
6032 if test -z "$BASH_VERSION$ZSH_VERSION" \
6033 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
6034 as_echo='print -r --'
6035 as_echo_n='print -rn --'
6036 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
6037 as_echo='printf %s\n'
6038 as_echo_n='printf %s'
6040 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
6041 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
6042 as_echo_n='/usr/ucb/echo -n'
6044 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
6045 as_echo_n_body='eval
6049 expr "X$arg" : "X\\(.*\\)$as_nl";
6050 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
6052 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
6054 export as_echo_n_body
6055 as_echo_n='sh -c $as_echo_n_body as_echo'
6058 as_echo='sh -c $as_echo_body as_echo'
6061 # The user is always right.
6062 if test "${PATH_SEPARATOR+set}" != set; then
6064 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6065 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6072 # We need space, tab and new line, in precisely that order. Quoting is
6073 # there to prevent editors from complaining about space-tab.
6074 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
6075 # splitting by setting IFS to empty value.)
6078 # Find who we are. Look in the path if we contain no directory separator.
6081 *[\\/]* ) as_myself=$0 ;;
6082 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6086 test -z "$as_dir" && as_dir=.
6087 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6093 # We did not find ourselves, most probably we were run as `sh COMMAND'
6094 # in which case we are not to be found in the path.
6095 if test "x$as_myself" = x; then
6098 if test ! -f "$as_myself"; then
6099 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6103 # Unset variables that we do not need and which cause bugs (e.g. in
6104 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
6105 # suppresses any "Segmentation fault" message there. '((' could
6106 # trigger a bug in pdksh 5.2.14.
6107 for as_var in BASH_ENV ENV MAIL MAILPATH
6108 do eval test x\${$as_var+set} = xset \
6109 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6122 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
6125 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6126 # ----------------------------------------
6127 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6128 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6129 # script with STATUS, using 1 if that was 0.
6132 as_status=$1; test $as_status -eq 0 && as_status=1
6134 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6135 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6137 $as_echo "$as_me: error: $2" >&2
6138 as_fn_exit $as_status
6142 # as_fn_set_status STATUS
6143 # -----------------------
6144 # Set $? to STATUS, without forking.
6148 } # as_fn_set_status
6152 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6162 # Portably unset VAR.
6165 { eval $1=; unset $1;}
6167 as_unset=as_fn_unset
6168 # as_fn_append VAR VALUE
6169 # ----------------------
6170 # Append the text in VALUE to the end of the definition contained in VAR. Take
6171 # advantage of any shell optimizations that allow amortized linear growth over
6172 # repeated appends, instead of the typical quadratic growth present in naive
6174 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6175 eval 'as_fn_append ()
6186 # as_fn_arith ARG...
6187 # ------------------
6188 # Perform arithmetic evaluation on the ARGs, and store the result in the
6189 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6190 # must be portable across $(()) and expr.
6191 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6192 eval 'as_fn_arith ()
6199 as_val=`expr "$@" || test $? -eq 1`
6204 if expr a : '\(a\)' >/dev/null 2>&1 &&
6205 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6211 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6212 as_basename=basename
6217 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6223 as_me=`$as_basename -- "$0" ||
6224 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6225 X"$0" : 'X\(//\)$' \| \
6226 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6228 sed '/^.*\/\([^/][^/]*\)\/*$/{
6242 # Avoid depending upon Character Ranges.
6243 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6244 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6245 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6246 as_cr_digits='0123456789'
6247 as_cr_alnum=$as_cr_Letters$as_cr_digits
6249 ECHO_C= ECHO_N= ECHO_T=
6250 case `echo -n x` in #(((((
6252 case `echo 'xy\c'` in
6253 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6255 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6262 rm -f conf$$ conf$$.exe conf$$.file
6263 if test -d conf$$.dir; then
6264 rm -f conf$$.dir/conf$$.file
6267 mkdir conf$$.dir 2>/dev/null
6269 if (echo >conf$$.file) 2>/dev/null; then
6270 if ln -s conf$$.file conf$$ 2>/dev/null; then
6272 # ... but there are two gotchas:
6273 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6274 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6275 # In both cases, we have to default to `cp -pR'.
6276 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6278 elif ln conf$$.file conf$$ 2>/dev/null; then
6286 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6287 rmdir conf$$.dir 2>/dev/null
6292 # Create "$as_dir" as a directory, including parents if necessary.
6297 -*) as_dir=./$as_dir;;
6299 test -d "$as_dir" || eval $as_mkdir_p || {
6303 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6304 *) as_qdir=$as_dir;;
6306 as_dirs="'$as_qdir' $as_dirs"
6307 as_dir=`$as_dirname -- "$as_dir" ||
6308 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6309 X"$as_dir" : 'X\(//\)[^/]' \| \
6310 X"$as_dir" : 'X\(//\)$' \| \
6311 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6312 $as_echo X"$as_dir" |
6313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6330 test -d "$as_dir" && break
6332 test -z "$as_dirs" || eval "mkdir $as_dirs"
6333 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6337 if mkdir -p . 2>/dev/null; then
6338 as_mkdir_p='mkdir -p "$as_dir"'
6340 test -d ./-p && rmdir ./-p
6345 # as_fn_executable_p FILE
6346 # -----------------------
6347 # Test if FILE is an executable regular file.
6348 as_fn_executable_p ()
6350 test -f "$1" && test -x "$1"
6351 } # as_fn_executable_p
6353 as_executable_p=as_fn_executable_p
6355 # Sed expression to map a string onto a valid CPP name.
6356 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6358 # Sed expression to map a string onto a valid variable name.
6359 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6363 ## ----------------------------------- ##
6364 ## Main body of $CONFIG_STATUS script. ##
6365 ## ----------------------------------- ##
6367 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6370 # Save the log message, to keep $0 and so on meaningful, and to
6371 # report actual input values of CONFIG_FILES etc. instead of their
6372 # values after options handling.
6374 This file was extended by sysstat $as_me 12.2.0, which was
6375 generated by GNU Autoconf 2.69. Invocation command line was
6377 CONFIG_FILES = $CONFIG_FILES
6378 CONFIG_HEADERS = $CONFIG_HEADERS
6379 CONFIG_LINKS = $CONFIG_LINKS
6380 CONFIG_COMMANDS = $CONFIG_COMMANDS
6383 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6388 case $ac_config_files in *"
6389 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6395 # Files that config.status was made for.
6396 config_files="$ac_config_files"
6400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6402 \`$as_me' instantiates files and other configuration actions
6403 from templates according to the current configuration. Unless the files
6404 and actions are specified as TAGs, all are instantiated by default.
6406 Usage: $0 [OPTION]... [TAG]...
6408 -h, --help print this help, then exit
6409 -V, --version print version number and configuration settings, then exit
6410 --config print configuration, then exit
6411 -q, --quiet, --silent
6412 do not print progress messages
6413 -d, --debug don't remove temporary files
6414 --recheck update $as_me by reconfiguring in the same conditions
6415 --file=FILE[:TEMPLATE]
6416 instantiate the configuration file FILE
6418 Configuration files:
6421 Report bugs to the package provider."
6424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6425 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6427 sysstat config.status 12.2.0
6428 configured by $0, generated by GNU Autoconf 2.69,
6429 with options \\"\$ac_cs_config\\"
6431 Copyright (C) 2012 Free Software Foundation, Inc.
6432 This config.status script is free software; the Free Software Foundation
6433 gives unlimited permission to copy, distribute and modify it."
6437 test -n "\$AWK" || AWK=awk
6440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6441 # The default lists apply if the user does not specify any file.
6447 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6448 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6452 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6464 # Handling of the options.
6465 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6467 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6468 $as_echo "$ac_cs_version"; exit ;;
6469 --config | --confi | --conf | --con | --co | --c )
6470 $as_echo "$ac_cs_config"; exit ;;
6471 --debug | --debu | --deb | --de | --d | -d )
6473 --file | --fil | --fi | --f )
6476 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6477 '') as_fn_error $? "missing file argument" ;;
6479 as_fn_append CONFIG_FILES " '$ac_optarg'"
6480 ac_need_defaults=false;;
6481 --he | --h | --help | --hel | -h )
6482 $as_echo "$ac_cs_usage"; exit ;;
6483 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6484 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6488 -*) as_fn_error $? "unrecognized option: \`$1'
6489 Try \`$0 --help' for more information." ;;
6491 *) as_fn_append ac_config_targets " $1"
6492 ac_need_defaults=false ;;
6498 ac_configure_extra_args=
6500 if $ac_cs_silent; then
6502 ac_configure_extra_args="$ac_configure_extra_args --silent"
6506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6507 if \$ac_cs_recheck; then
6508 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6510 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6511 CONFIG_SHELL='$SHELL'
6517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6521 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6522 ## Running $as_me. ##
6528 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6531 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6533 # Handling of arguments.
6534 for ac_config_target in $ac_config_targets
6536 case $ac_config_target in
6537 "sa1") CONFIG_FILES="$CONFIG_FILES sa1" ;;
6538 "sa2") CONFIG_FILES="$CONFIG_FILES sa2" ;;
6539 "cron/crontab") CONFIG_FILES="$CONFIG_FILES cron/crontab:cron/crontab.sample" ;;
6540 "sysstat.sysconfig") CONFIG_FILES="$CONFIG_FILES sysstat.sysconfig" ;;
6541 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:version.in" ;;
6542 "sysconfig.h") CONFIG_FILES="$CONFIG_FILES sysconfig.h:sysconfig.in" ;;
6543 "cron/sysstat.cron.daily") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.daily" ;;
6544 "cron/sysstat.cron.hourly") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.hourly" ;;
6545 "cron/sysstat.crond") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond" ;;
6546 "cron/sysstat.crond.sample.in") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond.sample.in:cron/sysstat.crond.in" ;;
6547 "sysstat") CONFIG_FILES="$CONFIG_FILES sysstat" ;;
6548 "sysstat.service") CONFIG_FILES="$CONFIG_FILES sysstat.service" ;;
6549 "cron/sysstat-collect.service") CONFIG_FILES="$CONFIG_FILES cron/sysstat-collect.service" ;;
6550 "cron/sysstat-collect.timer") CONFIG_FILES="$CONFIG_FILES cron/sysstat-collect.timer" ;;
6551 "cron/sysstat-summary.service") CONFIG_FILES="$CONFIG_FILES cron/sysstat-summary.service" ;;
6552 "cron/sysstat-summary.timer") CONFIG_FILES="$CONFIG_FILES cron/sysstat-summary.timer" ;;
6553 "man/sa1.8") CONFIG_FILES="$CONFIG_FILES man/sa1.8:man/sa1.in" ;;
6554 "man/sa2.8") CONFIG_FILES="$CONFIG_FILES man/sa2.8:man/sa2.in" ;;
6555 "man/sadc.8") CONFIG_FILES="$CONFIG_FILES man/sadc.8:man/sadc.in" ;;
6556 "man/sadf.1") CONFIG_FILES="$CONFIG_FILES man/sadf.1:man/sadf.in" ;;
6557 "man/sar.1") CONFIG_FILES="$CONFIG_FILES man/sar.1:man/sar.in" ;;
6558 "man/sysstat.5") CONFIG_FILES="$CONFIG_FILES man/sysstat.5:man/sysstat.in" ;;
6559 "man/iostat.1") CONFIG_FILES="$CONFIG_FILES man/iostat.1:man/iostat.in" ;;
6560 "man/cifsiostat.1") CONFIG_FILES="$CONFIG_FILES man/cifsiostat.1:man/cifsiostat.in" ;;
6561 "tests/variables") CONFIG_FILES="$CONFIG_FILES tests/variables" ;;
6562 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6564 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6569 # If the user did not use the arguments to specify the items to instantiate,
6570 # then the envvar interface is used. Set only those that are not.
6571 # We use the long form for the default assignment because of an extremely
6572 # bizarre bug on SunOS 4.1.3.
6573 if $ac_need_defaults; then
6574 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6577 # Have a temporary directory for convenience. Make it in the build tree
6578 # simply because there is no reason against having it here, and in addition,
6579 # creating and moving files from /tmp can sometimes cause problems.
6580 # Hook for its removal unless debugging.
6581 # Note that there is a small window in which the directory will not be cleaned:
6582 # after its creation but before its name has been assigned to `$tmp'.
6586 trap 'exit_status=$?
6588 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6590 trap 'as_fn_exit 1' 1 2 13 15
6592 # Create a (secure) tmp directory for tmp files.
6595 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6599 tmp=./conf$$-$RANDOM
6600 (umask 077 && mkdir "$tmp")
6601 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6604 # Set up the scripts for CONFIG_FILES section.
6605 # No need to generate them if there are no CONFIG_FILES.
6606 # This happens for instance with `./config.status config.h'.
6607 if test -n "$CONFIG_FILES"; then
6610 ac_cr=`echo X | tr X '\015'`
6611 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6612 # But we know of no other shell where ac_cr would be empty at this
6613 # point, so we can use a bashism as a fallback.
6614 if test "x$ac_cr" = x; then
6615 eval ac_cr=\$\'\\r\'
6617 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6618 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6624 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6629 echo "cat >conf$$subs.awk <<_ACEOF" &&
6630 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6633 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6634 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6636 for ac_last_try in false false false false false :; do
6637 . ./conf$$subs.sh ||
6638 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6640 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6641 if test $ac_delim_n = $ac_delim_num; then
6643 elif $ac_last_try; then
6644 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6646 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6651 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6652 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6656 s/^/S["/; s/!.*/"]=/
6666 s/\(.\{148\}\)..*/\1/
6668 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6673 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6680 s/\(.\{148\}\)..*/\1/
6682 s/["\\]/\\&/g; s/^/"/; s/$/"/
6686 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6691 ' <conf$$subs.awk | sed '
6696 ' >>$CONFIG_STATUS || ac_write_fail=1
6697 rm -f conf$$subs.awk
6698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6700 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6701 for (key in S) S_is_set[key] = 1
6707 nfields = split(line, field, "@")
6709 len = length(field[1])
6710 for (i = 2; i < nfields; i++) {
6712 keylen = length(key)
6713 if (S_is_set[key]) {
6715 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6716 len += length(value) + length(field[++i])
6727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6728 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6729 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6732 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6733 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6736 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6737 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6738 # trailing colons and then remove the whole line if VPATH becomes empty
6739 # (actually we leave an empty line to preserve line numbers).
6740 if test "x$srcdir" = x.; then
6741 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6759 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6760 fi # test -n "$CONFIG_FILES"
6763 eval set X " :F $CONFIG_FILES "
6768 :[FHLC]) ac_mode=$ac_tag; continue;;
6770 case $ac_mode$ac_tag in
6772 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6773 :[FH]-) ac_tag=-:-;;
6774 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6791 -) ac_f="$ac_tmp/stdin";;
6792 *) # Look for the file first in the build tree, then in the source tree
6793 # (if the path is not absolute). The absolute path cannot be DOS-style,
6794 # because $ac_f cannot contain `:'.
6798 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6800 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6802 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6803 as_fn_append ac_file_inputs " '$ac_f'"
6806 # Let's still pretend it is `configure' which instantiates (i.e., don't
6807 # use $as_me), people would be surprised to read:
6808 # /* config.h. Generated by config.status. */
6809 configure_input='Generated from '`
6810 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6812 if test x"$ac_file" != x-; then
6813 configure_input="$ac_file. $configure_input"
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6815 $as_echo "$as_me: creating $ac_file" >&6;}
6817 # Neutralize special characters interpreted by sed in replacement strings.
6818 case $configure_input in #(
6819 *\&* | *\|* | *\\* )
6820 ac_sed_conf_input=`$as_echo "$configure_input" |
6821 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6822 *) ac_sed_conf_input=$configure_input;;
6826 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6827 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6832 ac_dir=`$as_dirname -- "$ac_file" ||
6833 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6834 X"$ac_file" : 'X\(//\)[^/]' \| \
6835 X"$ac_file" : 'X\(//\)$' \| \
6836 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6837 $as_echo X"$ac_file" |
6838 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6855 as_dir="$ac_dir"; as_fn_mkdir_p
6859 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6861 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6862 # A ".." for each directory in $ac_dir_suffix.
6863 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6864 case $ac_top_builddir_sub in
6865 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6866 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6869 ac_abs_top_builddir=$ac_pwd
6870 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6871 # for backward compatibility:
6872 ac_top_builddir=$ac_top_build_prefix
6875 .) # We are building in place.
6877 ac_top_srcdir=$ac_top_builddir_sub
6878 ac_abs_top_srcdir=$ac_pwd ;;
6879 [\\/]* | ?:[\\/]* ) # Absolute name.
6880 ac_srcdir=$srcdir$ac_dir_suffix;
6881 ac_top_srcdir=$srcdir
6882 ac_abs_top_srcdir=$srcdir ;;
6884 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6885 ac_top_srcdir=$ac_top_build_prefix$srcdir
6886 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6888 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6899 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6900 # If the template does not know about datarootdir, expand it.
6901 # FIXME: This hack should be removed a few years after 2.60.
6902 ac_datarootdir_hack=; ac_datarootdir_seen=
6913 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6914 *datarootdir*) ac_datarootdir_seen=yes;;
6915 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6917 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6919 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6920 ac_datarootdir_hack='
6921 s&@datadir@&$datadir&g
6922 s&@docdir@&$docdir&g
6923 s&@infodir@&$infodir&g
6924 s&@localedir@&$localedir&g
6925 s&@mandir@&$mandir&g
6926 s&\\\${datarootdir}&$datarootdir&g' ;;
6930 # Neutralize VPATH when `$srcdir' = `.'.
6931 # Shell code in configure.ac might set extrasub.
6932 # FIXME: do we really want to maintain this feature?
6933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6934 ac_sed_extra="$ac_vpsub
6937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6939 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6940 s|@configure_input@|$ac_sed_conf_input|;t t
6941 s&@top_builddir@&$ac_top_builddir_sub&;t t
6942 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6943 s&@srcdir@&$ac_srcdir&;t t
6944 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6945 s&@top_srcdir@&$ac_top_srcdir&;t t
6946 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6947 s&@builddir@&$ac_builddir&;t t
6948 s&@abs_builddir@&$ac_abs_builddir&;t t
6949 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6950 $ac_datarootdir_hack
6952 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6953 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6955 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6956 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6957 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6958 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6960 which seems to be undefined. Please make sure it is defined" >&5
6961 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6962 which seems to be undefined. Please make sure it is defined" >&2;}
6964 rm -f "$ac_tmp/stdin"
6966 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6967 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6969 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6977 case $ac_file$ac_mode in
6978 "sa1":F) chmod +x sa1 ;;
6979 "sa2":F) chmod +x sa2 ;;
6980 "cron/sysstat.crond.sample.in":F) sed s/^/#/ cron/sysstat.crond.sample.in > cron/sysstat.crond.sample ;;
6981 "sysstat":F) chmod +x sysstat ;;
6989 ac_clean_files=$ac_clean_files_save
6991 test $ac_write_fail = 0 ||
6992 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6995 # configure is writing to config.log, and then calls config.status.
6996 # config.status does its own redirection, appending to config.log.
6997 # Unfortunately, on DOS this fails, as config.log is still kept open
6998 # by configure, so config.status won't be able to write to it; its
6999 # output is simply discarded. So we exec the FD to /dev/null,
7000 # effectively closing config.log, so it can be properly (re)opened and
7001 # appended to by config.status. When coming back to configure, we
7002 # need to make the FD available again.
7003 if test "$no_create" != yes; then
7005 ac_config_status_args=
7006 test "$silent" = yes &&
7007 ac_config_status_args="$ac_config_status_args --quiet"
7009 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7011 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7012 # would make configure fail if this is the last instruction.
7013 $ac_cs_success || as_fn_exit 1
7015 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7017 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7022 Sysstat version: $PACKAGE_VERSION
7023 Installation prefix: $prefix
7024 rc directory: ${RC_DIR}
7025 Init directory: ${INIT_DIR}
7026 Systemd unit dir: ${with_systemdsystemunitdir}
7027 Configuration file: ${SYSCONFIG_DIR}/${SYSCONFIG_FILE}
7028 Man pages directory: $mandir
7030 Compiler flags: $CFLAGS