2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sysstat 12.5.2.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
578 PACKAGE_NAME='sysstat'
579 PACKAGE_TARNAME='sysstat'
580 PACKAGE_VERSION='12.5.2'
581 PACKAGE_STRING='sysstat 12.5.2'
585 ac_unique_file="ioconf.h"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars='LTLIBOBJS
645 IGNORE_FILE_ATTRIBUTES
736 program_transform_name
749 enable_option_checking
750 with_systemdsystemunitdir
757 enable_compress_manpg
767 ac_precious_vars='build_alias
791 # Initialize some variables set by options.
793 ac_init_version=false
794 ac_unrecognized_opts=
796 # The variables have the same names as the options, with
797 # dashes changed to underlines.
805 program_transform_name=s,x,x,
813 # Installation directory options.
814 # These are left unexpanded so users can "make install exec_prefix=/foo"
815 # and all the variables that are supposed to be based on exec_prefix
816 # by default will actually change.
817 # Use braces instead of parens because sh, perl, etc. also accept them.
818 # (The list follows the same order as the GNU Coding Standards.)
819 bindir='${exec_prefix}/bin'
820 sbindir='${exec_prefix}/sbin'
821 libexecdir='${exec_prefix}/libexec'
822 datarootdir='${prefix}/share'
823 datadir='${datarootdir}'
824 sysconfdir='${prefix}/etc'
825 sharedstatedir='${prefix}/com'
826 localstatedir='${prefix}/var'
827 includedir='${prefix}/include'
828 oldincludedir='/usr/include'
829 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
830 infodir='${datarootdir}/info'
835 libdir='${exec_prefix}/lib'
836 localedir='${datarootdir}/locale'
837 mandir='${datarootdir}/man'
843 # If the previous option needs an argument, assign it.
844 if test -n "$ac_prev"; then
845 eval $ac_prev=\$ac_option
851 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
856 # Accept the important Cygnus configure options, so we can diagnose typos.
858 case $ac_dashdash$ac_option in
862 -bindir | --bindir | --bindi | --bind | --bin | --bi)
864 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
867 -build | --build | --buil | --bui | --bu)
868 ac_prev=build_alias ;;
869 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
870 build_alias=$ac_optarg ;;
872 -cache-file | --cache-file | --cache-fil | --cache-fi \
873 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
874 ac_prev=cache_file ;;
875 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
876 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
877 cache_file=$ac_optarg ;;
880 cache_file=config.cache ;;
882 -datadir | --datadir | --datadi | --datad)
884 -datadir=* | --datadir=* | --datadi=* | --datad=*)
885 datadir=$ac_optarg ;;
887 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
888 | --dataroo | --dataro | --datar)
889 ac_prev=datarootdir ;;
890 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
891 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
892 datarootdir=$ac_optarg ;;
894 -disable-* | --disable-*)
895 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
896 # Reject names that are not valid shell variable names.
897 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
898 as_fn_error $? "invalid feature name: $ac_useropt"
899 ac_useropt_orig=$ac_useropt
900 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
901 case $ac_user_opts in
905 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
906 ac_unrecognized_sep=', ';;
908 eval enable_$ac_useropt=no ;;
910 -docdir | --docdir | --docdi | --doc | --do)
912 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
915 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
917 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
920 -enable-* | --enable-*)
921 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
922 # Reject names that are not valid shell variable names.
923 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
924 as_fn_error $? "invalid feature name: $ac_useropt"
925 ac_useropt_orig=$ac_useropt
926 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
927 case $ac_user_opts in
931 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
932 ac_unrecognized_sep=', ';;
934 eval enable_$ac_useropt=\$ac_optarg ;;
936 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
937 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
938 | --exec | --exe | --ex)
939 ac_prev=exec_prefix ;;
940 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
941 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
942 | --exec=* | --exe=* | --ex=*)
943 exec_prefix=$ac_optarg ;;
945 -gas | --gas | --ga | --g)
946 # Obsolete; use --with-gas.
949 -help | --help | --hel | --he | -h)
951 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
952 ac_init_help=recursive ;;
953 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
954 ac_init_help=short ;;
956 -host | --host | --hos | --ho)
957 ac_prev=host_alias ;;
958 -host=* | --host=* | --hos=* | --ho=*)
959 host_alias=$ac_optarg ;;
961 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
963 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
965 htmldir=$ac_optarg ;;
967 -includedir | --includedir | --includedi | --included | --include \
968 | --includ | --inclu | --incl | --inc)
969 ac_prev=includedir ;;
970 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
971 | --includ=* | --inclu=* | --incl=* | --inc=*)
972 includedir=$ac_optarg ;;
974 -infodir | --infodir | --infodi | --infod | --info | --inf)
976 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
977 infodir=$ac_optarg ;;
979 -libdir | --libdir | --libdi | --libd)
981 -libdir=* | --libdir=* | --libdi=* | --libd=*)
984 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
985 | --libexe | --libex | --libe)
986 ac_prev=libexecdir ;;
987 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
988 | --libexe=* | --libex=* | --libe=*)
989 libexecdir=$ac_optarg ;;
991 -localedir | --localedir | --localedi | --localed | --locale)
993 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
994 localedir=$ac_optarg ;;
996 -localstatedir | --localstatedir | --localstatedi | --localstated \
997 | --localstate | --localstat | --localsta | --localst | --locals)
998 ac_prev=localstatedir ;;
999 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1000 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1001 localstatedir=$ac_optarg ;;
1003 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1005 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1006 mandir=$ac_optarg ;;
1008 -nfp | --nfp | --nf)
1009 # Obsolete; use --without-fp.
1012 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1013 | --no-cr | --no-c | -n)
1016 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1017 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1020 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1021 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1022 | --oldin | --oldi | --old | --ol | --o)
1023 ac_prev=oldincludedir ;;
1024 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1025 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1026 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1027 oldincludedir=$ac_optarg ;;
1029 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1031 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1032 prefix=$ac_optarg ;;
1034 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1035 | --program-pre | --program-pr | --program-p)
1036 ac_prev=program_prefix ;;
1037 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1038 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1039 program_prefix=$ac_optarg ;;
1041 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1042 | --program-suf | --program-su | --program-s)
1043 ac_prev=program_suffix ;;
1044 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1045 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1046 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
1056 -program-transform-name=* | --program-transform-name=* \
1057 | --program-transform-nam=* | --program-transform-na=* \
1058 | --program-transform-n=* | --program-transform-=* \
1059 | --program-transform=* | --program-transfor=* \
1060 | --program-transfo=* | --program-transf=* \
1061 | --program-trans=* | --program-tran=* \
1062 | --progr-tra=* | --program-tr=* | --program-t=*)
1063 program_transform_name=$ac_optarg ;;
1065 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1067 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1068 pdfdir=$ac_optarg ;;
1070 -psdir | --psdir | --psdi | --psd | --ps)
1072 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1075 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1076 | -silent | --silent | --silen | --sile | --sil)
1079 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1081 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1083 sbindir=$ac_optarg ;;
1085 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1086 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1087 | --sharedst | --shareds | --shared | --share | --shar \
1089 ac_prev=sharedstatedir ;;
1090 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1091 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1092 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1094 sharedstatedir=$ac_optarg ;;
1096 -site | --site | --sit)
1098 -site=* | --site=* | --sit=*)
1101 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1103 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1104 srcdir=$ac_optarg ;;
1106 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1107 | --syscon | --sysco | --sysc | --sys | --sy)
1108 ac_prev=sysconfdir ;;
1109 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1110 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1111 sysconfdir=$ac_optarg ;;
1113 -target | --target | --targe | --targ | --tar | --ta | --t)
1114 ac_prev=target_alias ;;
1115 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1116 target_alias=$ac_optarg ;;
1118 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1121 -version | --version | --versio | --versi | --vers | -V)
1122 ac_init_version=: ;;
1125 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1126 # Reject names that are not valid shell variable names.
1127 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1128 as_fn_error $? "invalid package name: $ac_useropt"
1129 ac_useropt_orig=$ac_useropt
1130 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1131 case $ac_user_opts in
1135 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1136 ac_unrecognized_sep=', ';;
1138 eval with_$ac_useropt=\$ac_optarg ;;
1140 -without-* | --without-*)
1141 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1142 # Reject names that are not valid shell variable names.
1143 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1144 as_fn_error $? "invalid package name: $ac_useropt"
1145 ac_useropt_orig=$ac_useropt
1146 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1147 case $ac_user_opts in
1151 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1152 ac_unrecognized_sep=', ';;
1154 eval with_$ac_useropt=no ;;
1157 # Obsolete; use --with-x.
1160 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1161 | --x-incl | --x-inc | --x-in | --x-i)
1162 ac_prev=x_includes ;;
1163 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1164 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1165 x_includes=$ac_optarg ;;
1167 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1168 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1169 ac_prev=x_libraries ;;
1170 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1171 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1172 x_libraries=$ac_optarg ;;
1174 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1175 Try \`$0 --help' for more information"
1179 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1180 # Reject names that are not valid shell variable names.
1181 case $ac_envvar in #(
1182 '' | [0-9]* | *[!_$as_cr_alnum]* )
1183 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1185 eval $ac_envvar=\$ac_optarg
1186 export $ac_envvar ;;
1189 # FIXME: should be removed in autoconf 3.0.
1190 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1191 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1192 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1193 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1199 if test -n "$ac_prev"; then
1200 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1201 as_fn_error $? "missing argument to $ac_option"
1204 if test -n "$ac_unrecognized_opts"; then
1205 case $enable_option_checking in
1207 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1208 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1212 # Check all directory arguments for consistency.
1213 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1214 datadir sysconfdir sharedstatedir localstatedir includedir \
1215 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1216 libdir localedir mandir
1218 eval ac_val=\$$ac_var
1219 # Remove trailing slashes.
1222 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1223 eval $ac_var=\$ac_val;;
1225 # Be sure to have absolute directory names.
1227 [\\/$]* | ?:[\\/]* ) continue;;
1228 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1230 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1233 # There might be people who depend on the old broken behavior: `$host'
1234 # used to hold the argument of --host etc.
1235 # FIXME: To remove some day.
1238 target=$target_alias
1240 # FIXME: To remove some day.
1241 if test "x$host_alias" != x; then
1242 if test "x$build_alias" = x; then
1243 cross_compiling=maybe
1244 elif test "x$build_alias" != "x$host_alias"; then
1250 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1252 test "$silent" = yes && exec 6>/dev/null
1255 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1256 ac_ls_di=`ls -di .` &&
1257 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1258 as_fn_error $? "working directory cannot be determined"
1259 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1260 as_fn_error $? "pwd does not report name of working directory"
1263 # Find the source files, if location was not specified.
1264 if test -z "$srcdir"; then
1265 ac_srcdir_defaulted=yes
1266 # Try the directory containing this script, then the parent directory.
1267 ac_confdir=`$as_dirname -- "$as_myself" ||
1268 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1269 X"$as_myself" : 'X\(//\)[^/]' \| \
1270 X"$as_myself" : 'X\(//\)$' \| \
1271 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1272 $as_echo X"$as_myself" |
1273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1291 if test ! -r "$srcdir/$ac_unique_file"; then
1295 ac_srcdir_defaulted=no
1297 if test ! -r "$srcdir/$ac_unique_file"; then
1298 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1299 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1301 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1303 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1305 # When building in place, set srcdir=.
1306 if test "$ac_abs_confdir" = "$ac_pwd"; then
1309 # Remove unnecessary trailing slashes from srcdir.
1310 # Double slashes in file names in object file debugging info
1311 # mess up M-x gdb in Emacs.
1313 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1315 for ac_var in $ac_precious_vars; do
1316 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1317 eval ac_env_${ac_var}_value=\$${ac_var}
1318 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1319 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1323 # Report the --help message.
1325 if test "$ac_init_help" = "long"; then
1326 # Omit some internal or obsolete options to make the list less imposing.
1327 # This message is too long to be a string in the A/UX 3.1 sh.
1329 \`configure' configures sysstat 12.5.2 to adapt to many kinds of systems.
1331 Usage: $0 [OPTION]... [VAR=VALUE]...
1333 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1334 VAR=VALUE. See below for descriptions of some of the useful variables.
1336 Defaults for the options are specified in brackets.
1339 -h, --help display this help and exit
1340 --help=short display options specific to this package
1341 --help=recursive display the short help of all the included packages
1342 -V, --version display version information and exit
1343 -q, --quiet, --silent do not print \`checking ...' messages
1344 --cache-file=FILE cache test results in FILE [disabled]
1345 -C, --config-cache alias for \`--cache-file=config.cache'
1346 -n, --no-create do not create output files
1347 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1349 Installation directories:
1350 --prefix=PREFIX install architecture-independent files in PREFIX
1351 [$ac_default_prefix]
1352 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1355 By default, \`make install' will install all the files in
1356 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1357 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1358 for instance \`--prefix=\$HOME'.
1360 For better control, use the options below.
1362 Fine tuning of the installation directories:
1363 --bindir=DIR user executables [EPREFIX/bin]
1364 --sbindir=DIR system admin executables [EPREFIX/sbin]
1365 --libexecdir=DIR program executables [EPREFIX/libexec]
1366 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1367 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1368 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1369 --libdir=DIR object code libraries [EPREFIX/lib]
1370 --includedir=DIR C header files [PREFIX/include]
1371 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1372 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1373 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1374 --infodir=DIR info documentation [DATAROOTDIR/info]
1375 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1376 --mandir=DIR man documentation [DATAROOTDIR/man]
1377 --docdir=DIR documentation root [DATAROOTDIR/doc/sysstat]
1378 --htmldir=DIR html documentation [DOCDIR]
1379 --dvidir=DIR dvi documentation [DOCDIR]
1380 --pdfdir=DIR pdf documentation [DOCDIR]
1381 --psdir=DIR ps documentation [DOCDIR]
1388 if test -n "$ac_init_help"; then
1389 case $ac_init_help in
1390 short | recursive ) echo "Configuration of sysstat 12.5.2:";;
1395 --disable-option-checking ignore unrecognized --enable/--with options
1396 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1397 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1398 --disable-sensors disable sensors support
1399 --disable-pcp disable PCP support
1400 --disable-largefile omit support for large files
1401 --disable-nls disable National Language Support
1402 --disable-file-attr do not set attributes on files being installed
1403 --disable-compress-manpg
1404 do not compress sysstat manual pages
1405 --enable-clean-sa-dir clean system activity directory
1406 --enable-install-cron install a crontab to start sar
1407 --enable-use-crond use standard cron daemon
1408 --enable-collect-all collect all possible activities
1409 --enable-copy-only only copy files when installing
1410 --disable-documentation do not install documentation
1411 --enable-debuginfo enable debug output (--debuginfo option)
1412 --disable-stripping do not strip object files
1415 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1416 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1417 --with-systemdsystemunitdir=DIR
1418 Directory for systemd service files
1419 --with-systemdsleepdir=DIR
1420 Directory for systemd suspend/resume scripts
1422 Some influential environment variables:
1423 CC C compiler command
1424 CFLAGS C compiler flags
1425 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1426 nonstandard directory <lib dir>
1427 LIBS libraries to pass to the linker, e.g. -l<library>
1428 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1429 you have headers in a nonstandard directory <include dir>
1431 rcdir run-commands directory
1432 sa_lib_dir sadc directory
1433 sa_dir system activity directory
1434 sar_dir sar directory
1435 conf_dir sysstat configuration directory
1436 conf_file sysstat configuration file
1437 history number of daily data files to keep (default value is 7)
1439 number of days after which data files are compressed (default
1441 delay_range maximum delay (in seconds) to wait before sa2 script generates
1443 man_group group for manual pages
1444 cron_owner crontab owner
1448 options to be passed to sadc
1450 Use these variables to override the choices made by `configure' or to help
1451 it to find libraries and programs with nonstandard names/locations.
1453 Report bugs to the package provider.
1458 if test "$ac_init_help" = "recursive"; then
1459 # If there are subdirs, report their specific --help.
1460 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1461 test -d "$ac_dir" ||
1462 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1467 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1469 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1470 # A ".." for each directory in $ac_dir_suffix.
1471 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1472 case $ac_top_builddir_sub in
1473 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1474 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1477 ac_abs_top_builddir=$ac_pwd
1478 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1479 # for backward compatibility:
1480 ac_top_builddir=$ac_top_build_prefix
1483 .) # We are building in place.
1485 ac_top_srcdir=$ac_top_builddir_sub
1486 ac_abs_top_srcdir=$ac_pwd ;;
1487 [\\/]* | ?:[\\/]* ) # Absolute name.
1488 ac_srcdir=$srcdir$ac_dir_suffix;
1489 ac_top_srcdir=$srcdir
1490 ac_abs_top_srcdir=$srcdir ;;
1492 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1493 ac_top_srcdir=$ac_top_build_prefix$srcdir
1494 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1496 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1498 cd "$ac_dir" || { ac_status=$?; continue; }
1499 # Check for guested configure.
1500 if test -f "$ac_srcdir/configure.gnu"; then
1502 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1503 elif test -f "$ac_srcdir/configure"; then
1505 $SHELL "$ac_srcdir/configure" --help=recursive
1507 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1509 cd "$ac_pwd" || { ac_status=$?; break; }
1513 test -n "$ac_init_help" && exit $ac_status
1514 if $ac_init_version; then
1516 sysstat configure 12.5.2
1517 generated by GNU Autoconf 2.69
1519 Copyright (C) 2012 Free Software Foundation, Inc.
1520 This configure script is free software; the Free Software Foundation
1521 gives unlimited permission to copy, distribute and modify it.
1526 ## ------------------------ ##
1527 ## Autoconf initialization. ##
1528 ## ------------------------ ##
1530 # ac_fn_c_try_compile LINENO
1531 # --------------------------
1532 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1533 ac_fn_c_try_compile ()
1535 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1536 rm -f conftest.$ac_objext
1537 if { { ac_try="$ac_compile"
1539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1540 *) ac_try_echo=$ac_try;;
1542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1543 $as_echo "$ac_try_echo"; } >&5
1544 (eval "$ac_compile") 2>conftest.err
1546 if test -s conftest.err; then
1547 grep -v '^ *+' conftest.err >conftest.er1
1548 cat conftest.er1 >&5
1549 mv -f conftest.er1 conftest.err
1551 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1552 test $ac_status = 0; } && {
1553 test -z "$ac_c_werror_flag" ||
1554 test ! -s conftest.err
1555 } && test -s conftest.$ac_objext; then :
1558 $as_echo "$as_me: failed program was:" >&5
1559 sed 's/^/| /' conftest.$ac_ext >&5
1563 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1564 as_fn_set_status $ac_retval
1566 } # ac_fn_c_try_compile
1568 # ac_fn_c_try_cpp LINENO
1569 # ----------------------
1570 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1573 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1574 if { { ac_try="$ac_cpp conftest.$ac_ext"
1576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1577 *) ac_try_echo=$ac_try;;
1579 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1580 $as_echo "$ac_try_echo"; } >&5
1581 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1583 if test -s conftest.err; then
1584 grep -v '^ *+' conftest.err >conftest.er1
1585 cat conftest.er1 >&5
1586 mv -f conftest.er1 conftest.err
1588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1589 test $ac_status = 0; } > conftest.i && {
1590 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1591 test ! -s conftest.err
1595 $as_echo "$as_me: failed program was:" >&5
1596 sed 's/^/| /' conftest.$ac_ext >&5
1600 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1601 as_fn_set_status $ac_retval
1605 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1606 # -------------------------------------------------------
1607 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1608 # the include files in INCLUDES and setting the cache variable VAR
1610 ac_fn_c_check_header_mongrel ()
1612 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1613 if eval \${$3+:} false; then :
1614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1615 $as_echo_n "checking for $2... " >&6; }
1616 if eval \${$3+:} false; then :
1617 $as_echo_n "(cached) " >&6
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1621 $as_echo "$ac_res" >&6; }
1623 # Is the header compilable?
1624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1625 $as_echo_n "checking $2 usability... " >&6; }
1626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1627 /* end confdefs.h. */
1631 if ac_fn_c_try_compile "$LINENO"; then :
1632 ac_header_compiler=yes
1634 ac_header_compiler=no
1636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1638 $as_echo "$ac_header_compiler" >&6; }
1640 # Is the header present?
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1642 $as_echo_n "checking $2 presence... " >&6; }
1643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1644 /* end confdefs.h. */
1647 if ac_fn_c_try_cpp "$LINENO"; then :
1648 ac_header_preproc=yes
1650 ac_header_preproc=no
1652 rm -f conftest.err conftest.i conftest.$ac_ext
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1654 $as_echo "$ac_header_preproc" >&6; }
1656 # So? What about this header?
1657 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1660 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1662 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1665 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1666 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1668 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1670 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1672 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1674 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1678 $as_echo_n "checking for $2... " >&6; }
1679 if eval \${$3+:} false; then :
1680 $as_echo_n "(cached) " >&6
1682 eval "$3=\$ac_header_compiler"
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1686 $as_echo "$ac_res" >&6; }
1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1690 } # ac_fn_c_check_header_mongrel
1692 # ac_fn_c_try_run LINENO
1693 # ----------------------
1694 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1695 # that executables *can* be run.
1698 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1699 if { { ac_try="$ac_link"
1701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_link") 2>&5
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1710 { { case "(($ac_try" in
1711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1712 *) ac_try_echo=$ac_try;;
1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1715 $as_echo "$ac_try_echo"; } >&5
1716 (eval "$ac_try") 2>&5
1718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1719 test $ac_status = 0; }; }; then :
1722 $as_echo "$as_me: program exited with status $ac_status" >&5
1723 $as_echo "$as_me: failed program was:" >&5
1724 sed 's/^/| /' conftest.$ac_ext >&5
1726 ac_retval=$ac_status
1728 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1729 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1730 as_fn_set_status $ac_retval
1734 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1735 # -------------------------------------------------------
1736 # Tests whether HEADER exists and can be compiled using the include files in
1737 # INCLUDES, setting the cache variable VAR accordingly.
1738 ac_fn_c_check_header_compile ()
1740 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1742 $as_echo_n "checking for $2... " >&6; }
1743 if eval \${$3+:} false; then :
1744 $as_echo_n "(cached) " >&6
1746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1747 /* end confdefs.h. */
1751 if ac_fn_c_try_compile "$LINENO"; then :
1756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1760 $as_echo "$ac_res" >&6; }
1761 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1763 } # ac_fn_c_check_header_compile
1765 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1766 # -------------------------------------------
1767 # Tests whether TYPE exists after having included INCLUDES, setting cache
1768 # variable VAR accordingly.
1769 ac_fn_c_check_type ()
1771 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1773 $as_echo_n "checking for $2... " >&6; }
1774 if eval \${$3+:} false; then :
1775 $as_echo_n "(cached) " >&6
1778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1779 /* end confdefs.h. */
1790 if ac_fn_c_try_compile "$LINENO"; then :
1791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h. */
1803 if ac_fn_c_try_compile "$LINENO"; then :
1808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1814 $as_echo "$ac_res" >&6; }
1815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1817 } # ac_fn_c_check_type
1819 # ac_fn_c_try_link LINENO
1820 # -----------------------
1821 # Try to link conftest.$ac_ext, and return whether this succeeded.
1824 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1825 rm -f conftest.$ac_objext conftest$ac_exeext
1826 if { { ac_try="$ac_link"
1828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1829 *) ac_try_echo=$ac_try;;
1831 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1832 $as_echo "$ac_try_echo"; } >&5
1833 (eval "$ac_link") 2>conftest.err
1835 if test -s conftest.err; then
1836 grep -v '^ *+' conftest.err >conftest.er1
1837 cat conftest.er1 >&5
1838 mv -f conftest.er1 conftest.err
1840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1841 test $ac_status = 0; } && {
1842 test -z "$ac_c_werror_flag" ||
1843 test ! -s conftest.err
1844 } && test -s conftest$ac_exeext && {
1845 test "$cross_compiling" = yes ||
1846 test -x conftest$ac_exeext
1850 $as_echo "$as_me: failed program was:" >&5
1851 sed 's/^/| /' conftest.$ac_ext >&5
1855 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1856 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1857 # interfere with the next link command; also delete a directory that is
1858 # left behind by Apple's compiler. We do this before executing the actions.
1859 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1860 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1861 as_fn_set_status $ac_retval
1863 } # ac_fn_c_try_link
1865 # ac_fn_c_check_func LINENO FUNC VAR
1866 # ----------------------------------
1867 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1868 ac_fn_c_check_func ()
1870 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1872 $as_echo_n "checking for $2... " >&6; }
1873 if eval \${$3+:} false; then :
1874 $as_echo_n "(cached) " >&6
1876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1877 /* end confdefs.h. */
1878 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1880 #define $2 innocuous_$2
1882 /* System header to define __stub macros and hopefully few prototypes,
1883 which can conflict with char $2 (); below.
1884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1885 <limits.h> exists even on freestanding compilers. */
1888 # include <limits.h>
1890 # include <assert.h>
1895 /* Override any GCC internal prototype to avoid an error.
1896 Use char because int might match the return type of a GCC
1897 builtin and then its argument prototype would still apply. */
1902 /* The GNU C library defines this for functions which it implements
1903 to always fail with ENOSYS. Some functions are actually named
1904 something starting with __ and the normal name is an alias. */
1905 #if defined __stub_$2 || defined __stub___$2
1917 if ac_fn_c_try_link "$LINENO"; then :
1922 rm -f core conftest.err conftest.$ac_objext \
1923 conftest$ac_exeext conftest.$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930 } # ac_fn_c_check_func
1931 cat >config.log <<_ACEOF
1932 This file contains any messages produced by compilers while
1933 running configure, to aid debugging if configure makes a mistake.
1935 It was created by sysstat $as_me 12.5.2, which was
1936 generated by GNU Autoconf 2.69. Invocation command line was
1948 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1949 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1950 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1951 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1952 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1954 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1955 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1957 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1958 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1959 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1960 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1961 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1962 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1963 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1971 test -z "$as_dir" && as_dir=.
1972 $as_echo "PATH: $as_dir"
1988 # Keep a trace of the command line.
1989 # Strip out --no-create and --no-recursion so they do not pile up.
1990 # Strip out --silent because we don't want to record it for future runs.
1991 # Also quote any args containing shell meta-characters.
1992 # Make two passes to allow for proper duplicate-argument suppression.
1996 ac_must_keep_next=false
2002 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2004 | -silent | --silent | --silen | --sile | --sil)
2007 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2010 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2012 as_fn_append ac_configure_args1 " '$ac_arg'"
2013 if test $ac_must_keep_next = true; then
2014 ac_must_keep_next=false # Got value, back to normal.
2017 *=* | --config-cache | -C | -disable-* | --disable-* \
2018 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2019 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2020 | -with-* | --with-* | -without-* | --without-* | --x)
2021 case "$ac_configure_args0 " in
2022 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2025 -* ) ac_must_keep_next=true ;;
2028 as_fn_append ac_configure_args " '$ac_arg'"
2033 { ac_configure_args0=; unset ac_configure_args0;}
2034 { ac_configure_args1=; unset ac_configure_args1;}
2036 # When interrupted or exit'd, cleanup temporary files, and complete
2037 # config.log. We remove comments because anyway the quotes in there
2038 # would cause problems or look ugly.
2039 # WARNING: Use '\'' to represent an apostrophe within the trap.
2040 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2041 trap 'exit_status=$?
2042 # Save into config.log some information that might help in debugging.
2046 $as_echo "## ---------------- ##
2047 ## Cache variables. ##
2048 ## ---------------- ##"
2050 # The following way of writing the cache mishandles newlines in values,
2052 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2053 eval ac_val=\$$ac_var
2057 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2058 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2061 _ | IFS | as_nl) ;; #(
2062 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2063 *) { eval $ac_var=; unset $ac_var;} ;;
2068 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2069 *${as_nl}ac_space=\ *)
2071 "s/'\''/'\''\\\\'\'''\''/g;
2072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2075 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2082 $as_echo "## ----------------- ##
2083 ## Output variables. ##
2084 ## ----------------- ##"
2086 for ac_var in $ac_subst_vars
2088 eval ac_val=\$$ac_var
2090 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2092 $as_echo "$ac_var='\''$ac_val'\''"
2096 if test -n "$ac_subst_files"; then
2097 $as_echo "## ------------------- ##
2098 ## File substitutions. ##
2099 ## ------------------- ##"
2101 for ac_var in $ac_subst_files
2103 eval ac_val=\$$ac_var
2105 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2107 $as_echo "$ac_var='\''$ac_val'\''"
2112 if test -s confdefs.h; then
2113 $as_echo "## ----------- ##
2120 test "$ac_signal" != 0 &&
2121 $as_echo "$as_me: caught signal $ac_signal"
2122 $as_echo "$as_me: exit $exit_status"
2124 rm -f core *.core core.conftest.* &&
2125 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2128 for ac_signal in 1 2 13 15; do
2129 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2133 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2134 rm -f -r conftest* confdefs.h
2136 $as_echo "/* confdefs.h */" > confdefs.h
2138 # Predefined preprocessor variables.
2140 cat >>confdefs.h <<_ACEOF
2141 #define PACKAGE_NAME "$PACKAGE_NAME"
2144 cat >>confdefs.h <<_ACEOF
2145 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2148 cat >>confdefs.h <<_ACEOF
2149 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2152 cat >>confdefs.h <<_ACEOF
2153 #define PACKAGE_STRING "$PACKAGE_STRING"
2156 cat >>confdefs.h <<_ACEOF
2157 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2160 cat >>confdefs.h <<_ACEOF
2161 #define PACKAGE_URL "$PACKAGE_URL"
2165 # Let the site file select an alternate cache file if it wants to.
2166 # Prefer an explicitly selected file to automatically selected ones.
2169 if test -n "$CONFIG_SITE"; then
2170 # We do not want a PATH search for config.site.
2171 case $CONFIG_SITE in #((
2172 -*) ac_site_file1=./$CONFIG_SITE;;
2173 */*) ac_site_file1=$CONFIG_SITE;;
2174 *) ac_site_file1=./$CONFIG_SITE;;
2176 elif test "x$prefix" != xNONE; then
2177 ac_site_file1=$prefix/share/config.site
2178 ac_site_file2=$prefix/etc/config.site
2180 ac_site_file1=$ac_default_prefix/share/config.site
2181 ac_site_file2=$ac_default_prefix/etc/config.site
2183 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2185 test "x$ac_site_file" = xNONE && continue
2186 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2187 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2188 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2189 sed 's/^/| /' "$ac_site_file" >&5
2191 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2193 as_fn_error $? "failed to load site script $ac_site_file
2194 See \`config.log' for more details" "$LINENO" 5; }
2198 if test -r "$cache_file"; then
2199 # Some versions of bash will fail to source /dev/null (special files
2200 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2201 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2203 $as_echo "$as_me: loading cache $cache_file" >&6;}
2205 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2206 *) . "./$cache_file";;
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2211 $as_echo "$as_me: creating cache $cache_file" >&6;}
2215 # Check that the precious variables saved in the cache have kept the same
2217 ac_cache_corrupted=false
2218 for ac_var in $ac_precious_vars; do
2219 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2220 eval ac_new_set=\$ac_env_${ac_var}_set
2221 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2222 eval ac_new_val=\$ac_env_${ac_var}_value
2223 case $ac_old_set,$ac_new_set in
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2226 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2227 ac_cache_corrupted=: ;;
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2230 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2231 ac_cache_corrupted=: ;;
2234 if test "x$ac_old_val" != "x$ac_new_val"; then
2235 # differences in whitespace do not lead to failure.
2236 ac_old_val_w=`echo x $ac_old_val`
2237 ac_new_val_w=`echo x $ac_new_val`
2238 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2240 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2241 ac_cache_corrupted=:
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2244 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2245 eval $ac_var=\$ac_old_val
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2248 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2250 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2253 # Pass precious variables to config.status.
2254 if test "$ac_new_set" = set; then
2256 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2257 *) ac_arg=$ac_var=$ac_new_val ;;
2259 case " $ac_configure_args " in
2260 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2261 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2265 if $ac_cache_corrupted; then
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2267 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2269 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2270 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2272 ## -------------------- ##
2273 ## Main body of script. ##
2274 ## -------------------- ##
2277 ac_cpp='$CPP $CPPFLAGS'
2278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2284 # Ensure that a recent enough version of Autoconf is being used
2287 # Check whether the configure script is in the right dir
2292 echo Check programs:
2296 ac_cpp='$CPP $CPPFLAGS'
2297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2300 if test -n "$ac_tool_prefix"; then
2301 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2302 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2304 $as_echo_n "checking for $ac_word... " >&6; }
2305 if ${ac_cv_prog_CC+:} false; then :
2306 $as_echo_n "(cached) " >&6
2308 if test -n "$CC"; then
2309 ac_cv_prog_CC="$CC" # Let the user override the test.
2311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 test -z "$as_dir" && as_dir=.
2316 for ac_exec_ext in '' $ac_executable_extensions; do
2317 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2318 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2329 if test -n "$CC"; then
2330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2331 $as_echo "$CC" >&6; }
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2334 $as_echo "no" >&6; }
2339 if test -z "$ac_cv_prog_CC"; then
2341 # Extract the first word of "gcc", so it can be a program name with args.
2342 set dummy gcc; ac_word=$2
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2344 $as_echo_n "checking for $ac_word... " >&6; }
2345 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2346 $as_echo_n "(cached) " >&6
2348 if test -n "$ac_ct_CC"; then
2349 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2355 test -z "$as_dir" && as_dir=.
2356 for ac_exec_ext in '' $ac_executable_extensions; do
2357 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2358 ac_cv_prog_ac_ct_CC="gcc"
2359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2368 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2369 if test -n "$ac_ct_CC"; then
2370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2371 $as_echo "$ac_ct_CC" >&6; }
2373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2374 $as_echo "no" >&6; }
2377 if test "x$ac_ct_CC" = x; then
2380 case $cross_compiling:$ac_tool_warned in
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2384 ac_tool_warned=yes ;;
2392 if test -z "$CC"; then
2393 if test -n "$ac_tool_prefix"; then
2394 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2395 set dummy ${ac_tool_prefix}cc; ac_word=$2
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2397 $as_echo_n "checking for $ac_word... " >&6; }
2398 if ${ac_cv_prog_CC+:} false; then :
2399 $as_echo_n "(cached) " >&6
2401 if test -n "$CC"; then
2402 ac_cv_prog_CC="$CC" # Let the user override the test.
2404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2408 test -z "$as_dir" && as_dir=.
2409 for ac_exec_ext in '' $ac_executable_extensions; do
2410 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2411 ac_cv_prog_CC="${ac_tool_prefix}cc"
2412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2422 if test -n "$CC"; then
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2424 $as_echo "$CC" >&6; }
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2427 $as_echo "no" >&6; }
2433 if test -z "$CC"; then
2434 # Extract the first word of "cc", so it can be a program name with args.
2435 set dummy cc; ac_word=$2
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2437 $as_echo_n "checking for $ac_word... " >&6; }
2438 if ${ac_cv_prog_CC+:} false; then :
2439 $as_echo_n "(cached) " >&6
2441 if test -n "$CC"; then
2442 ac_cv_prog_CC="$CC" # Let the user override the test.
2445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2449 test -z "$as_dir" && as_dir=.
2450 for ac_exec_ext in '' $ac_executable_extensions; do
2451 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2452 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2453 ac_prog_rejected=yes
2457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2464 if test $ac_prog_rejected = yes; then
2465 # We found a bogon in the path, so make sure we never use it.
2466 set dummy $ac_cv_prog_CC
2468 if test $# != 0; then
2469 # We chose a different compiler from the bogus one.
2470 # However, it has the same basename, so the bogon will be chosen
2471 # first if we set CC to just the basename; use the full file name.
2473 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2479 if test -n "$CC"; then
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2481 $as_echo "$CC" >&6; }
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2484 $as_echo "no" >&6; }
2489 if test -z "$CC"; then
2490 if test -n "$ac_tool_prefix"; then
2491 for ac_prog in cl.exe
2493 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2494 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2496 $as_echo_n "checking for $ac_word... " >&6; }
2497 if ${ac_cv_prog_CC+:} false; then :
2498 $as_echo_n "(cached) " >&6
2500 if test -n "$CC"; then
2501 ac_cv_prog_CC="$CC" # Let the user override the test.
2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507 test -z "$as_dir" && as_dir=.
2508 for ac_exec_ext in '' $ac_executable_extensions; do
2509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2510 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2521 if test -n "$CC"; then
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2523 $as_echo "$CC" >&6; }
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2526 $as_echo "no" >&6; }
2530 test -n "$CC" && break
2533 if test -z "$CC"; then
2535 for ac_prog in cl.exe
2537 # Extract the first word of "$ac_prog", so it can be a program name with args.
2538 set dummy $ac_prog; ac_word=$2
2539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2540 $as_echo_n "checking for $ac_word... " >&6; }
2541 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2542 $as_echo_n "(cached) " >&6
2544 if test -n "$ac_ct_CC"; then
2545 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 test -z "$as_dir" && as_dir=.
2552 for ac_exec_ext in '' $ac_executable_extensions; do
2553 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2554 ac_cv_prog_ac_ct_CC="$ac_prog"
2555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2564 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2565 if test -n "$ac_ct_CC"; then
2566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2567 $as_echo "$ac_ct_CC" >&6; }
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2570 $as_echo "no" >&6; }
2574 test -n "$ac_ct_CC" && break
2577 if test "x$ac_ct_CC" = x; then
2580 case $cross_compiling:$ac_tool_warned in
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2584 ac_tool_warned=yes ;;
2593 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2595 as_fn_error $? "no acceptable C compiler found in \$PATH
2596 See \`config.log' for more details" "$LINENO" 5; }
2598 # Provide some information about the compiler.
2599 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2602 for ac_option in --version -v -V -qversion; do
2603 { { ac_try="$ac_compiler $ac_option >&5"
2605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2606 *) ac_try_echo=$ac_try;;
2608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2609 $as_echo "$ac_try_echo"; } >&5
2610 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2612 if test -s conftest.err; then
2614 ... rest of stderr output deleted ...
2615 10q' conftest.err >conftest.er1
2616 cat conftest.er1 >&5
2618 rm -f conftest.er1 conftest.err
2619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2620 test $ac_status = 0; }
2623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2634 ac_clean_files_save=$ac_clean_files
2635 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2636 # Try to create an executable without -o first, disregard a.out.
2637 # It will help us diagnose broken compilers, and finding out an intuition
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2640 $as_echo_n "checking whether the C compiler works... " >&6; }
2641 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2643 # The possible output files:
2644 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2647 for ac_file in $ac_files
2650 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2651 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2656 if { { ac_try="$ac_link_default"
2658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2659 *) ac_try_echo=$ac_try;;
2661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2662 $as_echo "$ac_try_echo"; } >&5
2663 (eval "$ac_link_default") 2>&5
2665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2666 test $ac_status = 0; }; then :
2667 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2668 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2669 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2670 # so that the user can short-circuit this test for compilers unknown to
2672 for ac_file in $ac_files ''
2674 test -f "$ac_file" || continue
2676 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2679 # We found the default executable, but exeext='' is most
2683 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2685 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2687 # We set ac_cv_exeext here because the later test for it is not
2688 # safe: cross compilers may not add the suffix if given an `-o'
2689 # argument, so we may need to know it at that point already.
2690 # Even if this section looks crufty: it has the advantage of
2697 test "$ac_cv_exeext" = no && ac_cv_exeext=
2702 if test -z "$ac_file"; then :
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2704 $as_echo "no" >&6; }
2705 $as_echo "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2708 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2710 as_fn_error 77 "C compiler cannot create executables
2711 See \`config.log' for more details" "$LINENO" 5; }
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2714 $as_echo "yes" >&6; }
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2717 $as_echo_n "checking for C compiler default output file name... " >&6; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2719 $as_echo "$ac_file" >&6; }
2720 ac_exeext=$ac_cv_exeext
2722 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2723 ac_clean_files=$ac_clean_files_save
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2725 $as_echo_n "checking for suffix of executables... " >&6; }
2726 if { { ac_try="$ac_link"
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2731 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2732 $as_echo "$ac_try_echo"; } >&5
2733 (eval "$ac_link") 2>&5
2735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2736 test $ac_status = 0; }; then :
2737 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2738 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2739 # work properly (i.e., refer to `conftest.exe'), while it won't with
2741 for ac_file in conftest.exe conftest conftest.*; do
2742 test -f "$ac_file" || continue
2744 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2745 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2751 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2753 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2754 See \`config.log' for more details" "$LINENO" 5; }
2756 rm -f conftest conftest$ac_cv_exeext
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2758 $as_echo "$ac_cv_exeext" >&6; }
2760 rm -f conftest.$ac_ext
2761 EXEEXT=$ac_cv_exeext
2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2764 /* end confdefs.h. */
2769 FILE *f = fopen ("conftest.out", "w");
2770 return ferror (f) || fclose (f) != 0;
2776 ac_clean_files="$ac_clean_files conftest.out"
2777 # Check that the compiler produces executables we can run. If not, either
2778 # the compiler is broken, or we cross compile.
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2780 $as_echo_n "checking whether we are cross compiling... " >&6; }
2781 if test "$cross_compiling" != yes; then
2782 { { ac_try="$ac_link"
2784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2785 *) ac_try_echo=$ac_try;;
2787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2788 $as_echo "$ac_try_echo"; } >&5
2789 (eval "$ac_link") 2>&5
2791 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2792 test $ac_status = 0; }
2793 if { ac_try='./conftest$ac_cv_exeext'
2794 { { case "(($ac_try" in
2795 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2796 *) ac_try_echo=$ac_try;;
2798 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2799 $as_echo "$ac_try_echo"; } >&5
2800 (eval "$ac_try") 2>&5
2802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2803 test $ac_status = 0; }; }; then
2806 if test "$cross_compiling" = maybe; then
2809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2811 as_fn_error $? "cannot run C compiled programs.
2812 If you meant to cross compile, use \`--host'.
2813 See \`config.log' for more details" "$LINENO" 5; }
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2818 $as_echo "$cross_compiling" >&6; }
2820 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2821 ac_clean_files=$ac_clean_files_save
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2823 $as_echo_n "checking for suffix of object files... " >&6; }
2824 if ${ac_cv_objext+:} false; then :
2825 $as_echo_n "(cached) " >&6
2827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2828 /* end confdefs.h. */
2838 rm -f conftest.o conftest.obj
2839 if { { ac_try="$ac_compile"
2841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2842 *) ac_try_echo=$ac_try;;
2844 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2845 $as_echo "$ac_try_echo"; } >&5
2846 (eval "$ac_compile") 2>&5
2848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2849 test $ac_status = 0; }; then :
2850 for ac_file in conftest.o conftest.obj conftest.*; do
2851 test -f "$ac_file" || continue;
2853 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2854 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2859 $as_echo "$as_me: failed program was:" >&5
2860 sed 's/^/| /' conftest.$ac_ext >&5
2862 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2863 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2864 as_fn_error $? "cannot compute suffix of object files: cannot compile
2865 See \`config.log' for more details" "$LINENO" 5; }
2867 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2870 $as_echo "$ac_cv_objext" >&6; }
2871 OBJEXT=$ac_cv_objext
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2874 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2875 if ${ac_cv_c_compiler_gnu+:} false; then :
2876 $as_echo_n "(cached) " >&6
2878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2879 /* end confdefs.h. */
2892 if ac_fn_c_try_compile "$LINENO"; then :
2897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2898 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2902 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2903 if test $ac_compiler_gnu = yes; then
2908 ac_test_CFLAGS=${CFLAGS+set}
2909 ac_save_CFLAGS=$CFLAGS
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2911 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2912 if ${ac_cv_prog_cc_g+:} false; then :
2913 $as_echo_n "(cached) " >&6
2915 ac_save_c_werror_flag=$ac_c_werror_flag
2916 ac_c_werror_flag=yes
2919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2920 /* end confdefs.h. */
2930 if ac_fn_c_try_compile "$LINENO"; then :
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2945 if ac_fn_c_try_compile "$LINENO"; then :
2948 ac_c_werror_flag=$ac_save_c_werror_flag
2950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2951 /* end confdefs.h. */
2961 if ac_fn_c_try_compile "$LINENO"; then :
2964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2969 ac_c_werror_flag=$ac_save_c_werror_flag
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2972 $as_echo "$ac_cv_prog_cc_g" >&6; }
2973 if test "$ac_test_CFLAGS" = set; then
2974 CFLAGS=$ac_save_CFLAGS
2975 elif test $ac_cv_prog_cc_g = yes; then
2976 if test "$GCC" = yes; then
2982 if test "$GCC" = yes; then
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2989 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2990 if ${ac_cv_prog_cc_c89+:} false; then :
2991 $as_echo_n "(cached) " >&6
2993 ac_cv_prog_cc_c89=no
2995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2996 /* end confdefs.h. */
3000 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3001 struct buf { int x; };
3002 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3003 static char *e (p, i)
3009 static char *f (char * (*g) (char **, int), char **p, ...)
3014 s = g (p, va_arg (v,int));
3019 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3020 function prototypes and stuff, but not '\xHH' hex character constants.
3021 These don't provoke an error unfortunately, instead are silently treated
3022 as 'x'. The following induces an error, until -std is added to get
3023 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3024 array size at least. It's necessary to write '\x00'==0 to get something
3025 that's true only with -std. */
3026 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3028 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3029 inside strings and character constants. */
3031 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3033 int test (int i, double x);
3034 struct s1 {int (*f) (int a);};
3035 struct s2 {int (*f) (double a);};
3036 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3042 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3047 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3048 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3050 CC="$ac_save_CC $ac_arg"
3051 if ac_fn_c_try_compile "$LINENO"; then :
3052 ac_cv_prog_cc_c89=$ac_arg
3054 rm -f core conftest.err conftest.$ac_objext
3055 test "x$ac_cv_prog_cc_c89" != "xno" && break
3057 rm -f conftest.$ac_ext
3062 case "x$ac_cv_prog_cc_c89" in
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3065 $as_echo "none needed" >&6; } ;;
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3068 $as_echo "unsupported" >&6; } ;;
3070 CC="$CC $ac_cv_prog_cc_c89"
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3072 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3074 if test "x$ac_cv_prog_cc_c89" != xno; then :
3079 ac_cpp='$CPP $CPPFLAGS'
3080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3086 ac_cpp='$CPP $CPPFLAGS'
3087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3091 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3092 # On Suns, sometimes $CPP names a directory.
3093 if test -n "$CPP" && test -d "$CPP"; then
3096 if test -z "$CPP"; then
3097 if ${ac_cv_prog_CPP+:} false; then :
3098 $as_echo_n "(cached) " >&6
3100 # Double quotes because CPP needs to be expanded
3101 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3104 for ac_c_preproc_warn_flag in '' yes
3106 # Use a header file that comes with gcc, so configuring glibc
3107 # with a fresh cross-compiler works.
3108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3109 # <limits.h> exists even on freestanding compilers.
3110 # On the NeXT, cc -E runs the code through the compiler's parser,
3111 # not just through cpp. "Syntax error" is here to catch this case.
3112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3113 /* end confdefs.h. */
3115 # include <limits.h>
3117 # include <assert.h>
3121 if ac_fn_c_try_cpp "$LINENO"; then :
3124 # Broken: fails on valid input.
3127 rm -f conftest.err conftest.i conftest.$ac_ext
3129 # OK, works on sane cases. Now check whether nonexistent headers
3130 # can be detected and how.
3131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3132 /* end confdefs.h. */
3133 #include <ac_nonexistent.h>
3135 if ac_fn_c_try_cpp "$LINENO"; then :
3136 # Broken: success on invalid input.
3139 # Passes both tests.
3143 rm -f conftest.err conftest.i conftest.$ac_ext
3146 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3147 rm -f conftest.i conftest.err conftest.$ac_ext
3148 if $ac_preproc_ok; then :
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3161 $as_echo "$CPP" >&6; }
3163 for ac_c_preproc_warn_flag in '' yes
3165 # Use a header file that comes with gcc, so configuring glibc
3166 # with a fresh cross-compiler works.
3167 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3168 # <limits.h> exists even on freestanding compilers.
3169 # On the NeXT, cc -E runs the code through the compiler's parser,
3170 # not just through cpp. "Syntax error" is here to catch this case.
3171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3172 /* end confdefs.h. */
3174 # include <limits.h>
3176 # include <assert.h>
3180 if ac_fn_c_try_cpp "$LINENO"; then :
3183 # Broken: fails on valid input.
3186 rm -f conftest.err conftest.i conftest.$ac_ext
3188 # OK, works on sane cases. Now check whether nonexistent headers
3189 # can be detected and how.
3190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3191 /* end confdefs.h. */
3192 #include <ac_nonexistent.h>
3194 if ac_fn_c_try_cpp "$LINENO"; then :
3195 # Broken: success on invalid input.
3198 # Passes both tests.
3202 rm -f conftest.err conftest.i conftest.$ac_ext
3205 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3206 rm -f conftest.i conftest.err conftest.$ac_ext
3207 if $ac_preproc_ok; then :
3210 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3211 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3212 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3213 See \`config.log' for more details" "$LINENO" 5; }
3217 ac_cpp='$CPP $CPPFLAGS'
3218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3224 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3225 if ${ac_cv_path_GREP+:} false; then :
3226 $as_echo_n "(cached) " >&6
3228 if test -z "$GREP"; then
3229 ac_path_GREP_found=false
3230 # Loop through the user's path and test for each of PROGNAME-LIST
3231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3232 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3235 test -z "$as_dir" && as_dir=.
3236 for ac_prog in grep ggrep; do
3237 for ac_exec_ext in '' $ac_executable_extensions; do
3238 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3239 as_fn_executable_p "$ac_path_GREP" || continue
3240 # Check for GNU ac_path_GREP and select it if it is found.
3241 # Check for GNU $ac_path_GREP
3242 case `"$ac_path_GREP" --version 2>&1` in
3244 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3247 $as_echo_n 0123456789 >"conftest.in"
3250 cat "conftest.in" "conftest.in" >"conftest.tmp"
3251 mv "conftest.tmp" "conftest.in"
3252 cp "conftest.in" "conftest.nl"
3253 $as_echo 'GREP' >> "conftest.nl"
3254 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3255 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3256 as_fn_arith $ac_count + 1 && ac_count=$as_val
3257 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3258 # Best one so far, save it but keep looking for a better one
3259 ac_cv_path_GREP="$ac_path_GREP"
3260 ac_path_GREP_max=$ac_count
3262 # 10*(2^10) chars as input seems more than enough
3263 test $ac_count -gt 10 && break
3265 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3268 $ac_path_GREP_found && break 3
3273 if test -z "$ac_cv_path_GREP"; then
3274 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3277 ac_cv_path_GREP=$GREP
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3282 $as_echo "$ac_cv_path_GREP" >&6; }
3283 GREP="$ac_cv_path_GREP"
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3287 $as_echo_n "checking for egrep... " >&6; }
3288 if ${ac_cv_path_EGREP+:} false; then :
3289 $as_echo_n "(cached) " >&6
3291 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3292 then ac_cv_path_EGREP="$GREP -E"
3294 if test -z "$EGREP"; then
3295 ac_path_EGREP_found=false
3296 # Loop through the user's path and test for each of PROGNAME-LIST
3297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3301 test -z "$as_dir" && as_dir=.
3302 for ac_prog in egrep; do
3303 for ac_exec_ext in '' $ac_executable_extensions; do
3304 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3305 as_fn_executable_p "$ac_path_EGREP" || continue
3306 # Check for GNU ac_path_EGREP and select it if it is found.
3307 # Check for GNU $ac_path_EGREP
3308 case `"$ac_path_EGREP" --version 2>&1` in
3310 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3313 $as_echo_n 0123456789 >"conftest.in"
3316 cat "conftest.in" "conftest.in" >"conftest.tmp"
3317 mv "conftest.tmp" "conftest.in"
3318 cp "conftest.in" "conftest.nl"
3319 $as_echo 'EGREP' >> "conftest.nl"
3320 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3321 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3322 as_fn_arith $ac_count + 1 && ac_count=$as_val
3323 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3324 # Best one so far, save it but keep looking for a better one
3325 ac_cv_path_EGREP="$ac_path_EGREP"
3326 ac_path_EGREP_max=$ac_count
3328 # 10*(2^10) chars as input seems more than enough
3329 test $ac_count -gt 10 && break
3331 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3334 $ac_path_EGREP_found && break 3
3339 if test -z "$ac_cv_path_EGREP"; then
3340 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3343 ac_cv_path_EGREP=$EGREP
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3349 $as_echo "$ac_cv_path_EGREP" >&6; }
3350 EGREP="$ac_cv_path_EGREP"
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3354 $as_echo_n "checking for ANSI C header files... " >&6; }
3355 if ${ac_cv_header_stdc+:} false; then :
3356 $as_echo_n "(cached) " >&6
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3373 if ac_fn_c_try_compile "$LINENO"; then :
3374 ac_cv_header_stdc=yes
3376 ac_cv_header_stdc=no
3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380 if test $ac_cv_header_stdc = yes; then
3381 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3387 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3388 $EGREP "memchr" >/dev/null 2>&1; then :
3391 ac_cv_header_stdc=no
3397 if test $ac_cv_header_stdc = yes; then
3398 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3400 /* end confdefs.h. */
3404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3405 $EGREP "free" >/dev/null 2>&1; then :
3408 ac_cv_header_stdc=no
3414 if test $ac_cv_header_stdc = yes; then
3415 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3416 if test "$cross_compiling" = yes; then :
3419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3423 #if ((' ' & 0x0FF) == 0x020)
3424 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3425 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3427 # define ISLOWER(c) \
3428 (('a' <= (c) && (c) <= 'i') \
3429 || ('j' <= (c) && (c) <= 'r') \
3430 || ('s' <= (c) && (c) <= 'z'))
3431 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3434 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3439 for (i = 0; i < 256; i++)
3440 if (XOR (islower (i), ISLOWER (i))
3441 || toupper (i) != TOUPPER (i))
3446 if ac_fn_c_try_run "$LINENO"; then :
3449 ac_cv_header_stdc=no
3451 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3452 conftest.$ac_objext conftest.beam conftest.$ac_ext
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3458 $as_echo "$ac_cv_header_stdc" >&6; }
3459 if test $ac_cv_header_stdc = yes; then
3461 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3465 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3466 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3467 inttypes.h stdint.h unistd.h
3469 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3470 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3472 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3473 cat >>confdefs.h <<_ACEOF
3474 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3483 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3484 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3491 if test "$MINIX" = yes; then
3493 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3496 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3499 $as_echo "#define _MINIX 1" >>confdefs.h
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3505 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3506 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3507 $as_echo_n "(cached) " >&6
3509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3510 /* end confdefs.h. */
3512 # define __EXTENSIONS__ 1
3513 $ac_includes_default
3522 if ac_fn_c_try_compile "$LINENO"; then :
3523 ac_cv_safe_to_define___extensions__=yes
3525 ac_cv_safe_to_define___extensions__=no
3527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3530 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3531 test $ac_cv_safe_to_define___extensions__ = yes &&
3532 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3534 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3536 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3538 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3540 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3545 $as_echo_n "checking whether ln -s works... " >&6; }
3547 if test "$LN_S" = "ln -s"; then
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3549 $as_echo "yes" >&6; }
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3552 $as_echo "no, using $LN_S" >&6; }
3558 # Extract the first word of "chmod", so it can be a program name with args.
3559 set dummy chmod; ac_word=$2
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3561 $as_echo_n "checking for $ac_word... " >&6; }
3562 if ${ac_cv_prog_CHMOD+:} false; then :
3563 $as_echo_n "(cached) " >&6
3565 if test -n "$CHMOD"; then
3566 ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
3568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3572 test -z "$as_dir" && as_dir=.
3573 for ac_exec_ext in '' $ac_executable_extensions; do
3574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3575 ac_cv_prog_CHMOD="chmod"
3576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3585 CHMOD=$ac_cv_prog_CHMOD
3586 if test -n "$CHMOD"; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
3588 $as_echo "$CHMOD" >&6; }
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3591 $as_echo "no" >&6; }
3595 # Extract the first word of "chown", so it can be a program name with args.
3596 set dummy chown; ac_word=$2
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3598 $as_echo_n "checking for $ac_word... " >&6; }
3599 if ${ac_cv_prog_CHOWN+:} false; then :
3600 $as_echo_n "(cached) " >&6
3602 if test -n "$CHOWN"; then
3603 ac_cv_prog_CHOWN="$CHOWN" # Let the user override the test.
3605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 test -z "$as_dir" && as_dir=.
3610 for ac_exec_ext in '' $ac_executable_extensions; do
3611 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3612 ac_cv_prog_CHOWN="chown"
3613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3622 CHOWN=$ac_cv_prog_CHOWN
3623 if test -n "$CHOWN"; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHOWN" >&5
3625 $as_echo "$CHOWN" >&6; }
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3628 $as_echo "no" >&6; }
3632 # Extract the first word of "ar", so it can be a program name with args.
3633 set dummy ar; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if ${ac_cv_prog_AR+:} false; then :
3637 $as_echo_n "(cached) " >&6
3639 if test -n "$AR"; then
3640 ac_cv_prog_AR="$AR" # Let the user override the test.
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646 test -z "$as_dir" && as_dir=.
3647 for ac_exec_ext in '' $ac_executable_extensions; do
3648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3660 if test -n "$AR"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3662 $as_echo "$AR" >&6; }
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3669 # Extract the first word of "install", so it can be a program name with args.
3670 set dummy install; ac_word=$2
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3672 $as_echo_n "checking for $ac_word... " >&6; }
3673 if ${ac_cv_prog_INSTALL+:} false; then :
3674 $as_echo_n "(cached) " >&6
3676 if test -n "$INSTALL"; then
3677 ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
3679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683 test -z "$as_dir" && as_dir=.
3684 for ac_exec_ext in '' $ac_executable_extensions; do
3685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3686 ac_cv_prog_INSTALL="install"
3687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3696 INSTALL=$ac_cv_prog_INSTALL
3697 if test -n "$INSTALL"; then
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3699 $as_echo "$INSTALL" >&6; }
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3702 $as_echo "no" >&6; }
3706 # Extract the first word of "msgfmt", so it can be a program name with args.
3707 set dummy msgfmt; ac_word=$2
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3709 $as_echo_n "checking for $ac_word... " >&6; }
3710 if ${ac_cv_prog_MSGFMT+:} false; then :
3711 $as_echo_n "(cached) " >&6
3713 if test -n "$MSGFMT"; then
3714 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
3716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720 test -z "$as_dir" && as_dir=.
3721 for ac_exec_ext in '' $ac_executable_extensions; do
3722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3723 ac_cv_prog_MSGFMT="msgfmt"
3724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3733 MSGFMT=$ac_cv_prog_MSGFMT
3734 if test -n "$MSGFMT"; then
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3736 $as_echo "$MSGFMT" >&6; }
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3739 $as_echo "no" >&6; }
3743 # Extract the first word of "xgettext", so it can be a program name with args.
3744 set dummy xgettext; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if ${ac_cv_prog_XGETTEXT+:} false; then :
3748 $as_echo_n "(cached) " >&6
3750 if test -n "$XGETTEXT"; then
3751 ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test.
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3760 ac_cv_prog_XGETTEXT="xgettext"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 XGETTEXT=$ac_cv_prog_XGETTEXT
3771 if test -n "$XGETTEXT"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3773 $as_echo "$XGETTEXT" >&6; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3780 # Extract the first word of "msgmerge", so it can be a program name with args.
3781 set dummy msgmerge; ac_word=$2
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3783 $as_echo_n "checking for $ac_word... " >&6; }
3784 if ${ac_cv_prog_MSGMERGE+:} false; then :
3785 $as_echo_n "(cached) " >&6
3787 if test -n "$MSGMERGE"; then
3788 ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test.
3790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3794 test -z "$as_dir" && as_dir=.
3795 for ac_exec_ext in '' $ac_executable_extensions; do
3796 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3797 ac_cv_prog_MSGMERGE="msgmerge"
3798 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807 MSGMERGE=$ac_cv_prog_MSGMERGE
3808 if test -n "$MSGMERGE"; then
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3810 $as_echo "$MSGMERGE" >&6; }
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3813 $as_echo "no" >&6; }
3817 # Extract the first word of "xmllint", so it can be a program name with args.
3818 set dummy xmllint; ac_word=$2
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3820 $as_echo_n "checking for $ac_word... " >&6; }
3821 if ${ac_cv_prog_VER_XML+:} false; then :
3822 $as_echo_n "(cached) " >&6
3824 if test -n "$VER_XML"; then
3825 ac_cv_prog_VER_XML="$VER_XML" # Let the user override the test.
3827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3831 test -z "$as_dir" && as_dir=.
3832 for ac_exec_ext in '' $ac_executable_extensions; do
3833 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3834 ac_cv_prog_VER_XML="xmllint"
3835 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3844 VER_XML=$ac_cv_prog_VER_XML
3845 if test -n "$VER_XML"; then
3846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VER_XML" >&5
3847 $as_echo "$VER_XML" >&6; }
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3850 $as_echo "no" >&6; }
3854 for ac_prog in json_verify json_pp
3856 # Extract the first word of "$ac_prog", so it can be a program name with args.
3857 set dummy $ac_prog; ac_word=$2
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3859 $as_echo_n "checking for $ac_word... " >&6; }
3860 if ${ac_cv_prog_VER_JSON+:} false; then :
3861 $as_echo_n "(cached) " >&6
3863 if test -n "$VER_JSON"; then
3864 ac_cv_prog_VER_JSON="$VER_JSON" # Let the user override the test.
3866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3870 test -z "$as_dir" && as_dir=.
3871 for ac_exec_ext in '' $ac_executable_extensions; do
3872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3873 ac_cv_prog_VER_JSON="$ac_prog"
3874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3883 VER_JSON=$ac_cv_prog_VER_JSON
3884 if test -n "$VER_JSON"; then
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VER_JSON" >&5
3886 $as_echo "$VER_JSON" >&6; }
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3889 $as_echo "no" >&6; }
3893 test -n "$VER_JSON" && break
3895 test -n "$VER_JSON" || VER_JSON="true"
3897 for ac_prog in xz bzip2 gzip
3899 # Extract the first word of "$ac_prog", so it can be a program name with args.
3900 set dummy $ac_prog; ac_word=$2
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3902 $as_echo_n "checking for $ac_word... " >&6; }
3903 if ${ac_cv_prog_ZIP+:} false; then :
3904 $as_echo_n "(cached) " >&6
3906 if test -n "$ZIP"; then
3907 ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
3909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3913 test -z "$as_dir" && as_dir=.
3914 for ac_exec_ext in '' $ac_executable_extensions; do
3915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3916 ac_cv_prog_ZIP="$ac_prog"
3917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3927 if test -n "$ZIP"; then
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
3929 $as_echo "$ZIP" >&6; }
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3932 $as_echo "no" >&6; }
3936 test -n "$ZIP" && break
3938 test -n "$ZIP" || ZIP="gzip"
3940 INSTALL_DATA="\${INSTALL} -m 644"
3942 INSTALL_BIN="\${INSTALL} -m 755"
3948 # Extract the first word of "cp", so it can be a program name with args.
3949 set dummy cp; ac_word=$2
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3951 $as_echo_n "checking for $ac_word... " >&6; }
3952 if ${ac_cv_path_PATH_CP+:} false; then :
3953 $as_echo_n "(cached) " >&6
3957 ac_cv_path_PATH_CP="$PATH_CP" # Let the user override the test with a path.
3960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3964 test -z "$as_dir" && as_dir=.
3965 for ac_exec_ext in '' $ac_executable_extensions; do
3966 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3967 ac_cv_path_PATH_CP="$as_dir/$ac_word$ac_exec_ext"
3968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 PATH_CP=$ac_cv_path_PATH_CP
3979 if test -n "$PATH_CP"; then
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CP" >&5
3981 $as_echo "$PATH_CP" >&6; }
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3984 $as_echo "no" >&6; }
3988 # Extract the first word of "chkconfig", so it can be a program name with args.
3989 set dummy chkconfig; ac_word=$2
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3991 $as_echo_n "checking for $ac_word... " >&6; }
3992 if ${ac_cv_path_PATH_CHKCONFIG+:} false; then :
3993 $as_echo_n "(cached) " >&6
3995 case $PATH_CHKCONFIG in
3997 ac_cv_path_PATH_CHKCONFIG="$PATH_CHKCONFIG" # Let the user override the test with a path.
4000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4004 test -z "$as_dir" && as_dir=.
4005 for ac_exec_ext in '' $ac_executable_extensions; do
4006 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4007 ac_cv_path_PATH_CHKCONFIG="$as_dir/$ac_word$ac_exec_ext"
4008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4018 PATH_CHKCONFIG=$ac_cv_path_PATH_CHKCONFIG
4019 if test -n "$PATH_CHKCONFIG"; then
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CHKCONFIG" >&5
4021 $as_echo "$PATH_CHKCONFIG" >&6; }
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4024 $as_echo "no" >&6; }
4030 # Extract the first word of "pkg-config", so it can be a program name with args.
4031 set dummy pkg-config; ac_word=$2
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4033 $as_echo_n "checking for $ac_word... " >&6; }
4034 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4035 $as_echo_n "(cached) " >&6
4037 if test -n "$PKG_CONFIG"; then
4038 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4044 test -z "$as_dir" && as_dir=.
4045 for ac_exec_ext in '' $ac_executable_extensions; do
4046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4047 ac_cv_prog_PKG_CONFIG="pkg-config"
4048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4057 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4058 if test -n "$PKG_CONFIG"; then
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4060 $as_echo "$PKG_CONFIG" >&6; }
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4063 $as_echo "no" >&6; }
4067 # Extract the first word of "systemctl", so it can be a program name with args.
4068 set dummy systemctl; ac_word=$2
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4070 $as_echo_n "checking for $ac_word... " >&6; }
4071 if ${ac_cv_path_SYSTEMCTL+:} false; then :
4072 $as_echo_n "(cached) " >&6
4076 ac_cv_path_SYSTEMCTL="$SYSTEMCTL" # Let the user override the test with a path.
4079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4083 test -z "$as_dir" && as_dir=.
4084 for ac_exec_ext in '' $ac_executable_extensions; do
4085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4086 ac_cv_path_SYSTEMCTL="$as_dir/$ac_word$ac_exec_ext"
4087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4097 SYSTEMCTL=$ac_cv_path_SYSTEMCTL
4098 if test -n "$SYSTEMCTL"; then
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSTEMCTL" >&5
4100 $as_echo "$SYSTEMCTL" >&6; }
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 $as_echo "no" >&6; }
4108 # Check whether --with-systemdsystemunitdir was given.
4109 if test "${with_systemdsystemunitdir+set}" = set; then :
4110 withval=$with_systemdsystemunitdir;
4112 with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
4115 if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ; then
4116 SYSTEMD_UNIT_DIR=$with_systemdsystemunitdir
4120 # Check whether --with-systemdsleepdir was given.
4121 if test "${with_systemdsleepdir+set}" = set; then :
4122 withval=$with_systemdsleepdir;
4124 with_systemdsleepdir=$($PKG_CONFIG --variable=systemdsleepdir systemd)
4127 if test -n "$with_systemdsleepdir" -a "x$with_systemdsleepdir" != xno ; then
4128 SYSTEMD_SLEEP_DIR=$with_systemdsleepdir
4134 # Check header files
4136 echo Check header files:
4140 HAVE_SYS_SYSMACROS_H=
4142 for ac_header in ctype.h
4144 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
4145 if test "x$ac_cv_header_ctype_h" = xyes; then :
4146 cat >>confdefs.h <<_ACEOF
4147 #define HAVE_CTYPE_H 1
4154 for ac_header in errno.h
4156 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
4157 if test "x$ac_cv_header_errno_h" = xyes; then :
4158 cat >>confdefs.h <<_ACEOF
4159 #define HAVE_ERRNO_H 1
4166 for ac_header in libintl.h
4168 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4169 if test "x$ac_cv_header_libintl_h" = xyes; then :
4170 cat >>confdefs.h <<_ACEOF
4171 #define HAVE_LIBINTL_H 1
4178 for ac_header in locale.h
4180 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4181 if test "x$ac_cv_header_locale_h" = xyes; then :
4182 cat >>confdefs.h <<_ACEOF
4183 #define HAVE_LOCALE_H 1
4190 for ac_header in linux/sched.h
4192 ac_fn_c_check_header_mongrel "$LINENO" "linux/sched.h" "ac_cv_header_linux_sched_h" "$ac_includes_default"
4193 if test "x$ac_cv_header_linux_sched_h" = xyes; then :
4194 cat >>confdefs.h <<_ACEOF
4195 #define HAVE_LINUX_SCHED_H 1
4197 HAVE_LINUX_SCHED_H=1
4202 for ac_header in net/if.h
4204 ac_fn_c_check_header_mongrel "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default"
4205 if test "x$ac_cv_header_net_if_h" = xyes; then :
4206 cat >>confdefs.h <<_ACEOF
4207 #define HAVE_NET_IF_H 1
4214 for ac_header in regex.h
4216 ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
4217 if test "x$ac_cv_header_regex_h" = xyes; then :
4218 cat >>confdefs.h <<_ACEOF
4219 #define HAVE_REGEX_H 1
4226 for ac_header in signal.h
4228 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
4229 if test "x$ac_cv_header_signal_h" = xyes; then :
4230 cat >>confdefs.h <<_ACEOF
4231 #define HAVE_SIGNAL_H 1
4238 for ac_header in stdio.h
4240 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
4241 if test "x$ac_cv_header_stdio_h" = xyes; then :
4242 cat >>confdefs.h <<_ACEOF
4243 #define HAVE_STDIO_H 1
4250 for ac_header in stdint.h
4252 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
4253 if test "x$ac_cv_header_stdint_h" = xyes; then :
4254 cat >>confdefs.h <<_ACEOF
4255 #define HAVE_STDINT_H 1
4262 for ac_header in fcntl.h
4264 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
4265 if test "x$ac_cv_header_fcntl_h" = xyes; then :
4266 cat >>confdefs.h <<_ACEOF
4267 #define HAVE_FCNTL_H 1
4274 for ac_header in inttypes.h
4276 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
4277 if test "x$ac_cv_header_inttypes_h" = xyes; then :
4278 cat >>confdefs.h <<_ACEOF
4279 #define HAVE_INTTYPES_H 1
4286 for ac_header in libgen.h
4288 ac_fn_c_check_header_mongrel "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default"
4289 if test "x$ac_cv_header_libgen_h" = xyes; then :
4290 cat >>confdefs.h <<_ACEOF
4291 #define HAVE_LIBGEN_H 1
4298 for ac_header in pwd.h
4300 ac_fn_c_check_header_mongrel "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
4301 if test "x$ac_cv_header_pwd_h" = xyes; then :
4302 cat >>confdefs.h <<_ACEOF
4303 #define HAVE_PWD_H 1
4310 for ac_header in time.h
4312 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
4313 if test "x$ac_cv_header_time_h" = xyes; then :
4314 cat >>confdefs.h <<_ACEOF
4315 #define HAVE_TIME_H 1
4322 for ac_header in unistd.h
4324 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
4325 if test "x$ac_cv_header_unistd_h" = xyes; then :
4326 cat >>confdefs.h <<_ACEOF
4327 #define HAVE_UNISTD_H 1
4334 for ac_header in pcp/pmapi.h
4336 ac_fn_c_check_header_mongrel "$LINENO" "pcp/pmapi.h" "ac_cv_header_pcp_pmapi_h" "$ac_includes_default"
4337 if test "x$ac_cv_header_pcp_pmapi_h" = xyes; then :
4338 cat >>confdefs.h <<_ACEOF
4339 #define HAVE_PCP_PMAPI_H 1
4346 for ac_header in pcp/impl.h
4348 ac_fn_c_check_header_mongrel "$LINENO" "pcp/impl.h" "ac_cv_header_pcp_impl_h" "$ac_includes_default"
4349 if test "x$ac_cv_header_pcp_impl_h" = xyes; then :
4350 cat >>confdefs.h <<_ACEOF
4351 #define HAVE_PCP_IMPL_H 1
4358 for ac_header in sys/time.h
4360 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
4361 if test "x$ac_cv_header_sys_time_h" = xyes; then :
4362 cat >>confdefs.h <<_ACEOF
4363 #define HAVE_SYS_TIME_H 1
4370 for ac_header in sys/statvfs.h
4372 ac_fn_c_check_header_mongrel "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
4373 if test "x$ac_cv_header_sys_statvfs_h" = xyes; then :
4374 cat >>confdefs.h <<_ACEOF
4375 #define HAVE_SYS_STATVFS_H 1
4382 for ac_header in sys/types.h
4384 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
4385 if test "x$ac_cv_header_sys_types_h" = xyes; then :
4386 cat >>confdefs.h <<_ACEOF
4387 #define HAVE_SYS_TYPES_H 1
4394 for ac_header in sys/file.h
4396 ac_fn_c_check_header_mongrel "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
4397 if test "x$ac_cv_header_sys_file_h" = xyes; then :
4398 cat >>confdefs.h <<_ACEOF
4399 #define HAVE_SYS_FILE_H 1
4406 for ac_header in sys/ioctl.h
4408 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
4409 if test "x$ac_cv_header_sys_ioctl_h" = xyes; then :
4410 cat >>confdefs.h <<_ACEOF
4411 #define HAVE_SYS_IOCTL_H 1
4418 for ac_header in sys/param.h
4420 ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
4421 if test "x$ac_cv_header_sys_param_h" = xyes; then :
4422 cat >>confdefs.h <<_ACEOF
4423 #define HAVE_SYS_PARAM_H 1
4430 for ac_header in sys/stat.h
4432 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
4433 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
4434 cat >>confdefs.h <<_ACEOF
4435 #define HAVE_SYS_STAT_H 1
4442 for ac_header in sys/sysmacros.h
4444 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
4445 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
4446 cat >>confdefs.h <<_ACEOF
4447 #define HAVE_SYS_SYSMACROS_H 1
4449 HAVE_SYS_SYSMACROS_H=1
4454 for ac_header in sys/utsname.h
4456 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
4457 if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
4458 cat >>confdefs.h <<_ACEOF
4459 #define HAVE_SYS_UTSNAME_H 1
4468 echo Check typedefs, structures and compiler characteristics:
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4471 $as_echo_n "checking return type of signal handlers... " >&6; }
4472 if ${ac_cv_type_signal+:} false; then :
4473 $as_echo_n "(cached) " >&6
4475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4476 /* end confdefs.h. */
4477 #include <sys/types.h>
4483 return *(signal (0, 0)) (0) == 1;
4488 if ac_fn_c_try_compile "$LINENO"; then :
4489 ac_cv_type_signal=int
4491 ac_cv_type_signal=void
4493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4496 $as_echo "$ac_cv_type_signal" >&6; }
4498 cat >>confdefs.h <<_ACEOF
4499 #define RETSIGTYPE $ac_cv_type_signal
4503 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4504 if test "x$ac_cv_type_size_t" = xyes; then :
4508 cat >>confdefs.h <<_ACEOF
4509 #define size_t unsigned int
4514 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4515 if test "x$ac_cv_type_off_t" = xyes; then :
4519 cat >>confdefs.h <<_ACEOF
4520 #define off_t long int
4527 echo Check library functions:
4529 for ac_func in strchr
4531 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
4532 if test "x$ac_cv_func_strchr" = xyes; then :
4533 cat >>confdefs.h <<_ACEOF
4534 #define HAVE_STRCHR 1
4540 for ac_func in strcspn
4542 ac_fn_c_check_func "$LINENO" "strcspn" "ac_cv_func_strcspn"
4543 if test "x$ac_cv_func_strcspn" = xyes; then :
4544 cat >>confdefs.h <<_ACEOF
4545 #define HAVE_STRCSPN 1
4551 for ac_func in strspn
4553 ac_fn_c_check_func "$LINENO" "strspn" "ac_cv_func_strspn"
4554 if test "x$ac_cv_func_strspn" = xyes; then :
4555 cat >>confdefs.h <<_ACEOF
4556 #define HAVE_STRSPN 1
4562 for ac_func in strstr
4564 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
4565 if test "x$ac_cv_func_strstr" = xyes; then :
4566 cat >>confdefs.h <<_ACEOF
4567 #define HAVE_STRSTR 1
4574 # Should we check for lm_sensors?
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors support" >&5
4576 $as_echo_n "checking for sensors support... " >&6; }
4577 # Check whether --enable-sensors was given.
4578 if test "${enable_sensors+set}" = set; then :
4579 enableval=$enable_sensors; SENSORS=$enableval
4584 if test $SENSORS != "yes"; then
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4590 $as_echo "$SENSORS" >&6; }
4592 # Check for lm_sensors
4595 if test $HAVE_SENSORS = "y"; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_get_detected_chips in -lsensors" >&5
4598 $as_echo_n "checking for sensors_get_detected_chips in -lsensors... " >&6; }
4599 if ${ac_cv_lib_sensors_sensors_get_detected_chips+:} false; then :
4600 $as_echo_n "(cached) " >&6
4602 ac_check_lib_save_LIBS=$LIBS
4603 LIBS="-lsensors $LIBS"
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4607 /* Override any GCC internal prototype to avoid an error.
4608 Use char because int might match the return type of a GCC
4609 builtin and then its argument prototype would still apply. */
4613 char sensors_get_detected_chips ();
4617 return sensors_get_detected_chips ();
4622 if ac_fn_c_try_link "$LINENO"; then :
4623 ac_cv_lib_sensors_sensors_get_detected_chips=yes
4625 ac_cv_lib_sensors_sensors_get_detected_chips=no
4627 rm -f core conftest.err conftest.$ac_objext \
4628 conftest$ac_exeext conftest.$ac_ext
4629 LIBS=$ac_check_lib_save_LIBS
4631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_get_detected_chips" >&5
4632 $as_echo "$ac_cv_lib_sensors_sensors_get_detected_chips" >&6; }
4633 if test "x$ac_cv_lib_sensors_sensors_get_detected_chips" = xyes; then :
4634 LFSENSORS="-lsensors"
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors lib" >&5
4640 $as_echo_n "checking for sensors lib... " >&6; }
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4643 #include <sensors/sensors.h>
4644 #include <sensors/error.h>
4653 if ac_fn_c_try_compile "$LINENO"; then :
4654 SENSORS=yes; DFSENSORS="-DHAVE_SENSORS"
4656 HAVE_SENSORS="n"; SENSORS=no
4658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4660 $as_echo "$SENSORS" >&6; }
4666 # Should we check for PCP support?
4667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCP support" >&5
4668 $as_echo_n "checking for PCP support... " >&6; }
4669 # Check whether --enable-pcp was given.
4670 if test "${enable_pcp+set}" = set; then :
4671 enableval=$enable_pcp; PCP=$enableval
4676 if test $PCP != "yes"; then
4681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCP" >&5
4682 $as_echo "$PCP" >&6; }
4684 if test ! $HAVE_PCP_PMAPI_H; then
4688 # Check for PCP libraries
4691 if test $HAVE_PCP = "y"; then
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pmGetVersion in -lpcp" >&5
4694 $as_echo_n "checking for pmGetVersion in -lpcp... " >&6; }
4695 if ${ac_cv_lib_pcp_pmGetVersion+:} false; then :
4696 $as_echo_n "(cached) " >&6
4698 ac_check_lib_save_LIBS=$LIBS
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4703 /* Override any GCC internal prototype to avoid an error.
4704 Use char because int might match the return type of a GCC
4705 builtin and then its argument prototype would still apply. */
4709 char pmGetVersion ();
4713 return pmGetVersion ();
4718 if ac_fn_c_try_link "$LINENO"; then :
4719 ac_cv_lib_pcp_pmGetVersion=yes
4721 ac_cv_lib_pcp_pmGetVersion=no
4723 rm -f core conftest.err conftest.$ac_objext \
4724 conftest$ac_exeext conftest.$ac_ext
4725 LIBS=$ac_check_lib_save_LIBS
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcp_pmGetVersion" >&5
4728 $as_echo "$ac_cv_lib_pcp_pmGetVersion" >&6; }
4729 if test "x$ac_cv_lib_pcp_pmGetVersion" = xyes; then :
4730 LFPCP="-lpcp -lpcp_import"
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCP libraries" >&5
4736 $as_echo_n "checking for PCP libraries... " >&6; }
4737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4738 /* end confdefs.h. */
4739 #include <pcp/pmapi.h>
4740 #include <pcp/import.h>
4749 if ac_fn_c_try_compile "$LINENO"; then :
4750 PCP=yes; DFPCP="-DHAVE_PCP"
4752 HAVE_PCP="n"; PCP=no
4754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCP" >&5
4756 $as_echo "$PCP" >&6; }
4762 if test $HAVE_PCP_IMPL_H; then
4770 echo Check system services:
4772 # Check whether --enable-largefile was given.
4773 if test "${enable_largefile+set}" = set; then :
4774 enableval=$enable_largefile;
4777 if test "$enable_largefile" != no; then
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4780 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4781 if ${ac_cv_sys_largefile_CC+:} false; then :
4782 $as_echo_n "(cached) " >&6
4784 ac_cv_sys_largefile_CC=no
4785 if test "$GCC" != yes; then
4788 # IRIX 6.2 and later do not support large files by default,
4789 # so use the C compiler's -n32 option if that helps.
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4792 #include <sys/types.h>
4793 /* Check that off_t can represent 2**63 - 1 correctly.
4794 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4795 since some C++ compilers masquerading as C compilers
4796 incorrectly reject 9223372036854775807. */
4797 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4798 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4799 && LARGE_OFF_T % 2147483647 == 1)
4809 if ac_fn_c_try_compile "$LINENO"; then :
4812 rm -f core conftest.err conftest.$ac_objext
4814 if ac_fn_c_try_compile "$LINENO"; then :
4815 ac_cv_sys_largefile_CC=' -n32'; break
4817 rm -f core conftest.err conftest.$ac_objext
4821 rm -f conftest.$ac_ext
4824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4825 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4826 if test "$ac_cv_sys_largefile_CC" != no; then
4827 CC=$CC$ac_cv_sys_largefile_CC
4830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4831 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4832 if ${ac_cv_sys_file_offset_bits+:} false; then :
4833 $as_echo_n "(cached) " >&6
4836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4837 /* end confdefs.h. */
4838 #include <sys/types.h>
4839 /* Check that off_t can represent 2**63 - 1 correctly.
4840 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4841 since some C++ compilers masquerading as C compilers
4842 incorrectly reject 9223372036854775807. */
4843 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4844 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4845 && LARGE_OFF_T % 2147483647 == 1)
4855 if ac_fn_c_try_compile "$LINENO"; then :
4856 ac_cv_sys_file_offset_bits=no; break
4858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h. */
4861 #define _FILE_OFFSET_BITS 64
4862 #include <sys/types.h>
4863 /* Check that off_t can represent 2**63 - 1 correctly.
4864 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4865 since some C++ compilers masquerading as C compilers
4866 incorrectly reject 9223372036854775807. */
4867 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4868 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4869 && LARGE_OFF_T % 2147483647 == 1)
4879 if ac_fn_c_try_compile "$LINENO"; then :
4880 ac_cv_sys_file_offset_bits=64; break
4882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4883 ac_cv_sys_file_offset_bits=unknown
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4888 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4889 case $ac_cv_sys_file_offset_bits in #(
4892 cat >>confdefs.h <<_ACEOF
4893 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4898 if test $ac_cv_sys_file_offset_bits = unknown; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4900 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4901 if ${ac_cv_sys_large_files+:} false; then :
4902 $as_echo_n "(cached) " >&6
4905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4906 /* end confdefs.h. */
4907 #include <sys/types.h>
4908 /* Check that off_t can represent 2**63 - 1 correctly.
4909 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4910 since some C++ compilers masquerading as C compilers
4911 incorrectly reject 9223372036854775807. */
4912 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4913 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4914 && LARGE_OFF_T % 2147483647 == 1)
4924 if ac_fn_c_try_compile "$LINENO"; then :
4925 ac_cv_sys_large_files=no; break
4927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4929 /* end confdefs.h. */
4930 #define _LARGE_FILES 1
4931 #include <sys/types.h>
4932 /* Check that off_t can represent 2**63 - 1 correctly.
4933 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4934 since some C++ compilers masquerading as C compilers
4935 incorrectly reject 9223372036854775807. */
4936 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4937 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4938 && LARGE_OFF_T % 2147483647 == 1)
4948 if ac_fn_c_try_compile "$LINENO"; then :
4949 ac_cv_sys_large_files=1; break
4951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4952 ac_cv_sys_large_files=unknown
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4957 $as_echo "$ac_cv_sys_large_files" >&6; }
4958 case $ac_cv_sys_large_files in #(
4961 cat >>confdefs.h <<_ACEOF
4962 #define _LARGE_FILES $ac_cv_sys_large_files
4974 echo Check configuration:
4976 # Check arguments used
4978 # Optional Features:
4979 # --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
4980 # --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
4981 # --disable-largefile omit support for large files
4982 # --disable-nls disable National Language Support
4983 # --disable-file-attr don't set attributes on files being installed
4984 # --enable-install-cron tell sysstat to install cron scripts
4985 # --collect-all tell sadc to collect all possible data
4986 # --enable-clean-sa-dir clean system activity directory
4987 # --disable-compress-manpg do not compress manual pages when installed
4988 # --enable-debuginfo enable debug output (--debuginfo option)
4989 # --disable-documentation do not install documentation (man pages...)
4990 # --disable-sensors do not link against libsensors even if available
4991 # --disable-pcp do not link against PCP libraries even if available
4992 # --disable-stripping do not strip object files
4993 # --enable-copy-only only copy files when installing sysstat
4994 # --enable-use-crond use standard cron daemon
4996 # Some influential environment variables:
4997 # rcdir directory where startup scripts are installed
4998 # sa_lib_dir sadc, sa1 and sa2 directory
4999 # sa_dir system activity daily datafiles directory
5000 # sar_dir sar binary location. Used only in sa2 shell script
5001 # conf_dir sysstat configuration directory (default is /etc/sysconfig)
5002 # conf_file sysstat configuration file (default is sysstat)
5003 # history number of daily datafiles to keep (default value is 7)
5004 # delay_range maximum delay (in seconds) to wait before sa2 script generates its reports
5005 # compressafter number of days after which datafiles are compressed
5006 # man_group group for man pages
5007 # cron_owner crontab owner
5008 # cron_interval crontab sampling interval
5009 # sadc_options options to be passed to sadc
5011 # Fine tuning the installation directories:
5012 # --mandir=DIR man documentation directory [PREFIX/man]
5013 # --docdir=DIR other documentation directory [PREFIX/share/doc]
5015 # Installation directories:
5016 # --prefix=PREFIX install architecture-independent files in PREFIX
5018 # --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
5022 if test -d /etc/init.d && test ! -L /etc/init.d; then
5023 if test -d /etc/init.d/rc2.d; then
5030 INIT_DIR=/etc/init.d
5031 elif test -d /sbin/init.d; then
5033 INIT_DIR=/sbin/init.d
5037 INIT_DIR=/etc/rc.d/init.d
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking run-commands directory" >&5
5042 $as_echo_n "checking run-commands directory... " >&6; }
5044 if test x$rcdir != x""; then
5045 # Override previous rc directories values
5047 INIT_DIR=$rcdir/init.d
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC_DIR" >&5
5051 $as_echo "$RC_DIR" >&6; }
5052 if test ! -d $RC_DIR; then
5053 echo "INFO: Directory ${RC_DIR} doesn't exist."
5054 echo "INFO: Startup scripts won't be installed."
5061 if test $HAVE_SYS_SYSMACROS_H; then
5068 if test $HAVE_LINUX_SCHED_H; then
5075 if test $HAVE_SYS_PARAM_H; then
5082 # Set sadc directory
5083 if test $prefix != "NONE"; then
5086 AuxPrefix=/usr/local
5089 SADC_DIR=$AuxPrefix/lib
5090 if test -d $AuxPrefix/lib64; then
5091 # Verify that this OS is really 64 bit
5092 BITS=$(getconf LONG_BIT 2>/dev/null)
5093 if test $? = 0; then
5094 if test $BITS = 64; then
5095 SADC_DIR=$AuxPrefix/lib64
5098 # Fallback: look for lm (long mode) flag to know if CPU is 64 bit
5099 grep " lm " /proc/cpuinfo >/dev/null 2>&1
5100 if test $? = 0; then
5101 SADC_DIR=$AuxPrefix/lib64
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sadc directory" >&5
5107 $as_echo_n "checking sadc directory... " >&6; }
5109 if test x$sa_lib_dir != x""; then
5110 SA_LIB_DIR=$sa_lib_dir
5112 SA_LIB_DIR=$SADC_DIR/sa
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_LIB_DIR" >&5
5115 $as_echo "$SA_LIB_DIR" >&6; }
5116 if test ! -d $SA_LIB_DIR; then
5117 echo "INFO: Directory ${SA_LIB_DIR} will be created during installation stage."
5121 # Set system activity directory
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system activity directory" >&5
5123 $as_echo_n "checking system activity directory... " >&6; }
5125 if test x$sa_dir != x""; then
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_DIR" >&5
5131 $as_echo "$SA_DIR" >&6; }
5132 if test ! -d $SA_DIR; then
5133 echo "INFO: Directory ${SA_DIR} will be created during installation stage."
5137 # sar binary location. Used only in sa2 shell script
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sar directory" >&5
5139 $as_echo_n "checking sar directory... " >&6; }
5141 if test x$sar_dir != x""; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SAR_DIR" >&5
5147 $as_echo "$SAR_DIR" >&6; }
5150 # Set configuration directory
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysstat configuration directory" >&5
5152 $as_echo_n "checking sysstat configuration directory... " >&6; }
5154 if test x$conf_dir != x""; then
5155 SYSCONFIG_DIR=$conf_dir
5157 SYSCONFIG_DIR=/etc/sysconfig
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFIG_DIR" >&5
5160 $as_echo "$SYSCONFIG_DIR" >&6; }
5161 if test ! -d $SYSCONFIG_DIR; then
5162 echo "INFO: Directory ${SYSCONFIG_DIR} will be created during installation stage."
5166 # Set configuration directory
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysstat configuration file" >&5
5168 $as_echo_n "checking sysstat configuration file... " >&6; }
5170 if test x$conf_file != x""; then
5171 SYSCONFIG_FILE=$conf_file
5173 SYSCONFIG_FILE=sysstat
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFIG_FILE" >&5
5176 $as_echo "$SYSCONFIG_FILE" >&6; }
5179 # National Language Support
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking National Language Support" >&5
5181 $as_echo_n "checking National Language Support... " >&6; }
5182 # Check whether --enable-nls was given.
5183 if test "${enable_nls+set}" = set; then :
5184 enableval=$enable_nls; AUX_NLS=$enableval
5189 if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_NLS" >&5
5197 $as_echo "$AUX_NLS" >&6; }
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5
5199 $as_echo_n "checking for gettext in -lintl... " >&6; }
5200 if ${ac_cv_lib_intl_gettext+:} false; then :
5201 $as_echo_n "(cached) " >&6
5203 ac_check_lib_save_LIBS=$LIBS
5205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5206 /* end confdefs.h. */
5208 /* Override any GCC internal prototype to avoid an error.
5209 Use char because int might match the return type of a GCC
5210 builtin and then its argument prototype would still apply. */
5223 if ac_fn_c_try_link "$LINENO"; then :
5224 ac_cv_lib_intl_gettext=yes
5226 ac_cv_lib_intl_gettext=no
5228 rm -f core conftest.err conftest.$ac_objext \
5229 conftest$ac_exeext conftest.$ac_ext
5230 LIBS=$ac_check_lib_save_LIBS
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5
5233 $as_echo "$ac_cv_lib_intl_gettext" >&6; }
5234 if test "x$ac_cv_lib_intl_gettext" = xyes; then :
5240 if test $AUX_NLS = "yes" && test x$MSGFMT != x"msgfmt"; then
5241 echo "WARNING: msgfmt command not found!"
5244 if test $AUX_NLS = "yes" && test x$XGETTEXT != x"xgettext"; then
5245 echo "WARNING: xgettext command not found!"
5248 if test $AUX_NLS = "yes" && test x$MSGMERGE != x"msgmerge"; then
5249 echo "WARNING: msgmerge command not found!"
5252 if test $NLS = "y" && test $LACKING_GETTEXT = "y"; then
5253 echo "WARNING: Disabling NLS"
5258 # Data history to keep by sa2
5259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of daily data files to keep" >&5
5260 $as_echo_n "checking number of daily data files to keep... " >&6; }
5262 if test x$history = x""; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HISTORY" >&5
5268 $as_echo "$HISTORY" >&6; }
5271 # Number of days after which datafiles are compressed
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of days after which data files are compressed" >&5
5273 $as_echo_n "checking number of days after which data files are compressed... " >&6; }
5275 if test x$compressafter = x""; then
5278 COMPRESSAFTER=$compressafter
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESSAFTER" >&5
5281 $as_echo "$COMPRESSAFTER" >&6; }
5284 # Random delay to wait before sa2 script runs
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking random delay to wait before sa2 script runs" >&5
5286 $as_echo_n "checking random delay to wait before sa2 script runs... " >&6; }
5288 if test x$delay_range = x""; then
5291 DELAY_RANGE=$delay_range
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DELAY_RANGE" >&5
5294 $as_echo "$DELAY_RANGE" >&6; }
5298 grep ^man: /etc/group >/dev/null 2>&1
5299 if test $? = 0; then
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group for manual pages" >&5
5306 $as_echo_n "checking group for manual pages... " >&6; }
5308 if test x$man_group = x""; then
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5311 $as_echo "$MAN_GROUP" >&6; }
5313 grep ^$man_group: /etc/group >/dev/null 2>&1
5314 if test $? = 1; then
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5317 $as_echo "$MAN_GROUP" >&6; }
5318 echo "WARNING: Group ${man_group} not found: Using ${GRP} instead"
5320 MAN_GROUP=$man_group
5321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5322 $as_echo "$MAN_GROUP" >&6; }
5327 # Don't set attributes on files being installed?
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether attributes should not be set on files being installed" >&5
5329 $as_echo_n "checking whether attributes should not be set on files being installed... " >&6; }
5330 # Check whether --enable-file-attr was given.
5331 if test "${enable_file_attr+set}" = set; then :
5332 enableval=$enable_file_attr; AUX_IMG=$enableval
5337 if test $AUX_IMG != "no"; then
5338 IGNORE_FILE_ATTRIBUTES=n
5341 IGNORE_FILE_ATTRIBUTES=y
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_IMG" >&5
5345 $as_echo "$AUX_IMG" >&6; }
5348 # Compress manual pages?
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether manual pages should be compressed" >&5
5350 $as_echo_n "checking whether manual pages should be compressed... " >&6; }
5351 # Check whether --enable-compress-manpg was given.
5352 if test "${enable_compress_manpg+set}" = set; then :
5353 enableval=$enable_compress_manpg; AUX_MPG=$enableval
5358 if test $AUX_MPG != "yes"; then
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_MPG" >&5
5364 $as_echo "$AUX_MPG" >&6; }
5367 # Check whether sa directory should be cleaned
5368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system activity directory should be cleaned" >&5
5369 $as_echo_n "checking whether system activity directory should be cleaned... " >&6; }
5370 # Check whether --enable-clean-sa-dir was given.
5371 if test "${enable_clean_sa_dir+set}" = set; then :
5372 enableval=$enable_clean_sa_dir; AUX_CSD=$enableval
5377 if test $AUX_CSD != "yes"; then
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CSD" >&5
5384 $as_echo "$AUX_CSD" >&6; }
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cron should start sar automatically" >&5
5389 $as_echo_n "checking whether cron should start sar automatically... " >&6; }
5390 # Check whether --enable-install-cron was given.
5391 if test "${enable_install_cron+set}" = set; then :
5392 enableval=$enable_install_cron; INSTALL_CRON=$enableval
5397 if test $INSTALL_CRON != "yes"; then
5404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CRON" >&5
5405 $as_echo "$AUX_CRON" >&6; }
5410 if test $INSTALL_CRON = "y"; then
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab owner" >&5
5412 $as_echo_n "checking crontab owner... " >&6; }
5414 if test x$cron_owner = x""; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5417 $as_echo "$CRON_OWNER" >&6; }
5419 grep ^$cron_owner: /etc/passwd >/dev/null 2>&1
5420 if test $? = 1; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5423 $as_echo "$CRON_OWNER" >&6; }
5424 echo "WARNING: User ${cron_owner} not found: Using ${CUSR} instead."
5426 CRON_OWNER=$cron_owner
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5428 $as_echo "$CRON_OWNER" >&6; }
5431 echo "INFO: Crontab for ${CRON_OWNER} will be saved in current directory if necessary"
5432 if test $CRON_OWNER = "root"; then
5435 REM_CHOWN="# REM_CHOWN"
5437 SU_C_OWNER="su $CRON_OWNER -c "
5439 # " (ignore this line)
5443 # Check whether we should use the standard cron daemon
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we should use the standard cron daemon" >&5
5445 $as_echo_n "checking whether we should use the standard cron daemon... " >&6; }
5446 # Check whether --enable-use-crond was given.
5447 if test "${enable_use_crond+set}" = set; then :
5448 enableval=$enable_use_crond; UCROND=$enableval
5453 if test $UCROND != "yes"; then
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UCROND" >&5
5460 $as_echo "$UCROND" >&6; }
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab interval" >&5
5465 $as_echo_n "checking crontab interval... " >&6; }
5467 if test x$cron_interval = x""; then
5470 CRON_INTERVAL=$cron_interval
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_INTERVAL" >&5
5473 $as_echo "$CRON_INTERVAL" >&6; }
5474 CRON_INTERVAL_SEC=`expr ${CRON_INTERVAL} \* 60`
5475 CRON_COUNT=`expr 60 / ${CRON_INTERVAL}`
5477 # Check whether sadc should collect all possible activities
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sadc should collect all possible activities" >&5
5479 $as_echo_n "checking whether sadc should collect all possible activities... " >&6; }
5480 # Check whether --enable-collect-all was given.
5481 if test "${enable_collect_all+set}" = set; then :
5482 enableval=$enable_collect_all; COLLECT_ALL=$enableval
5487 if test $COLLECT_ALL != "yes"; then
5491 COLLECT_ALL="-S XALL"
5494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_COLL" >&5
5495 $as_echo "$AUX_COLL" >&6; }
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking options to be passed to sadc" >&5
5498 $as_echo_n "checking options to be passed to sadc... " >&6; }
5500 if test x"$sadc_options" != x""; then
5501 SADC_OPT="$sadc_options"
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SADC_OPT" >&5
5506 $as_echo "$SADC_OPT" >&6; }
5509 # Check whether files should only be copied
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether files should only be copied" >&5
5511 $as_echo_n "checking whether files should only be copied... " >&6; }
5512 # Check whether --enable-copy-only was given.
5513 if test "${enable_copy_only+set}" = set; then :
5514 enableval=$enable_copy_only; OCOPY=$enableval
5519 if test $OCOPY != "yes"; then
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCOPY" >&5
5526 $as_echo "$OCOPY" >&6; }
5533 REM_CHOWN="# REM_CHOWN"
5535 CRON_INTERVAL_SEC=600
5548 # Check whether documentation should be installed
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether documentation should be installed" >&5
5550 $as_echo_n "checking whether documentation should be installed... " >&6; }
5551 # Check whether --enable-documentation was given.
5552 if test "${enable_documentation+set}" = set; then :
5553 enableval=$enable_documentation; AUX_DOC=$enableval
5558 if test $AUX_DOC != "no"; then
5565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_DOC" >&5
5566 $as_echo "$AUX_DOC" >&6; }
5569 # Set directory for installing manual pages (see comment in Makefile)
5572 # Check whether debug mode should be activated
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether debug mode should be activated" >&5
5574 $as_echo_n "checking whether debug mode should be activated... " >&6; }
5575 # Check whether --enable-debuginfo was given.
5576 if test "${enable_debuginfo+set}" = set; then :
5577 enableval=$enable_debuginfo; WITH_DEBUG=yes ; DFLAGS="$DFLAGS -DDEBUG"
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WITH_DEBUG" >&5
5583 $as_echo "$WITH_DEBUG" >&6; }
5587 # Check whether object files should be stripped
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether object files should be stripped" >&5
5589 $as_echo_n "checking whether object files should be stripped... " >&6; }
5590 # Check whether --enable-stripping was given.
5591 if test "${enable_stripping+set}" = set; then :
5592 enableval=$enable_stripping; AUX_STRIP=$enableval
5597 if test $AUX_STRIP != "no"; then
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_STRIP" >&5
5605 $as_echo "$AUX_STRIP" >&6; }
5610 echo Now create files:
5612 ac_config_files="$ac_config_files sa1"
5613 # Permissions must be changed
5614 ac_config_files="$ac_config_files sa2"
5615 # Permissions must be changed
5616 ac_config_files="$ac_config_files cron/crontab:cron/crontab.sample"
5617 # File must be renamed
5618 ac_config_files="$ac_config_files sysstat.sysconfig"
5620 ac_config_files="$ac_config_files version.h:version.in"
5621 # File must be renamed
5622 ac_config_files="$ac_config_files sysconfig.h:sysconfig.in"
5623 # File must be renamed
5624 ac_config_files="$ac_config_files cron/sysstat.cron.daily"
5626 ac_config_files="$ac_config_files cron/sysstat.cron.hourly"
5628 ac_config_files="$ac_config_files cron/sysstat.crond"
5630 ac_config_files="$ac_config_files cron/sysstat.crond.sample.in:cron/sysstat.crond.in"
5632 ac_config_files="$ac_config_files sysstat"
5633 # Permissions must be changed
5634 ac_config_files="$ac_config_files sysstat.service"
5636 ac_config_files="$ac_config_files cron/sysstat-collect.service"
5638 ac_config_files="$ac_config_files cron/sysstat-collect.timer"
5640 ac_config_files="$ac_config_files cron/sysstat-summary.service"
5642 ac_config_files="$ac_config_files cron/sysstat-summary.timer"
5644 ac_config_files="$ac_config_files cron/sysstat.sleep"
5645 # Permissions must be changed
5646 ac_config_files="$ac_config_files man/sa1.8:man/sa1.in"
5647 # File must be renamed
5648 ac_config_files="$ac_config_files man/sa2.8:man/sa2.in"
5649 # File must be renamed
5650 ac_config_files="$ac_config_files man/sadc.8:man/sadc.in"
5651 # File must be renamed
5652 ac_config_files="$ac_config_files man/sadf.1:man/sadf.in"
5653 # File must be renamed
5654 ac_config_files="$ac_config_files man/sar.1:man/sar.in"
5655 # File must be renamed
5656 ac_config_files="$ac_config_files man/sysstat.5:man/sysstat.in"
5657 # File must be renamed
5658 ac_config_files="$ac_config_files man/iostat.1:man/iostat.in"
5659 # File must be renamed
5660 ac_config_files="$ac_config_files man/cifsiostat.1:man/cifsiostat.in"
5661 # File must be renamed
5662 ac_config_files="$ac_config_files tests/variables"
5665 ac_config_files="$ac_config_files Makefile"
5667 cat >confcache <<\_ACEOF
5668 # This file is a shell script that caches the results of configure
5669 # tests run on this system so they can be shared between configure
5670 # scripts and configure runs, see configure's option --config-cache.
5671 # It is not useful on other systems. If it contains results you don't
5672 # want to keep, you may remove or edit it.
5674 # config.status only pays attention to the cache file if you give it
5675 # the --recheck option to rerun configure.
5677 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5683 # The following way of writing the cache mishandles newlines in values,
5684 # but we know of no workaround that is simple, portable, and efficient.
5685 # So, we kill variables containing newlines.
5686 # Ultrix sh set writes to stderr and can't be redirected directly,
5687 # and sets the high bit in the cache file unless we assign to the vars.
5689 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5690 eval ac_val=\$$ac_var
5694 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5695 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5698 _ | IFS | as_nl) ;; #(
5699 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5700 *) { eval $ac_var=; unset $ac_var;} ;;
5706 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5707 *${as_nl}ac_space=\ *)
5708 # `set' does not quote correctly, so add quotes: double-quote
5709 # substitution turns \\\\ into \\, and sed turns \\ into \.
5712 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5715 # `set' quotes correctly as required by POSIX, so do not add quotes.
5716 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5725 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5727 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5729 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5730 if test -w "$cache_file"; then
5731 if test "x$cache_file" != "x/dev/null"; then
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5733 $as_echo "$as_me: updating cache $cache_file" >&6;}
5734 if test ! -f "$cache_file" || test -h "$cache_file"; then
5735 cat confcache >"$cache_file"
5737 case $cache_file in #(
5739 mv -f confcache "$cache_file"$$ &&
5740 mv -f "$cache_file"$$ "$cache_file" ;; #(
5742 mv -f confcache "$cache_file" ;;
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5748 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5753 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5754 # Let make expand exec_prefix.
5755 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5757 # Transform confdefs.h into DEFS.
5758 # Protect against shell expansion while executing Makefile rules.
5759 # Protect against Makefile macro expansion.
5761 # If the first sed substitution is executed (which looks for macros that
5762 # take arguments), then branch to the quote section. Otherwise,
5763 # look for a macro that doesn't take arguments.
5773 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5775 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5779 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5792 DEFS=`sed -n "$ac_script" confdefs.h`
5798 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5799 # 1. Remove the extension, and $U if already installed.
5800 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5801 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5802 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5803 # will be set to the directory where LIBOBJS objects are built.
5804 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5805 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5809 LTLIBOBJS=$ac_ltlibobjs
5813 : "${CONFIG_STATUS=./config.status}"
5815 ac_clean_files_save=$ac_clean_files
5816 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5818 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5820 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5822 # Generated by $as_me.
5823 # Run this file to recreate the current configuration.
5824 # Compiler output produced by configure, useful for debugging
5825 # configure, is in config.log if it exists.
5831 SHELL=\${CONFIG_SHELL-$SHELL}
5834 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5835 ## -------------------- ##
5836 ## M4sh Initialization. ##
5837 ## -------------------- ##
5839 # Be more Bourne compatible
5840 DUALCASE=1; export DUALCASE # for MKS sh
5841 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5844 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5845 # is contrary to our usage. Disable this feature.
5846 alias -g '${1+"$@"}'='"$@"'
5847 setopt NO_GLOB_SUBST
5849 case `(set -o) 2>/dev/null` in #(
5861 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5862 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5863 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5864 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5865 # Prefer a ksh shell builtin over an external printf program on Solaris,
5866 # but without wasting forks for bash or zsh.
5867 if test -z "$BASH_VERSION$ZSH_VERSION" \
5868 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5869 as_echo='print -r --'
5870 as_echo_n='print -rn --'
5871 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5872 as_echo='printf %s\n'
5873 as_echo_n='printf %s'
5875 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5876 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5877 as_echo_n='/usr/ucb/echo -n'
5879 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5880 as_echo_n_body='eval
5884 expr "X$arg" : "X\\(.*\\)$as_nl";
5885 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5887 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5889 export as_echo_n_body
5890 as_echo_n='sh -c $as_echo_n_body as_echo'
5893 as_echo='sh -c $as_echo_body as_echo'
5896 # The user is always right.
5897 if test "${PATH_SEPARATOR+set}" != set; then
5899 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5900 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5907 # We need space, tab and new line, in precisely that order. Quoting is
5908 # there to prevent editors from complaining about space-tab.
5909 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5910 # splitting by setting IFS to empty value.)
5913 # Find who we are. Look in the path if we contain no directory separator.
5916 *[\\/]* ) as_myself=$0 ;;
5917 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5921 test -z "$as_dir" && as_dir=.
5922 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5928 # We did not find ourselves, most probably we were run as `sh COMMAND'
5929 # in which case we are not to be found in the path.
5930 if test "x$as_myself" = x; then
5933 if test ! -f "$as_myself"; then
5934 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5938 # Unset variables that we do not need and which cause bugs (e.g. in
5939 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5940 # suppresses any "Segmentation fault" message there. '((' could
5941 # trigger a bug in pdksh 5.2.14.
5942 for as_var in BASH_ENV ENV MAIL MAILPATH
5943 do eval test x\${$as_var+set} = xset \
5944 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5957 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5960 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5961 # ----------------------------------------
5962 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5963 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5964 # script with STATUS, using 1 if that was 0.
5967 as_status=$1; test $as_status -eq 0 && as_status=1
5969 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5970 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5972 $as_echo "$as_me: error: $2" >&2
5973 as_fn_exit $as_status
5977 # as_fn_set_status STATUS
5978 # -----------------------
5979 # Set $? to STATUS, without forking.
5983 } # as_fn_set_status
5987 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5997 # Portably unset VAR.
6000 { eval $1=; unset $1;}
6002 as_unset=as_fn_unset
6003 # as_fn_append VAR VALUE
6004 # ----------------------
6005 # Append the text in VALUE to the end of the definition contained in VAR. Take
6006 # advantage of any shell optimizations that allow amortized linear growth over
6007 # repeated appends, instead of the typical quadratic growth present in naive
6009 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6010 eval 'as_fn_append ()
6021 # as_fn_arith ARG...
6022 # ------------------
6023 # Perform arithmetic evaluation on the ARGs, and store the result in the
6024 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6025 # must be portable across $(()) and expr.
6026 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6027 eval 'as_fn_arith ()
6034 as_val=`expr "$@" || test $? -eq 1`
6039 if expr a : '\(a\)' >/dev/null 2>&1 &&
6040 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6046 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6047 as_basename=basename
6052 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6058 as_me=`$as_basename -- "$0" ||
6059 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6060 X"$0" : 'X\(//\)$' \| \
6061 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6063 sed '/^.*\/\([^/][^/]*\)\/*$/{
6077 # Avoid depending upon Character Ranges.
6078 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6079 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6080 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6081 as_cr_digits='0123456789'
6082 as_cr_alnum=$as_cr_Letters$as_cr_digits
6084 ECHO_C= ECHO_N= ECHO_T=
6085 case `echo -n x` in #(((((
6087 case `echo 'xy\c'` in
6088 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6090 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6097 rm -f conf$$ conf$$.exe conf$$.file
6098 if test -d conf$$.dir; then
6099 rm -f conf$$.dir/conf$$.file
6102 mkdir conf$$.dir 2>/dev/null
6104 if (echo >conf$$.file) 2>/dev/null; then
6105 if ln -s conf$$.file conf$$ 2>/dev/null; then
6107 # ... but there are two gotchas:
6108 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6109 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6110 # In both cases, we have to default to `cp -pR'.
6111 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6113 elif ln conf$$.file conf$$ 2>/dev/null; then
6121 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6122 rmdir conf$$.dir 2>/dev/null
6127 # Create "$as_dir" as a directory, including parents if necessary.
6132 -*) as_dir=./$as_dir;;
6134 test -d "$as_dir" || eval $as_mkdir_p || {
6138 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6139 *) as_qdir=$as_dir;;
6141 as_dirs="'$as_qdir' $as_dirs"
6142 as_dir=`$as_dirname -- "$as_dir" ||
6143 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6144 X"$as_dir" : 'X\(//\)[^/]' \| \
6145 X"$as_dir" : 'X\(//\)$' \| \
6146 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6147 $as_echo X"$as_dir" |
6148 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6165 test -d "$as_dir" && break
6167 test -z "$as_dirs" || eval "mkdir $as_dirs"
6168 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6172 if mkdir -p . 2>/dev/null; then
6173 as_mkdir_p='mkdir -p "$as_dir"'
6175 test -d ./-p && rmdir ./-p
6180 # as_fn_executable_p FILE
6181 # -----------------------
6182 # Test if FILE is an executable regular file.
6183 as_fn_executable_p ()
6185 test -f "$1" && test -x "$1"
6186 } # as_fn_executable_p
6188 as_executable_p=as_fn_executable_p
6190 # Sed expression to map a string onto a valid CPP name.
6191 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6193 # Sed expression to map a string onto a valid variable name.
6194 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6198 ## ----------------------------------- ##
6199 ## Main body of $CONFIG_STATUS script. ##
6200 ## ----------------------------------- ##
6202 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6205 # Save the log message, to keep $0 and so on meaningful, and to
6206 # report actual input values of CONFIG_FILES etc. instead of their
6207 # values after options handling.
6209 This file was extended by sysstat $as_me 12.5.2, which was
6210 generated by GNU Autoconf 2.69. Invocation command line was
6212 CONFIG_FILES = $CONFIG_FILES
6213 CONFIG_HEADERS = $CONFIG_HEADERS
6214 CONFIG_LINKS = $CONFIG_LINKS
6215 CONFIG_COMMANDS = $CONFIG_COMMANDS
6218 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6223 case $ac_config_files in *"
6224 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6230 # Files that config.status was made for.
6231 config_files="$ac_config_files"
6235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6237 \`$as_me' instantiates files and other configuration actions
6238 from templates according to the current configuration. Unless the files
6239 and actions are specified as TAGs, all are instantiated by default.
6241 Usage: $0 [OPTION]... [TAG]...
6243 -h, --help print this help, then exit
6244 -V, --version print version number and configuration settings, then exit
6245 --config print configuration, then exit
6246 -q, --quiet, --silent
6247 do not print progress messages
6248 -d, --debug don't remove temporary files
6249 --recheck update $as_me by reconfiguring in the same conditions
6250 --file=FILE[:TEMPLATE]
6251 instantiate the configuration file FILE
6253 Configuration files:
6256 Report bugs to the package provider."
6259 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6260 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6262 sysstat config.status 12.5.2
6263 configured by $0, generated by GNU Autoconf 2.69,
6264 with options \\"\$ac_cs_config\\"
6266 Copyright (C) 2012 Free Software Foundation, Inc.
6267 This config.status script is free software; the Free Software Foundation
6268 gives unlimited permission to copy, distribute and modify it."
6272 test -n "\$AWK" || AWK=awk
6275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6276 # The default lists apply if the user does not specify any file.
6282 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6283 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6287 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6299 # Handling of the options.
6300 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6302 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6303 $as_echo "$ac_cs_version"; exit ;;
6304 --config | --confi | --conf | --con | --co | --c )
6305 $as_echo "$ac_cs_config"; exit ;;
6306 --debug | --debu | --deb | --de | --d | -d )
6308 --file | --fil | --fi | --f )
6311 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6312 '') as_fn_error $? "missing file argument" ;;
6314 as_fn_append CONFIG_FILES " '$ac_optarg'"
6315 ac_need_defaults=false;;
6316 --he | --h | --help | --hel | -h )
6317 $as_echo "$ac_cs_usage"; exit ;;
6318 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6319 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6323 -*) as_fn_error $? "unrecognized option: \`$1'
6324 Try \`$0 --help' for more information." ;;
6326 *) as_fn_append ac_config_targets " $1"
6327 ac_need_defaults=false ;;
6333 ac_configure_extra_args=
6335 if $ac_cs_silent; then
6337 ac_configure_extra_args="$ac_configure_extra_args --silent"
6341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6342 if \$ac_cs_recheck; then
6343 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6345 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6346 CONFIG_SHELL='$SHELL'
6352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6356 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6357 ## Running $as_me. ##
6363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6368 # Handling of arguments.
6369 for ac_config_target in $ac_config_targets
6371 case $ac_config_target in
6372 "sa1") CONFIG_FILES="$CONFIG_FILES sa1" ;;
6373 "sa2") CONFIG_FILES="$CONFIG_FILES sa2" ;;
6374 "cron/crontab") CONFIG_FILES="$CONFIG_FILES cron/crontab:cron/crontab.sample" ;;
6375 "sysstat.sysconfig") CONFIG_FILES="$CONFIG_FILES sysstat.sysconfig" ;;
6376 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:version.in" ;;
6377 "sysconfig.h") CONFIG_FILES="$CONFIG_FILES sysconfig.h:sysconfig.in" ;;
6378 "cron/sysstat.cron.daily") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.daily" ;;
6379 "cron/sysstat.cron.hourly") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.hourly" ;;
6380 "cron/sysstat.crond") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond" ;;
6381 "cron/sysstat.crond.sample.in") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond.sample.in:cron/sysstat.crond.in" ;;
6382 "sysstat") CONFIG_FILES="$CONFIG_FILES sysstat" ;;
6383 "sysstat.service") CONFIG_FILES="$CONFIG_FILES sysstat.service" ;;
6384 "cron/sysstat-collect.service") CONFIG_FILES="$CONFIG_FILES cron/sysstat-collect.service" ;;
6385 "cron/sysstat-collect.timer") CONFIG_FILES="$CONFIG_FILES cron/sysstat-collect.timer" ;;
6386 "cron/sysstat-summary.service") CONFIG_FILES="$CONFIG_FILES cron/sysstat-summary.service" ;;
6387 "cron/sysstat-summary.timer") CONFIG_FILES="$CONFIG_FILES cron/sysstat-summary.timer" ;;
6388 "cron/sysstat.sleep") CONFIG_FILES="$CONFIG_FILES cron/sysstat.sleep" ;;
6389 "man/sa1.8") CONFIG_FILES="$CONFIG_FILES man/sa1.8:man/sa1.in" ;;
6390 "man/sa2.8") CONFIG_FILES="$CONFIG_FILES man/sa2.8:man/sa2.in" ;;
6391 "man/sadc.8") CONFIG_FILES="$CONFIG_FILES man/sadc.8:man/sadc.in" ;;
6392 "man/sadf.1") CONFIG_FILES="$CONFIG_FILES man/sadf.1:man/sadf.in" ;;
6393 "man/sar.1") CONFIG_FILES="$CONFIG_FILES man/sar.1:man/sar.in" ;;
6394 "man/sysstat.5") CONFIG_FILES="$CONFIG_FILES man/sysstat.5:man/sysstat.in" ;;
6395 "man/iostat.1") CONFIG_FILES="$CONFIG_FILES man/iostat.1:man/iostat.in" ;;
6396 "man/cifsiostat.1") CONFIG_FILES="$CONFIG_FILES man/cifsiostat.1:man/cifsiostat.in" ;;
6397 "tests/variables") CONFIG_FILES="$CONFIG_FILES tests/variables" ;;
6398 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6400 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6405 # If the user did not use the arguments to specify the items to instantiate,
6406 # then the envvar interface is used. Set only those that are not.
6407 # We use the long form for the default assignment because of an extremely
6408 # bizarre bug on SunOS 4.1.3.
6409 if $ac_need_defaults; then
6410 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6413 # Have a temporary directory for convenience. Make it in the build tree
6414 # simply because there is no reason against having it here, and in addition,
6415 # creating and moving files from /tmp can sometimes cause problems.
6416 # Hook for its removal unless debugging.
6417 # Note that there is a small window in which the directory will not be cleaned:
6418 # after its creation but before its name has been assigned to `$tmp'.
6422 trap 'exit_status=$?
6424 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6426 trap 'as_fn_exit 1' 1 2 13 15
6428 # Create a (secure) tmp directory for tmp files.
6431 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6435 tmp=./conf$$-$RANDOM
6436 (umask 077 && mkdir "$tmp")
6437 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6440 # Set up the scripts for CONFIG_FILES section.
6441 # No need to generate them if there are no CONFIG_FILES.
6442 # This happens for instance with `./config.status config.h'.
6443 if test -n "$CONFIG_FILES"; then
6446 ac_cr=`echo X | tr X '\015'`
6447 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6448 # But we know of no other shell where ac_cr would be empty at this
6449 # point, so we can use a bashism as a fallback.
6450 if test "x$ac_cr" = x; then
6451 eval ac_cr=\$\'\\r\'
6453 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6454 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6460 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6465 echo "cat >conf$$subs.awk <<_ACEOF" &&
6466 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6469 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6470 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6472 for ac_last_try in false false false false false :; do
6473 . ./conf$$subs.sh ||
6474 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6476 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6477 if test $ac_delim_n = $ac_delim_num; then
6479 elif $ac_last_try; then
6480 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6482 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6487 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6488 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6492 s/^/S["/; s/!.*/"]=/
6502 s/\(.\{148\}\)..*/\1/
6504 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6509 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6516 s/\(.\{148\}\)..*/\1/
6518 s/["\\]/\\&/g; s/^/"/; s/$/"/
6522 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6527 ' <conf$$subs.awk | sed '
6532 ' >>$CONFIG_STATUS || ac_write_fail=1
6533 rm -f conf$$subs.awk
6534 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6536 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6537 for (key in S) S_is_set[key] = 1
6543 nfields = split(line, field, "@")
6545 len = length(field[1])
6546 for (i = 2; i < nfields; i++) {
6548 keylen = length(key)
6549 if (S_is_set[key]) {
6551 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6552 len += length(value) + length(field[++i])
6563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6564 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6565 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6568 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6569 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6572 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6573 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6574 # trailing colons and then remove the whole line if VPATH becomes empty
6575 # (actually we leave an empty line to preserve line numbers).
6576 if test "x$srcdir" = x.; then
6577 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6596 fi # test -n "$CONFIG_FILES"
6599 eval set X " :F $CONFIG_FILES "
6604 :[FHLC]) ac_mode=$ac_tag; continue;;
6606 case $ac_mode$ac_tag in
6608 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6609 :[FH]-) ac_tag=-:-;;
6610 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6627 -) ac_f="$ac_tmp/stdin";;
6628 *) # Look for the file first in the build tree, then in the source tree
6629 # (if the path is not absolute). The absolute path cannot be DOS-style,
6630 # because $ac_f cannot contain `:'.
6634 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6636 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6638 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6639 as_fn_append ac_file_inputs " '$ac_f'"
6642 # Let's still pretend it is `configure' which instantiates (i.e., don't
6643 # use $as_me), people would be surprised to read:
6644 # /* config.h. Generated by config.status. */
6645 configure_input='Generated from '`
6646 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6648 if test x"$ac_file" != x-; then
6649 configure_input="$ac_file. $configure_input"
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6651 $as_echo "$as_me: creating $ac_file" >&6;}
6653 # Neutralize special characters interpreted by sed in replacement strings.
6654 case $configure_input in #(
6655 *\&* | *\|* | *\\* )
6656 ac_sed_conf_input=`$as_echo "$configure_input" |
6657 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6658 *) ac_sed_conf_input=$configure_input;;
6662 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6663 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6668 ac_dir=`$as_dirname -- "$ac_file" ||
6669 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6670 X"$ac_file" : 'X\(//\)[^/]' \| \
6671 X"$ac_file" : 'X\(//\)$' \| \
6672 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6673 $as_echo X"$ac_file" |
6674 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6691 as_dir="$ac_dir"; as_fn_mkdir_p
6695 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6697 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6698 # A ".." for each directory in $ac_dir_suffix.
6699 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6700 case $ac_top_builddir_sub in
6701 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6702 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6705 ac_abs_top_builddir=$ac_pwd
6706 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6707 # for backward compatibility:
6708 ac_top_builddir=$ac_top_build_prefix
6711 .) # We are building in place.
6713 ac_top_srcdir=$ac_top_builddir_sub
6714 ac_abs_top_srcdir=$ac_pwd ;;
6715 [\\/]* | ?:[\\/]* ) # Absolute name.
6716 ac_srcdir=$srcdir$ac_dir_suffix;
6717 ac_top_srcdir=$srcdir
6718 ac_abs_top_srcdir=$srcdir ;;
6720 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6721 ac_top_srcdir=$ac_top_build_prefix$srcdir
6722 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6724 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6736 # If the template does not know about datarootdir, expand it.
6737 # FIXME: This hack should be removed a few years after 2.60.
6738 ac_datarootdir_hack=; ac_datarootdir_seen=
6749 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6750 *datarootdir*) ac_datarootdir_seen=yes;;
6751 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6753 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6755 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6756 ac_datarootdir_hack='
6757 s&@datadir@&$datadir&g
6758 s&@docdir@&$docdir&g
6759 s&@infodir@&$infodir&g
6760 s&@localedir@&$localedir&g
6761 s&@mandir@&$mandir&g
6762 s&\\\${datarootdir}&$datarootdir&g' ;;
6766 # Neutralize VPATH when `$srcdir' = `.'.
6767 # Shell code in configure.ac might set extrasub.
6768 # FIXME: do we really want to maintain this feature?
6769 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6770 ac_sed_extra="$ac_vpsub
6773 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6775 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6776 s|@configure_input@|$ac_sed_conf_input|;t t
6777 s&@top_builddir@&$ac_top_builddir_sub&;t t
6778 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6779 s&@srcdir@&$ac_srcdir&;t t
6780 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6781 s&@top_srcdir@&$ac_top_srcdir&;t t
6782 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6783 s&@builddir@&$ac_builddir&;t t
6784 s&@abs_builddir@&$ac_abs_builddir&;t t
6785 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6786 $ac_datarootdir_hack
6788 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6789 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6791 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6792 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6793 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6794 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6796 which seems to be undefined. Please make sure it is defined" >&5
6797 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6798 which seems to be undefined. Please make sure it is defined" >&2;}
6800 rm -f "$ac_tmp/stdin"
6802 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6803 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6805 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6813 case $ac_file$ac_mode in
6814 "sa1":F) chmod +x sa1 ;;
6815 "sa2":F) chmod +x sa2 ;;
6816 "cron/sysstat.crond.sample.in":F) sed s/^/#/ cron/sysstat.crond.sample.in > cron/sysstat.crond.sample ;;
6817 "sysstat":F) chmod +x sysstat ;;
6818 "cron/sysstat.sleep":F) chmod +x cron/sysstat.sleep ;;
6826 ac_clean_files=$ac_clean_files_save
6828 test $ac_write_fail = 0 ||
6829 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6832 # configure is writing to config.log, and then calls config.status.
6833 # config.status does its own redirection, appending to config.log.
6834 # Unfortunately, on DOS this fails, as config.log is still kept open
6835 # by configure, so config.status won't be able to write to it; its
6836 # output is simply discarded. So we exec the FD to /dev/null,
6837 # effectively closing config.log, so it can be properly (re)opened and
6838 # appended to by config.status. When coming back to configure, we
6839 # need to make the FD available again.
6840 if test "$no_create" != yes; then
6842 ac_config_status_args=
6843 test "$silent" = yes &&
6844 ac_config_status_args="$ac_config_status_args --quiet"
6846 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6848 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6849 # would make configure fail if this is the last instruction.
6850 $ac_cs_success || as_fn_exit 1
6852 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6854 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6859 Sysstat version: $PACKAGE_VERSION
6860 Installation prefix: $prefix
6861 rc directory: ${RC_DIR}
6862 Init directory: ${INIT_DIR}"
6863 if test "$UCROND" != "yes"; then
6864 echo " Systemd unit dir: ${with_systemdsystemunitdir}"
6865 echo " Systemd sleep dir: ${with_systemdsleepdir}"
6867 echo " Use standard cron daemon"
6869 echo " Configuration file: ${SYSCONFIG_DIR}/${SYSCONFIG_FILE}
6870 Man pages directory: $mandir
6872 Compiler flags: $CFLAGS