2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sysstat 12.3.4.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
578 PACKAGE_NAME='sysstat'
579 PACKAGE_TARNAME='sysstat'
580 PACKAGE_VERSION='12.3.4'
581 PACKAGE_STRING='sysstat 12.3.4'
585 ac_unique_file="ioconf.h"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars='LTLIBOBJS
644 IGNORE_FILE_ATTRIBUTES
735 program_transform_name
748 enable_option_checking
749 with_systemdsystemunitdir
756 enable_compress_manpg
766 ac_precious_vars='build_alias
790 # Initialize some variables set by options.
792 ac_init_version=false
793 ac_unrecognized_opts=
795 # The variables have the same names as the options, with
796 # dashes changed to underlines.
804 program_transform_name=s,x,x,
812 # Installation directory options.
813 # These are left unexpanded so users can "make install exec_prefix=/foo"
814 # and all the variables that are supposed to be based on exec_prefix
815 # by default will actually change.
816 # Use braces instead of parens because sh, perl, etc. also accept them.
817 # (The list follows the same order as the GNU Coding Standards.)
818 bindir='${exec_prefix}/bin'
819 sbindir='${exec_prefix}/sbin'
820 libexecdir='${exec_prefix}/libexec'
821 datarootdir='${prefix}/share'
822 datadir='${datarootdir}'
823 sysconfdir='${prefix}/etc'
824 sharedstatedir='${prefix}/com'
825 localstatedir='${prefix}/var'
826 includedir='${prefix}/include'
827 oldincludedir='/usr/include'
828 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
829 infodir='${datarootdir}/info'
834 libdir='${exec_prefix}/lib'
835 localedir='${datarootdir}/locale'
836 mandir='${datarootdir}/man'
842 # If the previous option needs an argument, assign it.
843 if test -n "$ac_prev"; then
844 eval $ac_prev=\$ac_option
850 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
855 # Accept the important Cygnus configure options, so we can diagnose typos.
857 case $ac_dashdash$ac_option in
861 -bindir | --bindir | --bindi | --bind | --bin | --bi)
863 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
866 -build | --build | --buil | --bui | --bu)
867 ac_prev=build_alias ;;
868 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
869 build_alias=$ac_optarg ;;
871 -cache-file | --cache-file | --cache-fil | --cache-fi \
872 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
873 ac_prev=cache_file ;;
874 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
875 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
876 cache_file=$ac_optarg ;;
879 cache_file=config.cache ;;
881 -datadir | --datadir | --datadi | --datad)
883 -datadir=* | --datadir=* | --datadi=* | --datad=*)
884 datadir=$ac_optarg ;;
886 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
887 | --dataroo | --dataro | --datar)
888 ac_prev=datarootdir ;;
889 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
890 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
891 datarootdir=$ac_optarg ;;
893 -disable-* | --disable-*)
894 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
895 # Reject names that are not valid shell variable names.
896 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
897 as_fn_error $? "invalid feature name: $ac_useropt"
898 ac_useropt_orig=$ac_useropt
899 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
900 case $ac_user_opts in
904 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
905 ac_unrecognized_sep=', ';;
907 eval enable_$ac_useropt=no ;;
909 -docdir | --docdir | --docdi | --doc | --do)
911 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
914 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
916 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
919 -enable-* | --enable-*)
920 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
921 # Reject names that are not valid shell variable names.
922 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
923 as_fn_error $? "invalid feature name: $ac_useropt"
924 ac_useropt_orig=$ac_useropt
925 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
926 case $ac_user_opts in
930 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
931 ac_unrecognized_sep=', ';;
933 eval enable_$ac_useropt=\$ac_optarg ;;
935 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
936 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
937 | --exec | --exe | --ex)
938 ac_prev=exec_prefix ;;
939 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
940 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
941 | --exec=* | --exe=* | --ex=*)
942 exec_prefix=$ac_optarg ;;
944 -gas | --gas | --ga | --g)
945 # Obsolete; use --with-gas.
948 -help | --help | --hel | --he | -h)
950 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
951 ac_init_help=recursive ;;
952 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
953 ac_init_help=short ;;
955 -host | --host | --hos | --ho)
956 ac_prev=host_alias ;;
957 -host=* | --host=* | --hos=* | --ho=*)
958 host_alias=$ac_optarg ;;
960 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
962 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
964 htmldir=$ac_optarg ;;
966 -includedir | --includedir | --includedi | --included | --include \
967 | --includ | --inclu | --incl | --inc)
968 ac_prev=includedir ;;
969 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
970 | --includ=* | --inclu=* | --incl=* | --inc=*)
971 includedir=$ac_optarg ;;
973 -infodir | --infodir | --infodi | --infod | --info | --inf)
975 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
976 infodir=$ac_optarg ;;
978 -libdir | --libdir | --libdi | --libd)
980 -libdir=* | --libdir=* | --libdi=* | --libd=*)
983 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
984 | --libexe | --libex | --libe)
985 ac_prev=libexecdir ;;
986 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
987 | --libexe=* | --libex=* | --libe=*)
988 libexecdir=$ac_optarg ;;
990 -localedir | --localedir | --localedi | --localed | --locale)
992 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
993 localedir=$ac_optarg ;;
995 -localstatedir | --localstatedir | --localstatedi | --localstated \
996 | --localstate | --localstat | --localsta | --localst | --locals)
997 ac_prev=localstatedir ;;
998 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
999 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1000 localstatedir=$ac_optarg ;;
1002 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1004 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1005 mandir=$ac_optarg ;;
1007 -nfp | --nfp | --nf)
1008 # Obsolete; use --without-fp.
1011 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1012 | --no-cr | --no-c | -n)
1015 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1016 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1019 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1020 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1021 | --oldin | --oldi | --old | --ol | --o)
1022 ac_prev=oldincludedir ;;
1023 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1024 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1025 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1026 oldincludedir=$ac_optarg ;;
1028 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1030 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1031 prefix=$ac_optarg ;;
1033 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1034 | --program-pre | --program-pr | --program-p)
1035 ac_prev=program_prefix ;;
1036 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1037 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1038 program_prefix=$ac_optarg ;;
1040 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1041 | --program-suf | --program-su | --program-s)
1042 ac_prev=program_suffix ;;
1043 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1044 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1045 program_suffix=$ac_optarg ;;
1047 -program-transform-name | --program-transform-name \
1048 | --program-transform-nam | --program-transform-na \
1049 | --program-transform-n | --program-transform- \
1050 | --program-transform | --program-transfor \
1051 | --program-transfo | --program-transf \
1052 | --program-trans | --program-tran \
1053 | --progr-tra | --program-tr | --program-t)
1054 ac_prev=program_transform_name ;;
1055 -program-transform-name=* | --program-transform-name=* \
1056 | --program-transform-nam=* | --program-transform-na=* \
1057 | --program-transform-n=* | --program-transform-=* \
1058 | --program-transform=* | --program-transfor=* \
1059 | --program-transfo=* | --program-transf=* \
1060 | --program-trans=* | --program-tran=* \
1061 | --progr-tra=* | --program-tr=* | --program-t=*)
1062 program_transform_name=$ac_optarg ;;
1064 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1066 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1067 pdfdir=$ac_optarg ;;
1069 -psdir | --psdir | --psdi | --psd | --ps)
1071 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1074 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1075 | -silent | --silent | --silen | --sile | --sil)
1078 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1080 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1082 sbindir=$ac_optarg ;;
1084 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1085 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1086 | --sharedst | --shareds | --shared | --share | --shar \
1088 ac_prev=sharedstatedir ;;
1089 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1090 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1091 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1093 sharedstatedir=$ac_optarg ;;
1095 -site | --site | --sit)
1097 -site=* | --site=* | --sit=*)
1100 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1102 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1103 srcdir=$ac_optarg ;;
1105 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1106 | --syscon | --sysco | --sysc | --sys | --sy)
1107 ac_prev=sysconfdir ;;
1108 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1109 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1110 sysconfdir=$ac_optarg ;;
1112 -target | --target | --targe | --targ | --tar | --ta | --t)
1113 ac_prev=target_alias ;;
1114 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1115 target_alias=$ac_optarg ;;
1117 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1120 -version | --version | --versio | --versi | --vers | -V)
1121 ac_init_version=: ;;
1124 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1125 # Reject names that are not valid shell variable names.
1126 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1127 as_fn_error $? "invalid package name: $ac_useropt"
1128 ac_useropt_orig=$ac_useropt
1129 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1130 case $ac_user_opts in
1134 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1135 ac_unrecognized_sep=', ';;
1137 eval with_$ac_useropt=\$ac_optarg ;;
1139 -without-* | --without-*)
1140 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143 as_fn_error $? "invalid package name: $ac_useropt"
1144 ac_useropt_orig=$ac_useropt
1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1151 ac_unrecognized_sep=', ';;
1153 eval with_$ac_useropt=no ;;
1156 # Obsolete; use --with-x.
1159 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1160 | --x-incl | --x-inc | --x-in | --x-i)
1161 ac_prev=x_includes ;;
1162 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1163 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1164 x_includes=$ac_optarg ;;
1166 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1167 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1168 ac_prev=x_libraries ;;
1169 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1170 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1171 x_libraries=$ac_optarg ;;
1173 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1174 Try \`$0 --help' for more information"
1178 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1179 # Reject names that are not valid shell variable names.
1180 case $ac_envvar in #(
1181 '' | [0-9]* | *[!_$as_cr_alnum]* )
1182 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1184 eval $ac_envvar=\$ac_optarg
1185 export $ac_envvar ;;
1188 # FIXME: should be removed in autoconf 3.0.
1189 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1190 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1191 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1192 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1198 if test -n "$ac_prev"; then
1199 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1200 as_fn_error $? "missing argument to $ac_option"
1203 if test -n "$ac_unrecognized_opts"; then
1204 case $enable_option_checking in
1206 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1207 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1211 # Check all directory arguments for consistency.
1212 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1213 datadir sysconfdir sharedstatedir localstatedir includedir \
1214 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1215 libdir localedir mandir
1217 eval ac_val=\$$ac_var
1218 # Remove trailing slashes.
1221 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1222 eval $ac_var=\$ac_val;;
1224 # Be sure to have absolute directory names.
1226 [\\/$]* | ?:[\\/]* ) continue;;
1227 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1229 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1232 # There might be people who depend on the old broken behavior: `$host'
1233 # used to hold the argument of --host etc.
1234 # FIXME: To remove some day.
1237 target=$target_alias
1239 # FIXME: To remove some day.
1240 if test "x$host_alias" != x; then
1241 if test "x$build_alias" = x; then
1242 cross_compiling=maybe
1243 elif test "x$build_alias" != "x$host_alias"; then
1249 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1251 test "$silent" = yes && exec 6>/dev/null
1254 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1255 ac_ls_di=`ls -di .` &&
1256 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1257 as_fn_error $? "working directory cannot be determined"
1258 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1259 as_fn_error $? "pwd does not report name of working directory"
1262 # Find the source files, if location was not specified.
1263 if test -z "$srcdir"; then
1264 ac_srcdir_defaulted=yes
1265 # Try the directory containing this script, then the parent directory.
1266 ac_confdir=`$as_dirname -- "$as_myself" ||
1267 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1268 X"$as_myself" : 'X\(//\)[^/]' \| \
1269 X"$as_myself" : 'X\(//\)$' \| \
1270 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1271 $as_echo X"$as_myself" |
1272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1290 if test ! -r "$srcdir/$ac_unique_file"; then
1294 ac_srcdir_defaulted=no
1296 if test ! -r "$srcdir/$ac_unique_file"; then
1297 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1298 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1300 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1302 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1304 # When building in place, set srcdir=.
1305 if test "$ac_abs_confdir" = "$ac_pwd"; then
1308 # Remove unnecessary trailing slashes from srcdir.
1309 # Double slashes in file names in object file debugging info
1310 # mess up M-x gdb in Emacs.
1312 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1314 for ac_var in $ac_precious_vars; do
1315 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1316 eval ac_env_${ac_var}_value=\$${ac_var}
1317 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1318 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1322 # Report the --help message.
1324 if test "$ac_init_help" = "long"; then
1325 # Omit some internal or obsolete options to make the list less imposing.
1326 # This message is too long to be a string in the A/UX 3.1 sh.
1328 \`configure' configures sysstat 12.3.4 to adapt to many kinds of systems.
1330 Usage: $0 [OPTION]... [VAR=VALUE]...
1332 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1333 VAR=VALUE. See below for descriptions of some of the useful variables.
1335 Defaults for the options are specified in brackets.
1338 -h, --help display this help and exit
1339 --help=short display options specific to this package
1340 --help=recursive display the short help of all the included packages
1341 -V, --version display version information and exit
1342 -q, --quiet, --silent do not print \`checking ...' messages
1343 --cache-file=FILE cache test results in FILE [disabled]
1344 -C, --config-cache alias for \`--cache-file=config.cache'
1345 -n, --no-create do not create output files
1346 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1348 Installation directories:
1349 --prefix=PREFIX install architecture-independent files in PREFIX
1350 [$ac_default_prefix]
1351 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1354 By default, \`make install' will install all the files in
1355 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1356 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1357 for instance \`--prefix=\$HOME'.
1359 For better control, use the options below.
1361 Fine tuning of the installation directories:
1362 --bindir=DIR user executables [EPREFIX/bin]
1363 --sbindir=DIR system admin executables [EPREFIX/sbin]
1364 --libexecdir=DIR program executables [EPREFIX/libexec]
1365 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1366 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1367 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1368 --libdir=DIR object code libraries [EPREFIX/lib]
1369 --includedir=DIR C header files [PREFIX/include]
1370 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1371 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1372 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1373 --infodir=DIR info documentation [DATAROOTDIR/info]
1374 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1375 --mandir=DIR man documentation [DATAROOTDIR/man]
1376 --docdir=DIR documentation root [DATAROOTDIR/doc/sysstat]
1377 --htmldir=DIR html documentation [DOCDIR]
1378 --dvidir=DIR dvi documentation [DOCDIR]
1379 --pdfdir=DIR pdf documentation [DOCDIR]
1380 --psdir=DIR ps documentation [DOCDIR]
1387 if test -n "$ac_init_help"; then
1388 case $ac_init_help in
1389 short | recursive ) echo "Configuration of sysstat 12.3.4:";;
1394 --disable-option-checking ignore unrecognized --enable/--with options
1395 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1396 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1397 --disable-sensors disable sensors support
1398 --disable-pcp disable PCP support
1399 --disable-largefile omit support for large files
1400 --disable-nls disable National Language Support
1401 --disable-file-attr do not set attributes on files being installed
1402 --disable-compress-manpg
1403 do not compress sysstat manual pages
1404 --enable-clean-sa-dir clean system activity directory
1405 --enable-install-cron install a crontab to start sar
1406 --enable-use-crond use standard cron daemon
1407 --enable-collect-all collect all possible activities
1408 --enable-copy-only only copy files when installing
1409 --disable-documentation do not install documentation
1410 --enable-debuginfo enable debug output (--debuginfo option)
1411 --disable-stripping do not strip object files
1414 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1415 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1416 --with-systemdsystemunitdir=DIR
1417 Directory for systemd service files
1418 --with-systemdsleepdir=DIR
1419 Directory for systemd suspend/resume scripts
1421 Some influential environment variables:
1422 CC C compiler command
1423 CFLAGS C compiler flags
1424 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1425 nonstandard directory <lib dir>
1426 LIBS libraries to pass to the linker, e.g. -l<library>
1427 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1428 you have headers in a nonstandard directory <include dir>
1430 rcdir run-commands directory
1431 sa_lib_dir sadc directory
1432 sa_dir system activity directory
1433 sar_dir sar directory
1434 conf_dir sysstat configuration directory
1435 conf_file sysstat configuration file
1436 history number of daily data files to keep (default value is 7)
1438 number of days after which data files are compressed (default
1440 delay_range maximum delay (in seconds) to wait before sa2 script generates
1442 man_group group for manual pages
1443 cron_owner crontab owner
1447 options to be passed to sadc
1449 Use these variables to override the choices made by `configure' or to help
1450 it to find libraries and programs with nonstandard names/locations.
1452 Report bugs to the package provider.
1457 if test "$ac_init_help" = "recursive"; then
1458 # If there are subdirs, report their specific --help.
1459 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1460 test -d "$ac_dir" ||
1461 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1466 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1468 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1469 # A ".." for each directory in $ac_dir_suffix.
1470 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1471 case $ac_top_builddir_sub in
1472 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1473 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1476 ac_abs_top_builddir=$ac_pwd
1477 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1478 # for backward compatibility:
1479 ac_top_builddir=$ac_top_build_prefix
1482 .) # We are building in place.
1484 ac_top_srcdir=$ac_top_builddir_sub
1485 ac_abs_top_srcdir=$ac_pwd ;;
1486 [\\/]* | ?:[\\/]* ) # Absolute name.
1487 ac_srcdir=$srcdir$ac_dir_suffix;
1488 ac_top_srcdir=$srcdir
1489 ac_abs_top_srcdir=$srcdir ;;
1491 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1492 ac_top_srcdir=$ac_top_build_prefix$srcdir
1493 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1495 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1497 cd "$ac_dir" || { ac_status=$?; continue; }
1498 # Check for guested configure.
1499 if test -f "$ac_srcdir/configure.gnu"; then
1501 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1502 elif test -f "$ac_srcdir/configure"; then
1504 $SHELL "$ac_srcdir/configure" --help=recursive
1506 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1508 cd "$ac_pwd" || { ac_status=$?; break; }
1512 test -n "$ac_init_help" && exit $ac_status
1513 if $ac_init_version; then
1515 sysstat configure 12.3.4
1516 generated by GNU Autoconf 2.69
1518 Copyright (C) 2012 Free Software Foundation, Inc.
1519 This configure script is free software; the Free Software Foundation
1520 gives unlimited permission to copy, distribute and modify it.
1525 ## ------------------------ ##
1526 ## Autoconf initialization. ##
1527 ## ------------------------ ##
1529 # ac_fn_c_try_compile LINENO
1530 # --------------------------
1531 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1532 ac_fn_c_try_compile ()
1534 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1535 rm -f conftest.$ac_objext
1536 if { { ac_try="$ac_compile"
1538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1539 *) ac_try_echo=$ac_try;;
1541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1542 $as_echo "$ac_try_echo"; } >&5
1543 (eval "$ac_compile") 2>conftest.err
1545 if test -s conftest.err; then
1546 grep -v '^ *+' conftest.err >conftest.er1
1547 cat conftest.er1 >&5
1548 mv -f conftest.er1 conftest.err
1550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1551 test $ac_status = 0; } && {
1552 test -z "$ac_c_werror_flag" ||
1553 test ! -s conftest.err
1554 } && test -s conftest.$ac_objext; then :
1557 $as_echo "$as_me: failed program was:" >&5
1558 sed 's/^/| /' conftest.$ac_ext >&5
1562 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1563 as_fn_set_status $ac_retval
1565 } # ac_fn_c_try_compile
1567 # ac_fn_c_try_cpp LINENO
1568 # ----------------------
1569 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1572 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1573 if { { ac_try="$ac_cpp conftest.$ac_ext"
1575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1576 *) ac_try_echo=$ac_try;;
1578 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1579 $as_echo "$ac_try_echo"; } >&5
1580 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1582 if test -s conftest.err; then
1583 grep -v '^ *+' conftest.err >conftest.er1
1584 cat conftest.er1 >&5
1585 mv -f conftest.er1 conftest.err
1587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1588 test $ac_status = 0; } > conftest.i && {
1589 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1590 test ! -s conftest.err
1594 $as_echo "$as_me: failed program was:" >&5
1595 sed 's/^/| /' conftest.$ac_ext >&5
1599 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1600 as_fn_set_status $ac_retval
1604 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1605 # -------------------------------------------------------
1606 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1607 # the include files in INCLUDES and setting the cache variable VAR
1609 ac_fn_c_check_header_mongrel ()
1611 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1612 if eval \${$3+:} false; then :
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1614 $as_echo_n "checking for $2... " >&6; }
1615 if eval \${$3+:} false; then :
1616 $as_echo_n "(cached) " >&6
1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1620 $as_echo "$ac_res" >&6; }
1622 # Is the header compilable?
1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1624 $as_echo_n "checking $2 usability... " >&6; }
1625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1626 /* end confdefs.h. */
1630 if ac_fn_c_try_compile "$LINENO"; then :
1631 ac_header_compiler=yes
1633 ac_header_compiler=no
1635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1637 $as_echo "$ac_header_compiler" >&6; }
1639 # Is the header present?
1640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1641 $as_echo_n "checking $2 presence... " >&6; }
1642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1643 /* end confdefs.h. */
1646 if ac_fn_c_try_cpp "$LINENO"; then :
1647 ac_header_preproc=yes
1649 ac_header_preproc=no
1651 rm -f conftest.err conftest.i conftest.$ac_ext
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1653 $as_echo "$ac_header_preproc" >&6; }
1655 # So? What about this header?
1656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1659 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1661 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1665 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1667 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1669 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1671 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1673 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1677 $as_echo_n "checking for $2... " >&6; }
1678 if eval \${$3+:} false; then :
1679 $as_echo_n "(cached) " >&6
1681 eval "$3=\$ac_header_compiler"
1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1685 $as_echo "$ac_res" >&6; }
1687 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689 } # ac_fn_c_check_header_mongrel
1691 # ac_fn_c_try_run LINENO
1692 # ----------------------
1693 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1694 # that executables *can* be run.
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 if { { ac_try="$ac_link"
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_link") 2>&5
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1709 { { case "(($ac_try" in
1710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1711 *) ac_try_echo=$ac_try;;
1713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1714 $as_echo "$ac_try_echo"; } >&5
1715 (eval "$ac_try") 2>&5
1717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1718 test $ac_status = 0; }; }; then :
1721 $as_echo "$as_me: program exited with status $ac_status" >&5
1722 $as_echo "$as_me: failed program was:" >&5
1723 sed 's/^/| /' conftest.$ac_ext >&5
1725 ac_retval=$ac_status
1727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729 as_fn_set_status $ac_retval
1733 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1734 # -------------------------------------------------------
1735 # Tests whether HEADER exists and can be compiled using the include files in
1736 # INCLUDES, setting the cache variable VAR accordingly.
1737 ac_fn_c_check_header_compile ()
1739 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1741 $as_echo_n "checking for $2... " >&6; }
1742 if eval \${$3+:} false; then :
1743 $as_echo_n "(cached) " >&6
1745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1746 /* end confdefs.h. */
1750 if ac_fn_c_try_compile "$LINENO"; then :
1755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1759 $as_echo "$ac_res" >&6; }
1760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1762 } # ac_fn_c_check_header_compile
1764 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1765 # -------------------------------------------
1766 # Tests whether TYPE exists after having included INCLUDES, setting cache
1767 # variable VAR accordingly.
1768 ac_fn_c_check_type ()
1770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1772 $as_echo_n "checking for $2... " >&6; }
1773 if eval \${$3+:} false; then :
1774 $as_echo_n "(cached) " >&6
1777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1778 /* end confdefs.h. */
1789 if ac_fn_c_try_compile "$LINENO"; then :
1790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1802 if ac_fn_c_try_compile "$LINENO"; then :
1807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1813 $as_echo "$ac_res" >&6; }
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816 } # ac_fn_c_check_type
1818 # ac_fn_c_try_link LINENO
1819 # -----------------------
1820 # Try to link conftest.$ac_ext, and return whether this succeeded.
1823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1824 rm -f conftest.$ac_objext conftest$ac_exeext
1825 if { { ac_try="$ac_link"
1827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1828 *) ac_try_echo=$ac_try;;
1830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1831 $as_echo "$ac_try_echo"; } >&5
1832 (eval "$ac_link") 2>conftest.err
1834 if test -s conftest.err; then
1835 grep -v '^ *+' conftest.err >conftest.er1
1836 cat conftest.er1 >&5
1837 mv -f conftest.er1 conftest.err
1839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840 test $ac_status = 0; } && {
1841 test -z "$ac_c_werror_flag" ||
1842 test ! -s conftest.err
1843 } && test -s conftest$ac_exeext && {
1844 test "$cross_compiling" = yes ||
1845 test -x conftest$ac_exeext
1849 $as_echo "$as_me: failed program was:" >&5
1850 sed 's/^/| /' conftest.$ac_ext >&5
1854 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1855 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1856 # interfere with the next link command; also delete a directory that is
1857 # left behind by Apple's compiler. We do this before executing the actions.
1858 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860 as_fn_set_status $ac_retval
1862 } # ac_fn_c_try_link
1864 # ac_fn_c_check_func LINENO FUNC VAR
1865 # ----------------------------------
1866 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1867 ac_fn_c_check_func ()
1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871 $as_echo_n "checking for $2... " >&6; }
1872 if eval \${$3+:} false; then :
1873 $as_echo_n "(cached) " >&6
1875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h. */
1877 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1879 #define $2 innocuous_$2
1881 /* System header to define __stub macros and hopefully few prototypes,
1882 which can conflict with char $2 (); below.
1883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1884 <limits.h> exists even on freestanding compilers. */
1887 # include <limits.h>
1889 # include <assert.h>
1894 /* Override any GCC internal prototype to avoid an error.
1895 Use char because int might match the return type of a GCC
1896 builtin and then its argument prototype would still apply. */
1901 /* The GNU C library defines this for functions which it implements
1902 to always fail with ENOSYS. Some functions are actually named
1903 something starting with __ and the normal name is an alias. */
1904 #if defined __stub_$2 || defined __stub___$2
1916 if ac_fn_c_try_link "$LINENO"; then :
1921 rm -f core conftest.err conftest.$ac_objext \
1922 conftest$ac_exeext conftest.$ac_ext
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1926 $as_echo "$ac_res" >&6; }
1927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1929 } # ac_fn_c_check_func
1930 cat >config.log <<_ACEOF
1931 This file contains any messages produced by compilers while
1932 running configure, to aid debugging if configure makes a mistake.
1934 It was created by sysstat $as_me 12.3.4, which was
1935 generated by GNU Autoconf 2.69. Invocation command line was
1947 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1948 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1949 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1950 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1951 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1953 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1954 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1956 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1957 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1958 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1959 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1960 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1961 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1962 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1970 test -z "$as_dir" && as_dir=.
1971 $as_echo "PATH: $as_dir"
1987 # Keep a trace of the command line.
1988 # Strip out --no-create and --no-recursion so they do not pile up.
1989 # Strip out --silent because we don't want to record it for future runs.
1990 # Also quote any args containing shell meta-characters.
1991 # Make two passes to allow for proper duplicate-argument suppression.
1995 ac_must_keep_next=false
2001 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2002 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2003 | -silent | --silent | --silen | --sile | --sil)
2006 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2009 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2011 as_fn_append ac_configure_args1 " '$ac_arg'"
2012 if test $ac_must_keep_next = true; then
2013 ac_must_keep_next=false # Got value, back to normal.
2016 *=* | --config-cache | -C | -disable-* | --disable-* \
2017 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2018 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2019 | -with-* | --with-* | -without-* | --without-* | --x)
2020 case "$ac_configure_args0 " in
2021 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2024 -* ) ac_must_keep_next=true ;;
2027 as_fn_append ac_configure_args " '$ac_arg'"
2032 { ac_configure_args0=; unset ac_configure_args0;}
2033 { ac_configure_args1=; unset ac_configure_args1;}
2035 # When interrupted or exit'd, cleanup temporary files, and complete
2036 # config.log. We remove comments because anyway the quotes in there
2037 # would cause problems or look ugly.
2038 # WARNING: Use '\'' to represent an apostrophe within the trap.
2039 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2040 trap 'exit_status=$?
2041 # Save into config.log some information that might help in debugging.
2045 $as_echo "## ---------------- ##
2046 ## Cache variables. ##
2047 ## ---------------- ##"
2049 # The following way of writing the cache mishandles newlines in values,
2051 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2052 eval ac_val=\$$ac_var
2056 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2057 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2060 _ | IFS | as_nl) ;; #(
2061 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2062 *) { eval $ac_var=; unset $ac_var;} ;;
2067 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2068 *${as_nl}ac_space=\ *)
2070 "s/'\''/'\''\\\\'\'''\''/g;
2071 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2074 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2081 $as_echo "## ----------------- ##
2082 ## Output variables. ##
2083 ## ----------------- ##"
2085 for ac_var in $ac_subst_vars
2087 eval ac_val=\$$ac_var
2089 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2091 $as_echo "$ac_var='\''$ac_val'\''"
2095 if test -n "$ac_subst_files"; then
2096 $as_echo "## ------------------- ##
2097 ## File substitutions. ##
2098 ## ------------------- ##"
2100 for ac_var in $ac_subst_files
2102 eval ac_val=\$$ac_var
2104 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2106 $as_echo "$ac_var='\''$ac_val'\''"
2111 if test -s confdefs.h; then
2112 $as_echo "## ----------- ##
2119 test "$ac_signal" != 0 &&
2120 $as_echo "$as_me: caught signal $ac_signal"
2121 $as_echo "$as_me: exit $exit_status"
2123 rm -f core *.core core.conftest.* &&
2124 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2127 for ac_signal in 1 2 13 15; do
2128 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2132 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2133 rm -f -r conftest* confdefs.h
2135 $as_echo "/* confdefs.h */" > confdefs.h
2137 # Predefined preprocessor variables.
2139 cat >>confdefs.h <<_ACEOF
2140 #define PACKAGE_NAME "$PACKAGE_NAME"
2143 cat >>confdefs.h <<_ACEOF
2144 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2147 cat >>confdefs.h <<_ACEOF
2148 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2151 cat >>confdefs.h <<_ACEOF
2152 #define PACKAGE_STRING "$PACKAGE_STRING"
2155 cat >>confdefs.h <<_ACEOF
2156 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2159 cat >>confdefs.h <<_ACEOF
2160 #define PACKAGE_URL "$PACKAGE_URL"
2164 # Let the site file select an alternate cache file if it wants to.
2165 # Prefer an explicitly selected file to automatically selected ones.
2168 if test -n "$CONFIG_SITE"; then
2169 # We do not want a PATH search for config.site.
2170 case $CONFIG_SITE in #((
2171 -*) ac_site_file1=./$CONFIG_SITE;;
2172 */*) ac_site_file1=$CONFIG_SITE;;
2173 *) ac_site_file1=./$CONFIG_SITE;;
2175 elif test "x$prefix" != xNONE; then
2176 ac_site_file1=$prefix/share/config.site
2177 ac_site_file2=$prefix/etc/config.site
2179 ac_site_file1=$ac_default_prefix/share/config.site
2180 ac_site_file2=$ac_default_prefix/etc/config.site
2182 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2184 test "x$ac_site_file" = xNONE && continue
2185 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2187 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2188 sed 's/^/| /' "$ac_site_file" >&5
2190 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2191 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2192 as_fn_error $? "failed to load site script $ac_site_file
2193 See \`config.log' for more details" "$LINENO" 5; }
2197 if test -r "$cache_file"; then
2198 # Some versions of bash will fail to source /dev/null (special files
2199 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2200 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2202 $as_echo "$as_me: loading cache $cache_file" >&6;}
2204 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2205 *) . "./$cache_file";;
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2210 $as_echo "$as_me: creating cache $cache_file" >&6;}
2214 # Check that the precious variables saved in the cache have kept the same
2216 ac_cache_corrupted=false
2217 for ac_var in $ac_precious_vars; do
2218 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2219 eval ac_new_set=\$ac_env_${ac_var}_set
2220 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2221 eval ac_new_val=\$ac_env_${ac_var}_value
2222 case $ac_old_set,$ac_new_set in
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2225 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2226 ac_cache_corrupted=: ;;
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2229 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2230 ac_cache_corrupted=: ;;
2233 if test "x$ac_old_val" != "x$ac_new_val"; then
2234 # differences in whitespace do not lead to failure.
2235 ac_old_val_w=`echo x $ac_old_val`
2236 ac_new_val_w=`echo x $ac_new_val`
2237 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2239 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2240 ac_cache_corrupted=:
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2243 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2244 eval $ac_var=\$ac_old_val
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2247 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2249 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2252 # Pass precious variables to config.status.
2253 if test "$ac_new_set" = set; then
2255 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2256 *) ac_arg=$ac_var=$ac_new_val ;;
2258 case " $ac_configure_args " in
2259 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2260 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2264 if $ac_cache_corrupted; then
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2268 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2269 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2271 ## -------------------- ##
2272 ## Main body of script. ##
2273 ## -------------------- ##
2276 ac_cpp='$CPP $CPPFLAGS'
2277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2283 # Ensure that a recent enough version of Autoconf is being used
2286 # Check whether the configure script is in the right dir
2291 echo Check programs:
2295 ac_cpp='$CPP $CPPFLAGS'
2296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2299 if test -n "$ac_tool_prefix"; then
2300 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2301 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2303 $as_echo_n "checking for $ac_word... " >&6; }
2304 if ${ac_cv_prog_CC+:} false; then :
2305 $as_echo_n "(cached) " >&6
2307 if test -n "$CC"; then
2308 ac_cv_prog_CC="$CC" # Let the user override the test.
2310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2314 test -z "$as_dir" && as_dir=.
2315 for ac_exec_ext in '' $ac_executable_extensions; do
2316 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2317 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2328 if test -n "$CC"; then
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2330 $as_echo "$CC" >&6; }
2332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2333 $as_echo "no" >&6; }
2338 if test -z "$ac_cv_prog_CC"; then
2340 # Extract the first word of "gcc", so it can be a program name with args.
2341 set dummy gcc; ac_word=$2
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2343 $as_echo_n "checking for $ac_word... " >&6; }
2344 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2345 $as_echo_n "(cached) " >&6
2347 if test -n "$ac_ct_CC"; then
2348 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2354 test -z "$as_dir" && as_dir=.
2355 for ac_exec_ext in '' $ac_executable_extensions; do
2356 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2357 ac_cv_prog_ac_ct_CC="gcc"
2358 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2367 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2368 if test -n "$ac_ct_CC"; then
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2370 $as_echo "$ac_ct_CC" >&6; }
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2373 $as_echo "no" >&6; }
2376 if test "x$ac_ct_CC" = x; then
2379 case $cross_compiling:$ac_tool_warned in
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2382 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2383 ac_tool_warned=yes ;;
2391 if test -z "$CC"; then
2392 if test -n "$ac_tool_prefix"; then
2393 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2394 set dummy ${ac_tool_prefix}cc; ac_word=$2
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2396 $as_echo_n "checking for $ac_word... " >&6; }
2397 if ${ac_cv_prog_CC+:} false; then :
2398 $as_echo_n "(cached) " >&6
2400 if test -n "$CC"; then
2401 ac_cv_prog_CC="$CC" # Let the user override the test.
2403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2407 test -z "$as_dir" && as_dir=.
2408 for ac_exec_ext in '' $ac_executable_extensions; do
2409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2410 ac_cv_prog_CC="${ac_tool_prefix}cc"
2411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 if test -n "$CC"; then
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2423 $as_echo "$CC" >&6; }
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2426 $as_echo "no" >&6; }
2432 if test -z "$CC"; then
2433 # Extract the first word of "cc", so it can be a program name with args.
2434 set dummy cc; ac_word=$2
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2436 $as_echo_n "checking for $ac_word... " >&6; }
2437 if ${ac_cv_prog_CC+:} false; then :
2438 $as_echo_n "(cached) " >&6
2440 if test -n "$CC"; then
2441 ac_cv_prog_CC="$CC" # Let the user override the test.
2444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2448 test -z "$as_dir" && as_dir=.
2449 for ac_exec_ext in '' $ac_executable_extensions; do
2450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2451 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2452 ac_prog_rejected=yes
2456 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2463 if test $ac_prog_rejected = yes; then
2464 # We found a bogon in the path, so make sure we never use it.
2465 set dummy $ac_cv_prog_CC
2467 if test $# != 0; then
2468 # We chose a different compiler from the bogus one.
2469 # However, it has the same basename, so the bogon will be chosen
2470 # first if we set CC to just the basename; use the full file name.
2472 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2478 if test -n "$CC"; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2480 $as_echo "$CC" >&6; }
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2483 $as_echo "no" >&6; }
2488 if test -z "$CC"; then
2489 if test -n "$ac_tool_prefix"; then
2490 for ac_prog in cl.exe
2492 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2493 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2495 $as_echo_n "checking for $ac_word... " >&6; }
2496 if ${ac_cv_prog_CC+:} false; then :
2497 $as_echo_n "(cached) " >&6
2499 if test -n "$CC"; then
2500 ac_cv_prog_CC="$CC" # Let the user override the test.
2502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2506 test -z "$as_dir" && as_dir=.
2507 for ac_exec_ext in '' $ac_executable_extensions; do
2508 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2509 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2520 if test -n "$CC"; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2522 $as_echo "$CC" >&6; }
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2525 $as_echo "no" >&6; }
2529 test -n "$CC" && break
2532 if test -z "$CC"; then
2534 for ac_prog in cl.exe
2536 # Extract the first word of "$ac_prog", so it can be a program name with args.
2537 set dummy $ac_prog; ac_word=$2
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2539 $as_echo_n "checking for $ac_word... " >&6; }
2540 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2541 $as_echo_n "(cached) " >&6
2543 if test -n "$ac_ct_CC"; then
2544 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2550 test -z "$as_dir" && as_dir=.
2551 for ac_exec_ext in '' $ac_executable_extensions; do
2552 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2553 ac_cv_prog_ac_ct_CC="$ac_prog"
2554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2564 if test -n "$ac_ct_CC"; then
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2566 $as_echo "$ac_ct_CC" >&6; }
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2569 $as_echo "no" >&6; }
2573 test -n "$ac_ct_CC" && break
2576 if test "x$ac_ct_CC" = x; then
2579 case $cross_compiling:$ac_tool_warned in
2581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2583 ac_tool_warned=yes ;;
2592 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2594 as_fn_error $? "no acceptable C compiler found in \$PATH
2595 See \`config.log' for more details" "$LINENO" 5; }
2597 # Provide some information about the compiler.
2598 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2601 for ac_option in --version -v -V -qversion; do
2602 { { ac_try="$ac_compiler $ac_option >&5"
2604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2605 *) ac_try_echo=$ac_try;;
2607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2608 $as_echo "$ac_try_echo"; } >&5
2609 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2611 if test -s conftest.err; then
2613 ... rest of stderr output deleted ...
2614 10q' conftest.err >conftest.er1
2615 cat conftest.er1 >&5
2617 rm -f conftest.er1 conftest.err
2618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2619 test $ac_status = 0; }
2622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2623 /* end confdefs.h. */
2633 ac_clean_files_save=$ac_clean_files
2634 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2635 # Try to create an executable without -o first, disregard a.out.
2636 # It will help us diagnose broken compilers, and finding out an intuition
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2639 $as_echo_n "checking whether the C compiler works... " >&6; }
2640 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2642 # The possible output files:
2643 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2646 for ac_file in $ac_files
2649 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2650 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2655 if { { ac_try="$ac_link_default"
2657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2658 *) ac_try_echo=$ac_try;;
2660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2661 $as_echo "$ac_try_echo"; } >&5
2662 (eval "$ac_link_default") 2>&5
2664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2665 test $ac_status = 0; }; then :
2666 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2667 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2668 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2669 # so that the user can short-circuit this test for compilers unknown to
2671 for ac_file in $ac_files ''
2673 test -f "$ac_file" || continue
2675 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2678 # We found the default executable, but exeext='' is most
2682 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2684 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2686 # We set ac_cv_exeext here because the later test for it is not
2687 # safe: cross compilers may not add the suffix if given an `-o'
2688 # argument, so we may need to know it at that point already.
2689 # Even if this section looks crufty: it has the advantage of
2696 test "$ac_cv_exeext" = no && ac_cv_exeext=
2701 if test -z "$ac_file"; then :
2702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2703 $as_echo "no" >&6; }
2704 $as_echo "$as_me: failed program was:" >&5
2705 sed 's/^/| /' conftest.$ac_ext >&5
2707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2709 as_fn_error 77 "C compiler cannot create executables
2710 See \`config.log' for more details" "$LINENO" 5; }
2712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2713 $as_echo "yes" >&6; }
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2716 $as_echo_n "checking for C compiler default output file name... " >&6; }
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2718 $as_echo "$ac_file" >&6; }
2719 ac_exeext=$ac_cv_exeext
2721 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2722 ac_clean_files=$ac_clean_files_save
2723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2724 $as_echo_n "checking for suffix of executables... " >&6; }
2725 if { { ac_try="$ac_link"
2727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2728 *) ac_try_echo=$ac_try;;
2730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2731 $as_echo "$ac_try_echo"; } >&5
2732 (eval "$ac_link") 2>&5
2734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2735 test $ac_status = 0; }; then :
2736 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2737 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2738 # work properly (i.e., refer to `conftest.exe'), while it won't with
2740 for ac_file in conftest.exe conftest conftest.*; do
2741 test -f "$ac_file" || continue
2743 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2744 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2752 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2753 See \`config.log' for more details" "$LINENO" 5; }
2755 rm -f conftest conftest$ac_cv_exeext
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2757 $as_echo "$ac_cv_exeext" >&6; }
2759 rm -f conftest.$ac_ext
2760 EXEEXT=$ac_cv_exeext
2762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2763 /* end confdefs.h. */
2768 FILE *f = fopen ("conftest.out", "w");
2769 return ferror (f) || fclose (f) != 0;
2775 ac_clean_files="$ac_clean_files conftest.out"
2776 # Check that the compiler produces executables we can run. If not, either
2777 # the compiler is broken, or we cross compile.
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2779 $as_echo_n "checking whether we are cross compiling... " >&6; }
2780 if test "$cross_compiling" != yes; then
2781 { { ac_try="$ac_link"
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2786 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2787 $as_echo "$ac_try_echo"; } >&5
2788 (eval "$ac_link") 2>&5
2790 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2791 test $ac_status = 0; }
2792 if { ac_try='./conftest$ac_cv_exeext'
2793 { { case "(($ac_try" in
2794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2795 *) ac_try_echo=$ac_try;;
2797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2798 $as_echo "$ac_try_echo"; } >&5
2799 (eval "$ac_try") 2>&5
2801 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2802 test $ac_status = 0; }; }; then
2805 if test "$cross_compiling" = maybe; then
2808 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2810 as_fn_error $? "cannot run C compiled programs.
2811 If you meant to cross compile, use \`--host'.
2812 See \`config.log' for more details" "$LINENO" 5; }
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2817 $as_echo "$cross_compiling" >&6; }
2819 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2820 ac_clean_files=$ac_clean_files_save
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2822 $as_echo_n "checking for suffix of object files... " >&6; }
2823 if ${ac_cv_objext+:} false; then :
2824 $as_echo_n "(cached) " >&6
2826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2827 /* end confdefs.h. */
2837 rm -f conftest.o conftest.obj
2838 if { { ac_try="$ac_compile"
2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2844 $as_echo "$ac_try_echo"; } >&5
2845 (eval "$ac_compile") 2>&5
2847 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2848 test $ac_status = 0; }; then :
2849 for ac_file in conftest.o conftest.obj conftest.*; do
2850 test -f "$ac_file" || continue;
2852 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2853 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2858 $as_echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.$ac_ext >&5
2861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2863 as_fn_error $? "cannot compute suffix of object files: cannot compile
2864 See \`config.log' for more details" "$LINENO" 5; }
2866 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2869 $as_echo "$ac_cv_objext" >&6; }
2870 OBJEXT=$ac_cv_objext
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2873 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2874 if ${ac_cv_c_compiler_gnu+:} false; then :
2875 $as_echo_n "(cached) " >&6
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2891 if ac_fn_c_try_compile "$LINENO"; then :
2896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2897 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2901 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2902 if test $ac_compiler_gnu = yes; then
2907 ac_test_CFLAGS=${CFLAGS+set}
2908 ac_save_CFLAGS=$CFLAGS
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2910 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2911 if ${ac_cv_prog_cc_g+:} false; then :
2912 $as_echo_n "(cached) " >&6
2914 ac_save_c_werror_flag=$ac_c_werror_flag
2915 ac_c_werror_flag=yes
2918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2919 /* end confdefs.h. */
2929 if ac_fn_c_try_compile "$LINENO"; then :
2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2934 /* end confdefs.h. */
2944 if ac_fn_c_try_compile "$LINENO"; then :
2947 ac_c_werror_flag=$ac_save_c_werror_flag
2949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2950 /* end confdefs.h. */
2960 if ac_fn_c_try_compile "$LINENO"; then :
2963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2968 ac_c_werror_flag=$ac_save_c_werror_flag
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2971 $as_echo "$ac_cv_prog_cc_g" >&6; }
2972 if test "$ac_test_CFLAGS" = set; then
2973 CFLAGS=$ac_save_CFLAGS
2974 elif test $ac_cv_prog_cc_g = yes; then
2975 if test "$GCC" = yes; then
2981 if test "$GCC" = yes; then
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2988 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2989 if ${ac_cv_prog_cc_c89+:} false; then :
2990 $as_echo_n "(cached) " >&6
2992 ac_cv_prog_cc_c89=no
2994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2995 /* end confdefs.h. */
2999 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3000 struct buf { int x; };
3001 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3002 static char *e (p, i)
3008 static char *f (char * (*g) (char **, int), char **p, ...)
3013 s = g (p, va_arg (v,int));
3018 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3019 function prototypes and stuff, but not '\xHH' hex character constants.
3020 These don't provoke an error unfortunately, instead are silently treated
3021 as 'x'. The following induces an error, until -std is added to get
3022 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3023 array size at least. It's necessary to write '\x00'==0 to get something
3024 that's true only with -std. */
3025 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3027 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3028 inside strings and character constants. */
3030 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3032 int test (int i, double x);
3033 struct s1 {int (*f) (int a);};
3034 struct s2 {int (*f) (double a);};
3035 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3041 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3046 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3047 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3049 CC="$ac_save_CC $ac_arg"
3050 if ac_fn_c_try_compile "$LINENO"; then :
3051 ac_cv_prog_cc_c89=$ac_arg
3053 rm -f core conftest.err conftest.$ac_objext
3054 test "x$ac_cv_prog_cc_c89" != "xno" && break
3056 rm -f conftest.$ac_ext
3061 case "x$ac_cv_prog_cc_c89" in
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3064 $as_echo "none needed" >&6; } ;;
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3067 $as_echo "unsupported" >&6; } ;;
3069 CC="$CC $ac_cv_prog_cc_c89"
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3071 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3073 if test "x$ac_cv_prog_cc_c89" != xno; then :
3078 ac_cpp='$CPP $CPPFLAGS'
3079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3085 ac_cpp='$CPP $CPPFLAGS'
3086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3090 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3091 # On Suns, sometimes $CPP names a directory.
3092 if test -n "$CPP" && test -d "$CPP"; then
3095 if test -z "$CPP"; then
3096 if ${ac_cv_prog_CPP+:} false; then :
3097 $as_echo_n "(cached) " >&6
3099 # Double quotes because CPP needs to be expanded
3100 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3103 for ac_c_preproc_warn_flag in '' yes
3105 # Use a header file that comes with gcc, so configuring glibc
3106 # with a fresh cross-compiler works.
3107 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3108 # <limits.h> exists even on freestanding compilers.
3109 # On the NeXT, cc -E runs the code through the compiler's parser,
3110 # not just through cpp. "Syntax error" is here to catch this case.
3111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3112 /* end confdefs.h. */
3114 # include <limits.h>
3116 # include <assert.h>
3120 if ac_fn_c_try_cpp "$LINENO"; then :
3123 # Broken: fails on valid input.
3126 rm -f conftest.err conftest.i conftest.$ac_ext
3128 # OK, works on sane cases. Now check whether nonexistent headers
3129 # can be detected and how.
3130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3131 /* end confdefs.h. */
3132 #include <ac_nonexistent.h>
3134 if ac_fn_c_try_cpp "$LINENO"; then :
3135 # Broken: success on invalid input.
3138 # Passes both tests.
3142 rm -f conftest.err conftest.i conftest.$ac_ext
3145 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3146 rm -f conftest.i conftest.err conftest.$ac_ext
3147 if $ac_preproc_ok; then :
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3160 $as_echo "$CPP" >&6; }
3162 for ac_c_preproc_warn_flag in '' yes
3164 # Use a header file that comes with gcc, so configuring glibc
3165 # with a fresh cross-compiler works.
3166 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3167 # <limits.h> exists even on freestanding compilers.
3168 # On the NeXT, cc -E runs the code through the compiler's parser,
3169 # not just through cpp. "Syntax error" is here to catch this case.
3170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3171 /* end confdefs.h. */
3173 # include <limits.h>
3175 # include <assert.h>
3179 if ac_fn_c_try_cpp "$LINENO"; then :
3182 # Broken: fails on valid input.
3185 rm -f conftest.err conftest.i conftest.$ac_ext
3187 # OK, works on sane cases. Now check whether nonexistent headers
3188 # can be detected and how.
3189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3190 /* end confdefs.h. */
3191 #include <ac_nonexistent.h>
3193 if ac_fn_c_try_cpp "$LINENO"; then :
3194 # Broken: success on invalid input.
3197 # Passes both tests.
3201 rm -f conftest.err conftest.i conftest.$ac_ext
3204 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3205 rm -f conftest.i conftest.err conftest.$ac_ext
3206 if $ac_preproc_ok; then :
3209 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3210 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3211 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3212 See \`config.log' for more details" "$LINENO" 5; }
3216 ac_cpp='$CPP $CPPFLAGS'
3217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3223 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3224 if ${ac_cv_path_GREP+:} false; then :
3225 $as_echo_n "(cached) " >&6
3227 if test -z "$GREP"; then
3228 ac_path_GREP_found=false
3229 # Loop through the user's path and test for each of PROGNAME-LIST
3230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3231 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3234 test -z "$as_dir" && as_dir=.
3235 for ac_prog in grep ggrep; do
3236 for ac_exec_ext in '' $ac_executable_extensions; do
3237 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3238 as_fn_executable_p "$ac_path_GREP" || continue
3239 # Check for GNU ac_path_GREP and select it if it is found.
3240 # Check for GNU $ac_path_GREP
3241 case `"$ac_path_GREP" --version 2>&1` in
3243 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3246 $as_echo_n 0123456789 >"conftest.in"
3249 cat "conftest.in" "conftest.in" >"conftest.tmp"
3250 mv "conftest.tmp" "conftest.in"
3251 cp "conftest.in" "conftest.nl"
3252 $as_echo 'GREP' >> "conftest.nl"
3253 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3254 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3255 as_fn_arith $ac_count + 1 && ac_count=$as_val
3256 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3257 # Best one so far, save it but keep looking for a better one
3258 ac_cv_path_GREP="$ac_path_GREP"
3259 ac_path_GREP_max=$ac_count
3261 # 10*(2^10) chars as input seems more than enough
3262 test $ac_count -gt 10 && break
3264 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3267 $ac_path_GREP_found && break 3
3272 if test -z "$ac_cv_path_GREP"; then
3273 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3276 ac_cv_path_GREP=$GREP
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3281 $as_echo "$ac_cv_path_GREP" >&6; }
3282 GREP="$ac_cv_path_GREP"
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3286 $as_echo_n "checking for egrep... " >&6; }
3287 if ${ac_cv_path_EGREP+:} false; then :
3288 $as_echo_n "(cached) " >&6
3290 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3291 then ac_cv_path_EGREP="$GREP -E"
3293 if test -z "$EGREP"; then
3294 ac_path_EGREP_found=false
3295 # Loop through the user's path and test for each of PROGNAME-LIST
3296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3297 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3300 test -z "$as_dir" && as_dir=.
3301 for ac_prog in egrep; do
3302 for ac_exec_ext in '' $ac_executable_extensions; do
3303 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3304 as_fn_executable_p "$ac_path_EGREP" || continue
3305 # Check for GNU ac_path_EGREP and select it if it is found.
3306 # Check for GNU $ac_path_EGREP
3307 case `"$ac_path_EGREP" --version 2>&1` in
3309 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3312 $as_echo_n 0123456789 >"conftest.in"
3315 cat "conftest.in" "conftest.in" >"conftest.tmp"
3316 mv "conftest.tmp" "conftest.in"
3317 cp "conftest.in" "conftest.nl"
3318 $as_echo 'EGREP' >> "conftest.nl"
3319 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3320 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3321 as_fn_arith $ac_count + 1 && ac_count=$as_val
3322 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3323 # Best one so far, save it but keep looking for a better one
3324 ac_cv_path_EGREP="$ac_path_EGREP"
3325 ac_path_EGREP_max=$ac_count
3327 # 10*(2^10) chars as input seems more than enough
3328 test $ac_count -gt 10 && break
3330 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3333 $ac_path_EGREP_found && break 3
3338 if test -z "$ac_cv_path_EGREP"; then
3339 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3342 ac_cv_path_EGREP=$EGREP
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3348 $as_echo "$ac_cv_path_EGREP" >&6; }
3349 EGREP="$ac_cv_path_EGREP"
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3353 $as_echo_n "checking for ANSI C header files... " >&6; }
3354 if ${ac_cv_header_stdc+:} false; then :
3355 $as_echo_n "(cached) " >&6
3357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3358 /* end confdefs.h. */
3372 if ac_fn_c_try_compile "$LINENO"; then :
3373 ac_cv_header_stdc=yes
3375 ac_cv_header_stdc=no
3377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3379 if test $ac_cv_header_stdc = yes; then
3380 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3382 /* end confdefs.h. */
3386 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3387 $EGREP "memchr" >/dev/null 2>&1; then :
3390 ac_cv_header_stdc=no
3396 if test $ac_cv_header_stdc = yes; then
3397 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3399 /* end confdefs.h. */
3403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3404 $EGREP "free" >/dev/null 2>&1; then :
3407 ac_cv_header_stdc=no
3413 if test $ac_cv_header_stdc = yes; then
3414 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3415 if test "$cross_compiling" = yes; then :
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3422 #if ((' ' & 0x0FF) == 0x020)
3423 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3424 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3426 # define ISLOWER(c) \
3427 (('a' <= (c) && (c) <= 'i') \
3428 || ('j' <= (c) && (c) <= 'r') \
3429 || ('s' <= (c) && (c) <= 'z'))
3430 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3433 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3438 for (i = 0; i < 256; i++)
3439 if (XOR (islower (i), ISLOWER (i))
3440 || toupper (i) != TOUPPER (i))
3445 if ac_fn_c_try_run "$LINENO"; then :
3448 ac_cv_header_stdc=no
3450 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3451 conftest.$ac_objext conftest.beam conftest.$ac_ext
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3457 $as_echo "$ac_cv_header_stdc" >&6; }
3458 if test $ac_cv_header_stdc = yes; then
3460 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3464 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3465 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3466 inttypes.h stdint.h unistd.h
3468 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3469 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3471 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3472 cat >>confdefs.h <<_ACEOF
3473 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3482 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3483 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3490 if test "$MINIX" = yes; then
3492 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3495 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3498 $as_echo "#define _MINIX 1" >>confdefs.h
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3504 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3505 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3506 $as_echo_n "(cached) " >&6
3508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3509 /* end confdefs.h. */
3511 # define __EXTENSIONS__ 1
3512 $ac_includes_default
3521 if ac_fn_c_try_compile "$LINENO"; then :
3522 ac_cv_safe_to_define___extensions__=yes
3524 ac_cv_safe_to_define___extensions__=no
3526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3529 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3530 test $ac_cv_safe_to_define___extensions__ = yes &&
3531 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3533 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3535 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3537 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3539 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3544 $as_echo_n "checking whether ln -s works... " >&6; }
3546 if test "$LN_S" = "ln -s"; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3548 $as_echo "yes" >&6; }
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3551 $as_echo "no, using $LN_S" >&6; }
3557 # Extract the first word of "chmod", so it can be a program name with args.
3558 set dummy chmod; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if ${ac_cv_prog_CHMOD+:} false; then :
3562 $as_echo_n "(cached) " >&6
3564 if test -n "$CHMOD"; then
3565 ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3574 ac_cv_prog_CHMOD="chmod"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3584 CHMOD=$ac_cv_prog_CHMOD
3585 if test -n "$CHMOD"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
3587 $as_echo "$CHMOD" >&6; }
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3594 # Extract the first word of "chown", so it can be a program name with args.
3595 set dummy chown; ac_word=$2
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3597 $as_echo_n "checking for $ac_word... " >&6; }
3598 if ${ac_cv_prog_CHOWN+:} false; then :
3599 $as_echo_n "(cached) " >&6
3601 if test -n "$CHOWN"; then
3602 ac_cv_prog_CHOWN="$CHOWN" # Let the user override the test.
3604 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 test -z "$as_dir" && as_dir=.
3609 for ac_exec_ext in '' $ac_executable_extensions; do
3610 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3611 ac_cv_prog_CHOWN="chown"
3612 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3621 CHOWN=$ac_cv_prog_CHOWN
3622 if test -n "$CHOWN"; then
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHOWN" >&5
3624 $as_echo "$CHOWN" >&6; }
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3627 $as_echo "no" >&6; }
3631 # Extract the first word of "ar", so it can be a program name with args.
3632 set dummy ar; ac_word=$2
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3634 $as_echo_n "checking for $ac_word... " >&6; }
3635 if ${ac_cv_prog_AR+:} false; then :
3636 $as_echo_n "(cached) " >&6
3638 if test -n "$AR"; then
3639 ac_cv_prog_AR="$AR" # Let the user override the test.
3641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 test -z "$as_dir" && as_dir=.
3646 for ac_exec_ext in '' $ac_executable_extensions; do
3647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3659 if test -n "$AR"; then
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3661 $as_echo "$AR" >&6; }
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3664 $as_echo "no" >&6; }
3668 # Extract the first word of "install", so it can be a program name with args.
3669 set dummy install; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if ${ac_cv_prog_INSTALL+:} false; then :
3673 $as_echo_n "(cached) " >&6
3675 if test -n "$INSTALL"; then
3676 ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3685 ac_cv_prog_INSTALL="install"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3695 INSTALL=$ac_cv_prog_INSTALL
3696 if test -n "$INSTALL"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3698 $as_echo "$INSTALL" >&6; }
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3705 # Extract the first word of "msgfmt", so it can be a program name with args.
3706 set dummy msgfmt; ac_word=$2
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3708 $as_echo_n "checking for $ac_word... " >&6; }
3709 if ${ac_cv_prog_MSGFMT+:} false; then :
3710 $as_echo_n "(cached) " >&6
3712 if test -n "$MSGFMT"; then
3713 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
3715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 test -z "$as_dir" && as_dir=.
3720 for ac_exec_ext in '' $ac_executable_extensions; do
3721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3722 ac_cv_prog_MSGFMT="msgfmt"
3723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3732 MSGFMT=$ac_cv_prog_MSGFMT
3733 if test -n "$MSGFMT"; then
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3735 $as_echo "$MSGFMT" >&6; }
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3738 $as_echo "no" >&6; }
3742 # Extract the first word of "xgettext", so it can be a program name with args.
3743 set dummy xgettext; ac_word=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if ${ac_cv_prog_XGETTEXT+:} false; then :
3747 $as_echo_n "(cached) " >&6
3749 if test -n "$XGETTEXT"; then
3750 ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test.
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3756 test -z "$as_dir" && as_dir=.
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3759 ac_cv_prog_XGETTEXT="xgettext"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769 XGETTEXT=$ac_cv_prog_XGETTEXT
3770 if test -n "$XGETTEXT"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3772 $as_echo "$XGETTEXT" >&6; }
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3779 # Extract the first word of "msgmerge", so it can be a program name with args.
3780 set dummy msgmerge; ac_word=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if ${ac_cv_prog_MSGMERGE+:} false; then :
3784 $as_echo_n "(cached) " >&6
3786 if test -n "$MSGMERGE"; then
3787 ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test.
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3796 ac_cv_prog_MSGMERGE="msgmerge"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3806 MSGMERGE=$ac_cv_prog_MSGMERGE
3807 if test -n "$MSGMERGE"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3809 $as_echo "$MSGMERGE" >&6; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3816 # Extract the first word of "xmllint", so it can be a program name with args.
3817 set dummy xmllint; ac_word=$2
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3819 $as_echo_n "checking for $ac_word... " >&6; }
3820 if ${ac_cv_prog_VER_XML+:} false; then :
3821 $as_echo_n "(cached) " >&6
3823 if test -n "$VER_XML"; then
3824 ac_cv_prog_VER_XML="$VER_XML" # Let the user override the test.
3826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3830 test -z "$as_dir" && as_dir=.
3831 for ac_exec_ext in '' $ac_executable_extensions; do
3832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3833 ac_cv_prog_VER_XML="xmllint"
3834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 VER_XML=$ac_cv_prog_VER_XML
3844 if test -n "$VER_XML"; then
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VER_XML" >&5
3846 $as_echo "$VER_XML" >&6; }
3848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3849 $as_echo "no" >&6; }
3853 for ac_prog in json_verify json_pp
3855 # Extract the first word of "$ac_prog", so it can be a program name with args.
3856 set dummy $ac_prog; ac_word=$2
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3858 $as_echo_n "checking for $ac_word... " >&6; }
3859 if ${ac_cv_prog_VER_JSON+:} false; then :
3860 $as_echo_n "(cached) " >&6
3862 if test -n "$VER_JSON"; then
3863 ac_cv_prog_VER_JSON="$VER_JSON" # Let the user override the test.
3865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3869 test -z "$as_dir" && as_dir=.
3870 for ac_exec_ext in '' $ac_executable_extensions; do
3871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3872 ac_cv_prog_VER_JSON="$ac_prog"
3873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3882 VER_JSON=$ac_cv_prog_VER_JSON
3883 if test -n "$VER_JSON"; then
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VER_JSON" >&5
3885 $as_echo "$VER_JSON" >&6; }
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3888 $as_echo "no" >&6; }
3892 test -n "$VER_JSON" && break
3894 test -n "$VER_JSON" || VER_JSON="true"
3896 for ac_prog in xz bzip2 gzip
3898 # Extract the first word of "$ac_prog", so it can be a program name with args.
3899 set dummy $ac_prog; ac_word=$2
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3901 $as_echo_n "checking for $ac_word... " >&6; }
3902 if ${ac_cv_prog_ZIP+:} false; then :
3903 $as_echo_n "(cached) " >&6
3905 if test -n "$ZIP"; then
3906 ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
3908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 test -z "$as_dir" && as_dir=.
3913 for ac_exec_ext in '' $ac_executable_extensions; do
3914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3915 ac_cv_prog_ZIP="$ac_prog"
3916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3926 if test -n "$ZIP"; then
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
3928 $as_echo "$ZIP" >&6; }
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3931 $as_echo "no" >&6; }
3935 test -n "$ZIP" && break
3937 test -n "$ZIP" || ZIP="gzip"
3939 INSTALL_DATA="\${INSTALL} -m 644"
3941 INSTALL_BIN="\${INSTALL} -m 755"
3947 # Extract the first word of "cp", so it can be a program name with args.
3948 set dummy cp; ac_word=$2
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3950 $as_echo_n "checking for $ac_word... " >&6; }
3951 if ${ac_cv_path_PATH_CP+:} false; then :
3952 $as_echo_n "(cached) " >&6
3956 ac_cv_path_PATH_CP="$PATH_CP" # Let the user override the test with a path.
3959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963 test -z "$as_dir" && as_dir=.
3964 for ac_exec_ext in '' $ac_executable_extensions; do
3965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3966 ac_cv_path_PATH_CP="$as_dir/$ac_word$ac_exec_ext"
3967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3977 PATH_CP=$ac_cv_path_PATH_CP
3978 if test -n "$PATH_CP"; then
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CP" >&5
3980 $as_echo "$PATH_CP" >&6; }
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3983 $as_echo "no" >&6; }
3987 # Extract the first word of "chkconfig", so it can be a program name with args.
3988 set dummy chkconfig; ac_word=$2
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3990 $as_echo_n "checking for $ac_word... " >&6; }
3991 if ${ac_cv_path_PATH_CHKCONFIG+:} false; then :
3992 $as_echo_n "(cached) " >&6
3994 case $PATH_CHKCONFIG in
3996 ac_cv_path_PATH_CHKCONFIG="$PATH_CHKCONFIG" # Let the user override the test with a path.
3999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4003 test -z "$as_dir" && as_dir=.
4004 for ac_exec_ext in '' $ac_executable_extensions; do
4005 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4006 ac_cv_path_PATH_CHKCONFIG="$as_dir/$ac_word$ac_exec_ext"
4007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4017 PATH_CHKCONFIG=$ac_cv_path_PATH_CHKCONFIG
4018 if test -n "$PATH_CHKCONFIG"; then
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CHKCONFIG" >&5
4020 $as_echo "$PATH_CHKCONFIG" >&6; }
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4023 $as_echo "no" >&6; }
4029 # Extract the first word of "pkg-config", so it can be a program name with args.
4030 set dummy pkg-config; ac_word=$2
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4032 $as_echo_n "checking for $ac_word... " >&6; }
4033 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
4034 $as_echo_n "(cached) " >&6
4036 if test -n "$PKG_CONFIG"; then
4037 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4043 test -z "$as_dir" && as_dir=.
4044 for ac_exec_ext in '' $ac_executable_extensions; do
4045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4046 ac_cv_prog_PKG_CONFIG="pkg-config"
4047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4056 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4057 if test -n "$PKG_CONFIG"; then
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4059 $as_echo "$PKG_CONFIG" >&6; }
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062 $as_echo "no" >&6; }
4066 # Extract the first word of "systemctl", so it can be a program name with args.
4067 set dummy systemctl; ac_word=$2
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4069 $as_echo_n "checking for $ac_word... " >&6; }
4070 if ${ac_cv_path_SYSTEMCTL+:} false; then :
4071 $as_echo_n "(cached) " >&6
4075 ac_cv_path_SYSTEMCTL="$SYSTEMCTL" # Let the user override the test with a path.
4078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4082 test -z "$as_dir" && as_dir=.
4083 for ac_exec_ext in '' $ac_executable_extensions; do
4084 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4085 ac_cv_path_SYSTEMCTL="$as_dir/$ac_word$ac_exec_ext"
4086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4096 SYSTEMCTL=$ac_cv_path_SYSTEMCTL
4097 if test -n "$SYSTEMCTL"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSTEMCTL" >&5
4099 $as_echo "$SYSTEMCTL" >&6; }
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4107 # Check whether --with-systemdsystemunitdir was given.
4108 if test "${with_systemdsystemunitdir+set}" = set; then :
4109 withval=$with_systemdsystemunitdir;
4111 with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
4114 if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ; then
4115 SYSTEMD_UNIT_DIR=$with_systemdsystemunitdir
4119 # Check whether --with-systemdsleepdir was given.
4120 if test "${with_systemdsleepdir+set}" = set; then :
4121 withval=$with_systemdsleepdir;
4123 with_systemdsleepdir=$($PKG_CONFIG --variable=systemdsleepdir systemd)
4126 if test -n "$with_systemdsleepdir" -a "x$with_systemdsleepdir" != xno ; then
4127 SYSTEMD_SLEEP_DIR=$with_systemdsleepdir
4133 # Check header files
4135 echo Check header files:
4139 HAVE_SYS_SYSMACROS_H=
4141 for ac_header in ctype.h
4143 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
4144 if test "x$ac_cv_header_ctype_h" = xyes; then :
4145 cat >>confdefs.h <<_ACEOF
4146 #define HAVE_CTYPE_H 1
4153 for ac_header in errno.h
4155 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
4156 if test "x$ac_cv_header_errno_h" = xyes; then :
4157 cat >>confdefs.h <<_ACEOF
4158 #define HAVE_ERRNO_H 1
4165 for ac_header in libintl.h
4167 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4168 if test "x$ac_cv_header_libintl_h" = xyes; then :
4169 cat >>confdefs.h <<_ACEOF
4170 #define HAVE_LIBINTL_H 1
4177 for ac_header in locale.h
4179 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4180 if test "x$ac_cv_header_locale_h" = xyes; then :
4181 cat >>confdefs.h <<_ACEOF
4182 #define HAVE_LOCALE_H 1
4189 for ac_header in linux/sched.h
4191 ac_fn_c_check_header_mongrel "$LINENO" "linux/sched.h" "ac_cv_header_linux_sched_h" "$ac_includes_default"
4192 if test "x$ac_cv_header_linux_sched_h" = xyes; then :
4193 cat >>confdefs.h <<_ACEOF
4194 #define HAVE_LINUX_SCHED_H 1
4196 HAVE_LINUX_SCHED_H=1
4201 for ac_header in net/if.h
4203 ac_fn_c_check_header_mongrel "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default"
4204 if test "x$ac_cv_header_net_if_h" = xyes; then :
4205 cat >>confdefs.h <<_ACEOF
4206 #define HAVE_NET_IF_H 1
4213 for ac_header in regex.h
4215 ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
4216 if test "x$ac_cv_header_regex_h" = xyes; then :
4217 cat >>confdefs.h <<_ACEOF
4218 #define HAVE_REGEX_H 1
4225 for ac_header in signal.h
4227 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
4228 if test "x$ac_cv_header_signal_h" = xyes; then :
4229 cat >>confdefs.h <<_ACEOF
4230 #define HAVE_SIGNAL_H 1
4237 for ac_header in stdio.h
4239 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
4240 if test "x$ac_cv_header_stdio_h" = xyes; then :
4241 cat >>confdefs.h <<_ACEOF
4242 #define HAVE_STDIO_H 1
4249 for ac_header in stdint.h
4251 ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
4252 if test "x$ac_cv_header_stdint_h" = xyes; then :
4253 cat >>confdefs.h <<_ACEOF
4254 #define HAVE_STDINT_H 1
4261 for ac_header in fcntl.h
4263 ac_fn_c_check_header_mongrel "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
4264 if test "x$ac_cv_header_fcntl_h" = xyes; then :
4265 cat >>confdefs.h <<_ACEOF
4266 #define HAVE_FCNTL_H 1
4273 for ac_header in inttypes.h
4275 ac_fn_c_check_header_mongrel "$LINENO" "inttypes.h" "ac_cv_header_inttypes_h" "$ac_includes_default"
4276 if test "x$ac_cv_header_inttypes_h" = xyes; then :
4277 cat >>confdefs.h <<_ACEOF
4278 #define HAVE_INTTYPES_H 1
4285 for ac_header in libgen.h
4287 ac_fn_c_check_header_mongrel "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default"
4288 if test "x$ac_cv_header_libgen_h" = xyes; then :
4289 cat >>confdefs.h <<_ACEOF
4290 #define HAVE_LIBGEN_H 1
4297 for ac_header in pwd.h
4299 ac_fn_c_check_header_mongrel "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
4300 if test "x$ac_cv_header_pwd_h" = xyes; then :
4301 cat >>confdefs.h <<_ACEOF
4302 #define HAVE_PWD_H 1
4309 for ac_header in time.h
4311 ac_fn_c_check_header_mongrel "$LINENO" "time.h" "ac_cv_header_time_h" "$ac_includes_default"
4312 if test "x$ac_cv_header_time_h" = xyes; then :
4313 cat >>confdefs.h <<_ACEOF
4314 #define HAVE_TIME_H 1
4321 for ac_header in unistd.h
4323 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
4324 if test "x$ac_cv_header_unistd_h" = xyes; then :
4325 cat >>confdefs.h <<_ACEOF
4326 #define HAVE_UNISTD_H 1
4333 for ac_header in pcp/pmapi.h
4335 ac_fn_c_check_header_mongrel "$LINENO" "pcp/pmapi.h" "ac_cv_header_pcp_pmapi_h" "$ac_includes_default"
4336 if test "x$ac_cv_header_pcp_pmapi_h" = xyes; then :
4337 cat >>confdefs.h <<_ACEOF
4338 #define HAVE_PCP_PMAPI_H 1
4345 for ac_header in pcp/impl.h
4347 ac_fn_c_check_header_mongrel "$LINENO" "pcp/impl.h" "ac_cv_header_pcp_impl_h" "$ac_includes_default"
4348 if test "x$ac_cv_header_pcp_impl_h" = xyes; then :
4349 cat >>confdefs.h <<_ACEOF
4350 #define HAVE_PCP_IMPL_H 1
4357 for ac_header in sys/time.h
4359 ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
4360 if test "x$ac_cv_header_sys_time_h" = xyes; then :
4361 cat >>confdefs.h <<_ACEOF
4362 #define HAVE_SYS_TIME_H 1
4369 for ac_header in sys/statvfs.h
4371 ac_fn_c_check_header_mongrel "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
4372 if test "x$ac_cv_header_sys_statvfs_h" = xyes; then :
4373 cat >>confdefs.h <<_ACEOF
4374 #define HAVE_SYS_STATVFS_H 1
4381 for ac_header in sys/types.h
4383 ac_fn_c_check_header_mongrel "$LINENO" "sys/types.h" "ac_cv_header_sys_types_h" "$ac_includes_default"
4384 if test "x$ac_cv_header_sys_types_h" = xyes; then :
4385 cat >>confdefs.h <<_ACEOF
4386 #define HAVE_SYS_TYPES_H 1
4393 for ac_header in sys/file.h
4395 ac_fn_c_check_header_mongrel "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
4396 if test "x$ac_cv_header_sys_file_h" = xyes; then :
4397 cat >>confdefs.h <<_ACEOF
4398 #define HAVE_SYS_FILE_H 1
4405 for ac_header in sys/ioctl.h
4407 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
4408 if test "x$ac_cv_header_sys_ioctl_h" = xyes; then :
4409 cat >>confdefs.h <<_ACEOF
4410 #define HAVE_SYS_IOCTL_H 1
4417 for ac_header in sys/param.h
4419 ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
4420 if test "x$ac_cv_header_sys_param_h" = xyes; then :
4421 cat >>confdefs.h <<_ACEOF
4422 #define HAVE_SYS_PARAM_H 1
4429 for ac_header in sys/stat.h
4431 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
4432 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
4433 cat >>confdefs.h <<_ACEOF
4434 #define HAVE_SYS_STAT_H 1
4441 for ac_header in sys/sysmacros.h
4443 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
4444 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
4445 cat >>confdefs.h <<_ACEOF
4446 #define HAVE_SYS_SYSMACROS_H 1
4448 HAVE_SYS_SYSMACROS_H=1
4453 for ac_header in sys/utsname.h
4455 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
4456 if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
4457 cat >>confdefs.h <<_ACEOF
4458 #define HAVE_SYS_UTSNAME_H 1
4467 echo Check typedefs, structures and compiler characteristics:
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4470 $as_echo_n "checking return type of signal handlers... " >&6; }
4471 if ${ac_cv_type_signal+:} false; then :
4472 $as_echo_n "(cached) " >&6
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4476 #include <sys/types.h>
4482 return *(signal (0, 0)) (0) == 1;
4487 if ac_fn_c_try_compile "$LINENO"; then :
4488 ac_cv_type_signal=int
4490 ac_cv_type_signal=void
4492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4495 $as_echo "$ac_cv_type_signal" >&6; }
4497 cat >>confdefs.h <<_ACEOF
4498 #define RETSIGTYPE $ac_cv_type_signal
4502 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4503 if test "x$ac_cv_type_size_t" = xyes; then :
4507 cat >>confdefs.h <<_ACEOF
4508 #define size_t unsigned int
4513 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4514 if test "x$ac_cv_type_off_t" = xyes; then :
4518 cat >>confdefs.h <<_ACEOF
4519 #define off_t long int
4526 echo Check library functions:
4528 for ac_func in strchr
4530 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
4531 if test "x$ac_cv_func_strchr" = xyes; then :
4532 cat >>confdefs.h <<_ACEOF
4533 #define HAVE_STRCHR 1
4539 for ac_func in strcspn
4541 ac_fn_c_check_func "$LINENO" "strcspn" "ac_cv_func_strcspn"
4542 if test "x$ac_cv_func_strcspn" = xyes; then :
4543 cat >>confdefs.h <<_ACEOF
4544 #define HAVE_STRCSPN 1
4550 for ac_func in strspn
4552 ac_fn_c_check_func "$LINENO" "strspn" "ac_cv_func_strspn"
4553 if test "x$ac_cv_func_strspn" = xyes; then :
4554 cat >>confdefs.h <<_ACEOF
4555 #define HAVE_STRSPN 1
4561 for ac_func in strstr
4563 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
4564 if test "x$ac_cv_func_strstr" = xyes; then :
4565 cat >>confdefs.h <<_ACEOF
4566 #define HAVE_STRSTR 1
4573 # Should we check for lm_sensors?
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors support" >&5
4575 $as_echo_n "checking for sensors support... " >&6; }
4576 # Check whether --enable-sensors was given.
4577 if test "${enable_sensors+set}" = set; then :
4578 enableval=$enable_sensors; SENSORS=$enableval
4583 if test $SENSORS != "yes"; then
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4589 $as_echo "$SENSORS" >&6; }
4591 # Check for lm_sensors
4594 if test $HAVE_SENSORS = "y"; then
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_get_detected_chips in -lsensors" >&5
4597 $as_echo_n "checking for sensors_get_detected_chips in -lsensors... " >&6; }
4598 if ${ac_cv_lib_sensors_sensors_get_detected_chips+:} false; then :
4599 $as_echo_n "(cached) " >&6
4601 ac_check_lib_save_LIBS=$LIBS
4602 LIBS="-lsensors $LIBS"
4603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4604 /* end confdefs.h. */
4606 /* Override any GCC internal prototype to avoid an error.
4607 Use char because int might match the return type of a GCC
4608 builtin and then its argument prototype would still apply. */
4612 char sensors_get_detected_chips ();
4616 return sensors_get_detected_chips ();
4621 if ac_fn_c_try_link "$LINENO"; then :
4622 ac_cv_lib_sensors_sensors_get_detected_chips=yes
4624 ac_cv_lib_sensors_sensors_get_detected_chips=no
4626 rm -f core conftest.err conftest.$ac_objext \
4627 conftest$ac_exeext conftest.$ac_ext
4628 LIBS=$ac_check_lib_save_LIBS
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_get_detected_chips" >&5
4631 $as_echo "$ac_cv_lib_sensors_sensors_get_detected_chips" >&6; }
4632 if test "x$ac_cv_lib_sensors_sensors_get_detected_chips" = xyes; then :
4633 LFSENSORS="-lsensors"
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors lib" >&5
4639 $as_echo_n "checking for sensors lib... " >&6; }
4640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4641 /* end confdefs.h. */
4642 #include <sensors/sensors.h>
4643 #include <sensors/error.h>
4652 if ac_fn_c_try_compile "$LINENO"; then :
4653 SENSORS=yes; DFSENSORS="-DHAVE_SENSORS"
4655 HAVE_SENSORS="n"; SENSORS=no
4657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4659 $as_echo "$SENSORS" >&6; }
4665 # Should we check for PCP support?
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCP support" >&5
4667 $as_echo_n "checking for PCP support... " >&6; }
4668 # Check whether --enable-pcp was given.
4669 if test "${enable_pcp+set}" = set; then :
4670 enableval=$enable_pcp; PCP=$enableval
4675 if test $PCP != "yes"; then
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCP" >&5
4681 $as_echo "$PCP" >&6; }
4683 if test ! $HAVE_PCP_PMAPI_H; then
4687 # Check for PCP libraries
4690 if test $HAVE_PCP = "y"; then
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pmGetVersion in -lpcp" >&5
4693 $as_echo_n "checking for pmGetVersion in -lpcp... " >&6; }
4694 if ${ac_cv_lib_pcp_pmGetVersion+:} false; then :
4695 $as_echo_n "(cached) " >&6
4697 ac_check_lib_save_LIBS=$LIBS
4699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4700 /* end confdefs.h. */
4702 /* Override any GCC internal prototype to avoid an error.
4703 Use char because int might match the return type of a GCC
4704 builtin and then its argument prototype would still apply. */
4708 char pmGetVersion ();
4712 return pmGetVersion ();
4717 if ac_fn_c_try_link "$LINENO"; then :
4718 ac_cv_lib_pcp_pmGetVersion=yes
4720 ac_cv_lib_pcp_pmGetVersion=no
4722 rm -f core conftest.err conftest.$ac_objext \
4723 conftest$ac_exeext conftest.$ac_ext
4724 LIBS=$ac_check_lib_save_LIBS
4726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcp_pmGetVersion" >&5
4727 $as_echo "$ac_cv_lib_pcp_pmGetVersion" >&6; }
4728 if test "x$ac_cv_lib_pcp_pmGetVersion" = xyes; then :
4729 LFPCP="-lpcp -lpcp_import"
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCP libraries" >&5
4735 $as_echo_n "checking for PCP libraries... " >&6; }
4736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4737 /* end confdefs.h. */
4738 #include <pcp/pmapi.h>
4739 #include <pcp/import.h>
4748 if ac_fn_c_try_compile "$LINENO"; then :
4749 PCP=yes; DFPCP="-DHAVE_PCP"
4751 HAVE_PCP="n"; PCP=no
4753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCP" >&5
4755 $as_echo "$PCP" >&6; }
4761 if test $HAVE_PCP_IMPL_H; then
4769 echo Check system services:
4771 # Check whether --enable-largefile was given.
4772 if test "${enable_largefile+set}" = set; then :
4773 enableval=$enable_largefile;
4776 if test "$enable_largefile" != no; then
4778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4779 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4780 if ${ac_cv_sys_largefile_CC+:} false; then :
4781 $as_echo_n "(cached) " >&6
4783 ac_cv_sys_largefile_CC=no
4784 if test "$GCC" != yes; then
4787 # IRIX 6.2 and later do not support large files by default,
4788 # so use the C compiler's -n32 option if that helps.
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4791 #include <sys/types.h>
4792 /* Check that off_t can represent 2**63 - 1 correctly.
4793 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4794 since some C++ compilers masquerading as C compilers
4795 incorrectly reject 9223372036854775807. */
4796 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4797 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4798 && LARGE_OFF_T % 2147483647 == 1)
4808 if ac_fn_c_try_compile "$LINENO"; then :
4811 rm -f core conftest.err conftest.$ac_objext
4813 if ac_fn_c_try_compile "$LINENO"; then :
4814 ac_cv_sys_largefile_CC=' -n32'; break
4816 rm -f core conftest.err conftest.$ac_objext
4820 rm -f conftest.$ac_ext
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4824 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4825 if test "$ac_cv_sys_largefile_CC" != no; then
4826 CC=$CC$ac_cv_sys_largefile_CC
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4830 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4831 if ${ac_cv_sys_file_offset_bits+:} false; then :
4832 $as_echo_n "(cached) " >&6
4835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4836 /* end confdefs.h. */
4837 #include <sys/types.h>
4838 /* Check that off_t can represent 2**63 - 1 correctly.
4839 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4840 since some C++ compilers masquerading as C compilers
4841 incorrectly reject 9223372036854775807. */
4842 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4843 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4844 && LARGE_OFF_T % 2147483647 == 1)
4854 if ac_fn_c_try_compile "$LINENO"; then :
4855 ac_cv_sys_file_offset_bits=no; break
4857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4860 #define _FILE_OFFSET_BITS 64
4861 #include <sys/types.h>
4862 /* Check that off_t can represent 2**63 - 1 correctly.
4863 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4864 since some C++ compilers masquerading as C compilers
4865 incorrectly reject 9223372036854775807. */
4866 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4867 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4868 && LARGE_OFF_T % 2147483647 == 1)
4878 if ac_fn_c_try_compile "$LINENO"; then :
4879 ac_cv_sys_file_offset_bits=64; break
4881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4882 ac_cv_sys_file_offset_bits=unknown
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4887 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4888 case $ac_cv_sys_file_offset_bits in #(
4891 cat >>confdefs.h <<_ACEOF
4892 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4897 if test $ac_cv_sys_file_offset_bits = unknown; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4899 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4900 if ${ac_cv_sys_large_files+:} false; then :
4901 $as_echo_n "(cached) " >&6
4904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4905 /* end confdefs.h. */
4906 #include <sys/types.h>
4907 /* Check that off_t can represent 2**63 - 1 correctly.
4908 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4909 since some C++ compilers masquerading as C compilers
4910 incorrectly reject 9223372036854775807. */
4911 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4912 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4913 && LARGE_OFF_T % 2147483647 == 1)
4923 if ac_fn_c_try_compile "$LINENO"; then :
4924 ac_cv_sys_large_files=no; break
4926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4928 /* end confdefs.h. */
4929 #define _LARGE_FILES 1
4930 #include <sys/types.h>
4931 /* Check that off_t can represent 2**63 - 1 correctly.
4932 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4933 since some C++ compilers masquerading as C compilers
4934 incorrectly reject 9223372036854775807. */
4935 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4936 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4937 && LARGE_OFF_T % 2147483647 == 1)
4947 if ac_fn_c_try_compile "$LINENO"; then :
4948 ac_cv_sys_large_files=1; break
4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951 ac_cv_sys_large_files=unknown
4955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4956 $as_echo "$ac_cv_sys_large_files" >&6; }
4957 case $ac_cv_sys_large_files in #(
4960 cat >>confdefs.h <<_ACEOF
4961 #define _LARGE_FILES $ac_cv_sys_large_files
4973 echo Check configuration:
4975 # Check arguments used
4977 # Optional Features:
4978 # --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
4979 # --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
4980 # --disable-largefile omit support for large files
4981 # --disable-nls disable National Language Support
4982 # --disable-file-attr don't set attributes on files being installed
4983 # --enable-install-cron tell sysstat to install cron scripts
4984 # --collect-all tell sadc to collect all possible data
4985 # --enable-clean-sa-dir clean system activity directory
4986 # --disable-compress-manpg do not compress manual pages when installed
4987 # --enable-debuginfo enable debug output (--debuginfo option)
4988 # --disable-documentation do not install documentation (man pages...)
4989 # --disable-sensors do not link against libsensors even if available
4990 # --disable-pcp do not link against PCP libraries even if available
4991 # --disable-stripping do not strip object files
4992 # --enable-copy-only only copy files when installing sysstat
4993 # --enable-use-crond use standard cron daemon
4995 # Some influential environment variables:
4996 # rcdir directory where startup scripts are installed
4997 # sa_lib_dir sadc, sa1 and sa2 directory
4998 # sa_dir system activity daily datafiles directory
4999 # sar_dir sar binary location. Used only in sa2 shell script
5000 # conf_dir sysstat configuration directory (default is /etc/sysconfig)
5001 # conf_file sysstat configuration file (default is sysstat)
5002 # history number of daily datafiles to keep (default value is 7)
5003 # delay_range maximum delay (in seconds) to wait before sa2 script generates its reports
5004 # compressafter number of days after which datafiles are compressed
5005 # man_group group for man pages
5006 # cron_owner crontab owner
5007 # cron_interval crontab sampling interval
5008 # sadc_options options to be passed to sadc
5010 # Fine tuning the installation directories:
5011 # --mandir=DIR man documentation directory [PREFIX/man]
5012 # --docdir=DIR other documentation directory [PREFIX/share/doc]
5014 # Installation directories:
5015 # --prefix=PREFIX install architecture-independent files in PREFIX
5017 # --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
5021 if test -d /etc/init.d && test ! -L /etc/init.d; then
5022 if test -d /etc/init.d/rc2.d; then
5029 INIT_DIR=/etc/init.d
5030 elif test -d /sbin/init.d; then
5032 INIT_DIR=/sbin/init.d
5036 INIT_DIR=/etc/rc.d/init.d
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking run-commands directory" >&5
5041 $as_echo_n "checking run-commands directory... " >&6; }
5043 if test x$rcdir != x""; then
5044 # Override previous rc directories values
5046 INIT_DIR=$rcdir/init.d
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC_DIR" >&5
5050 $as_echo "$RC_DIR" >&6; }
5051 if test ! -d $RC_DIR; then
5052 echo "INFO: Directory ${RC_DIR} doesn't exist."
5053 echo "INFO: Startup scripts won't be installed."
5060 if test $HAVE_SYS_SYSMACROS_H; then
5067 if test $HAVE_LINUX_SCHED_H; then
5074 if test $HAVE_SYS_PARAM_H; then
5081 # Set sadc directory
5082 if test $prefix != "NONE"; then
5085 AuxPrefix=/usr/local
5088 SADC_DIR=$AuxPrefix/lib
5089 if test -d $AuxPrefix/lib64; then
5090 # Verify that this OS is really 64 bit
5091 BITS=$(getconf LONG_BIT 2>/dev/null)
5092 if test $? = 0; then
5093 if test $BITS = 64; then
5094 SADC_DIR=$AuxPrefix/lib64
5097 # Fallback: look for lm (long mode) flag to know if CPU is 64 bit
5098 grep " lm " /proc/cpuinfo >/dev/null 2>&1
5099 if test $? = 0; then
5100 SADC_DIR=$AuxPrefix/lib64
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sadc directory" >&5
5106 $as_echo_n "checking sadc directory... " >&6; }
5108 if test x$sa_lib_dir != x""; then
5109 SA_LIB_DIR=$sa_lib_dir
5111 SA_LIB_DIR=$SADC_DIR/sa
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_LIB_DIR" >&5
5114 $as_echo "$SA_LIB_DIR" >&6; }
5115 if test ! -d $SA_LIB_DIR; then
5116 echo "INFO: Directory ${SA_LIB_DIR} will be created during installation stage."
5120 # Set system activity directory
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system activity directory" >&5
5122 $as_echo_n "checking system activity directory... " >&6; }
5124 if test x$sa_dir != x""; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_DIR" >&5
5130 $as_echo "$SA_DIR" >&6; }
5131 if test ! -d $SA_DIR; then
5132 echo "INFO: Directory ${SA_DIR} will be created during installation stage."
5136 # sar binary location. Used only in sa2 shell script
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sar directory" >&5
5138 $as_echo_n "checking sar directory... " >&6; }
5140 if test x$sar_dir != x""; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SAR_DIR" >&5
5146 $as_echo "$SAR_DIR" >&6; }
5149 # Set configuration directory
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysstat configuration directory" >&5
5151 $as_echo_n "checking sysstat configuration directory... " >&6; }
5153 if test x$conf_dir != x""; then
5154 SYSCONFIG_DIR=$conf_dir
5156 SYSCONFIG_DIR=/etc/sysconfig
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFIG_DIR" >&5
5159 $as_echo "$SYSCONFIG_DIR" >&6; }
5160 if test ! -d $SYSCONFIG_DIR; then
5161 echo "INFO: Directory ${SYSCONFIG_DIR} will be created during installation stage."
5165 # Set configuration directory
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysstat configuration file" >&5
5167 $as_echo_n "checking sysstat configuration file... " >&6; }
5169 if test x$conf_file != x""; then
5170 SYSCONFIG_FILE=$conf_file
5172 SYSCONFIG_FILE=sysstat
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFIG_FILE" >&5
5175 $as_echo "$SYSCONFIG_FILE" >&6; }
5178 # National Language Support
5179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking National Language Support" >&5
5180 $as_echo_n "checking National Language Support... " >&6; }
5181 # Check whether --enable-nls was given.
5182 if test "${enable_nls+set}" = set; then :
5183 enableval=$enable_nls; AUX_NLS=$enableval
5188 if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_NLS" >&5
5196 $as_echo "$AUX_NLS" >&6; }
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettext in -lintl" >&5
5198 $as_echo_n "checking for gettext in -lintl... " >&6; }
5199 if ${ac_cv_lib_intl_gettext+:} false; then :
5200 $as_echo_n "(cached) " >&6
5202 ac_check_lib_save_LIBS=$LIBS
5204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5205 /* end confdefs.h. */
5207 /* Override any GCC internal prototype to avoid an error.
5208 Use char because int might match the return type of a GCC
5209 builtin and then its argument prototype would still apply. */
5222 if ac_fn_c_try_link "$LINENO"; then :
5223 ac_cv_lib_intl_gettext=yes
5225 ac_cv_lib_intl_gettext=no
5227 rm -f core conftest.err conftest.$ac_objext \
5228 conftest$ac_exeext conftest.$ac_ext
5229 LIBS=$ac_check_lib_save_LIBS
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_gettext" >&5
5232 $as_echo "$ac_cv_lib_intl_gettext" >&6; }
5233 if test "x$ac_cv_lib_intl_gettext" = xyes; then :
5239 if test $AUX_NLS = "yes" && test x$MSGFMT != x"msgfmt"; then
5240 echo "WARNING: msgfmt command not found!"
5243 if test $AUX_NLS = "yes" && test x$XGETTEXT != x"xgettext"; then
5244 echo "WARNING: xgettext command not found!"
5247 if test $AUX_NLS = "yes" && test x$MSGMERGE != x"msgmerge"; then
5248 echo "WARNING: msgmerge command not found!"
5251 if test $NLS = "y" && test $LACKING_GETTEXT = "y"; then
5252 echo "WARNING: Disabling NLS"
5257 # Data history to keep by sa2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of daily data files to keep" >&5
5259 $as_echo_n "checking number of daily data files to keep... " >&6; }
5261 if test x$history = x""; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HISTORY" >&5
5267 $as_echo "$HISTORY" >&6; }
5270 # Number of days after which datafiles are compressed
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of days after which data files are compressed" >&5
5272 $as_echo_n "checking number of days after which data files are compressed... " >&6; }
5274 if test x$compressafter = x""; then
5277 COMPRESSAFTER=$compressafter
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESSAFTER" >&5
5280 $as_echo "$COMPRESSAFTER" >&6; }
5283 # Random delay to wait before sa2 script runs
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking random delay to wait before sa2 script runs" >&5
5285 $as_echo_n "checking random delay to wait before sa2 script runs... " >&6; }
5287 if test x$delay_range = x""; then
5290 DELAY_RANGE=$delay_range
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DELAY_RANGE" >&5
5293 $as_echo "$DELAY_RANGE" >&6; }
5297 grep ^man: /etc/group >/dev/null 2>&1
5298 if test $? = 0; then
5304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group for manual pages" >&5
5305 $as_echo_n "checking group for manual pages... " >&6; }
5307 if test x$man_group = x""; then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5310 $as_echo "$MAN_GROUP" >&6; }
5312 grep ^$man_group: /etc/group >/dev/null 2>&1
5313 if test $? = 1; then
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5316 $as_echo "$MAN_GROUP" >&6; }
5317 echo "WARNING: Group ${man_group} not found: Using ${GRP} instead"
5319 MAN_GROUP=$man_group
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5321 $as_echo "$MAN_GROUP" >&6; }
5326 # Don't set attributes on files being installed?
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether attributes should not be set on files being installed" >&5
5328 $as_echo_n "checking whether attributes should not be set on files being installed... " >&6; }
5329 # Check whether --enable-file-attr was given.
5330 if test "${enable_file_attr+set}" = set; then :
5331 enableval=$enable_file_attr; AUX_IMG=$enableval
5336 if test $AUX_IMG != "no"; then
5337 IGNORE_FILE_ATTRIBUTES=n
5340 IGNORE_FILE_ATTRIBUTES=y
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_IMG" >&5
5344 $as_echo "$AUX_IMG" >&6; }
5347 # Compress manual pages?
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether manual pages should not be compressed" >&5
5349 $as_echo_n "checking whether manual pages should not be compressed... " >&6; }
5350 # Check whether --enable-compress-manpg was given.
5351 if test "${enable_compress_manpg+set}" = set; then :
5352 enableval=$enable_compress_manpg; AUX_MPG=$enableval
5357 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; }
5586 # Check whether object files should be stripped
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether object files should be stripped" >&5
5588 $as_echo_n "checking whether object files should be stripped... " >&6; }
5589 # Check whether --enable-stripping was given.
5590 if test "${enable_stripping+set}" = set; then :
5591 enableval=$enable_stripping; AUX_STRIP=$enableval
5596 if test $AUX_STRIP != "no"; then
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_STRIP" >&5
5604 $as_echo "$AUX_STRIP" >&6; }
5609 echo Now create files:
5611 ac_config_files="$ac_config_files sa1"
5612 # Permissions must be changed
5613 ac_config_files="$ac_config_files sa2"
5614 # Permissions must be changed
5615 ac_config_files="$ac_config_files cron/crontab:cron/crontab.sample"
5616 # File must be renamed
5617 ac_config_files="$ac_config_files sysstat.sysconfig"
5619 ac_config_files="$ac_config_files version.h:version.in"
5620 # File must be renamed
5621 ac_config_files="$ac_config_files sysconfig.h:sysconfig.in"
5622 # File must be renamed
5623 ac_config_files="$ac_config_files cron/sysstat.cron.daily"
5625 ac_config_files="$ac_config_files cron/sysstat.cron.hourly"
5627 ac_config_files="$ac_config_files cron/sysstat.crond"
5629 ac_config_files="$ac_config_files cron/sysstat.crond.sample.in:cron/sysstat.crond.in"
5631 ac_config_files="$ac_config_files sysstat"
5632 # Permissions must be changed
5633 ac_config_files="$ac_config_files sysstat.service"
5635 ac_config_files="$ac_config_files cron/sysstat-collect.service"
5637 ac_config_files="$ac_config_files cron/sysstat-collect.timer"
5639 ac_config_files="$ac_config_files cron/sysstat-summary.service"
5641 ac_config_files="$ac_config_files cron/sysstat-summary.timer"
5643 ac_config_files="$ac_config_files cron/sysstat.sleep"
5644 # Permissions must be changed
5645 ac_config_files="$ac_config_files man/sa1.8:man/sa1.in"
5646 # File must be renamed
5647 ac_config_files="$ac_config_files man/sa2.8:man/sa2.in"
5648 # File must be renamed
5649 ac_config_files="$ac_config_files man/sadc.8:man/sadc.in"
5650 # File must be renamed
5651 ac_config_files="$ac_config_files man/sadf.1:man/sadf.in"
5652 # File must be renamed
5653 ac_config_files="$ac_config_files man/sar.1:man/sar.in"
5654 # File must be renamed
5655 ac_config_files="$ac_config_files man/sysstat.5:man/sysstat.in"
5656 # File must be renamed
5657 ac_config_files="$ac_config_files man/iostat.1:man/iostat.in"
5658 # File must be renamed
5659 ac_config_files="$ac_config_files man/cifsiostat.1:man/cifsiostat.in"
5660 # File must be renamed
5661 ac_config_files="$ac_config_files tests/variables"
5664 ac_config_files="$ac_config_files Makefile"
5666 cat >confcache <<\_ACEOF
5667 # This file is a shell script that caches the results of configure
5668 # tests run on this system so they can be shared between configure
5669 # scripts and configure runs, see configure's option --config-cache.
5670 # It is not useful on other systems. If it contains results you don't
5671 # want to keep, you may remove or edit it.
5673 # config.status only pays attention to the cache file if you give it
5674 # the --recheck option to rerun configure.
5676 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5677 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5682 # The following way of writing the cache mishandles newlines in values,
5683 # but we know of no workaround that is simple, portable, and efficient.
5684 # So, we kill variables containing newlines.
5685 # Ultrix sh set writes to stderr and can't be redirected directly,
5686 # and sets the high bit in the cache file unless we assign to the vars.
5688 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5689 eval ac_val=\$$ac_var
5693 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5694 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5697 _ | IFS | as_nl) ;; #(
5698 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5699 *) { eval $ac_var=; unset $ac_var;} ;;
5705 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5706 *${as_nl}ac_space=\ *)
5707 # `set' does not quote correctly, so add quotes: double-quote
5708 # substitution turns \\\\ into \\, and sed turns \\ into \.
5711 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5714 # `set' quotes correctly as required by POSIX, so do not add quotes.
5715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5724 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5726 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5728 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5729 if test -w "$cache_file"; then
5730 if test "x$cache_file" != "x/dev/null"; then
5731 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5732 $as_echo "$as_me: updating cache $cache_file" >&6;}
5733 if test ! -f "$cache_file" || test -h "$cache_file"; then
5734 cat confcache >"$cache_file"
5736 case $cache_file in #(
5738 mv -f confcache "$cache_file"$$ &&
5739 mv -f "$cache_file"$$ "$cache_file" ;; #(
5741 mv -f confcache "$cache_file" ;;
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5747 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5752 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5753 # Let make expand exec_prefix.
5754 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5756 # Transform confdefs.h into DEFS.
5757 # Protect against shell expansion while executing Makefile rules.
5758 # Protect against Makefile macro expansion.
5760 # If the first sed substitution is executed (which looks for macros that
5761 # take arguments), then branch to the quote section. Otherwise,
5762 # look for a macro that doesn't take arguments.
5772 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5774 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5778 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5791 DEFS=`sed -n "$ac_script" confdefs.h`
5797 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5798 # 1. Remove the extension, and $U if already installed.
5799 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5800 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5801 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5802 # will be set to the directory where LIBOBJS objects are built.
5803 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5804 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5808 LTLIBOBJS=$ac_ltlibobjs
5812 : "${CONFIG_STATUS=./config.status}"
5814 ac_clean_files_save=$ac_clean_files
5815 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5817 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5819 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5821 # Generated by $as_me.
5822 # Run this file to recreate the current configuration.
5823 # Compiler output produced by configure, useful for debugging
5824 # configure, is in config.log if it exists.
5830 SHELL=\${CONFIG_SHELL-$SHELL}
5833 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5834 ## -------------------- ##
5835 ## M4sh Initialization. ##
5836 ## -------------------- ##
5838 # Be more Bourne compatible
5839 DUALCASE=1; export DUALCASE # for MKS sh
5840 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5843 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5844 # is contrary to our usage. Disable this feature.
5845 alias -g '${1+"$@"}'='"$@"'
5846 setopt NO_GLOB_SUBST
5848 case `(set -o) 2>/dev/null` in #(
5860 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5861 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5862 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5863 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5864 # Prefer a ksh shell builtin over an external printf program on Solaris,
5865 # but without wasting forks for bash or zsh.
5866 if test -z "$BASH_VERSION$ZSH_VERSION" \
5867 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5868 as_echo='print -r --'
5869 as_echo_n='print -rn --'
5870 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5871 as_echo='printf %s\n'
5872 as_echo_n='printf %s'
5874 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5875 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5876 as_echo_n='/usr/ucb/echo -n'
5878 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5879 as_echo_n_body='eval
5883 expr "X$arg" : "X\\(.*\\)$as_nl";
5884 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5886 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5888 export as_echo_n_body
5889 as_echo_n='sh -c $as_echo_n_body as_echo'
5892 as_echo='sh -c $as_echo_body as_echo'
5895 # The user is always right.
5896 if test "${PATH_SEPARATOR+set}" != set; then
5898 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5899 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5906 # We need space, tab and new line, in precisely that order. Quoting is
5907 # there to prevent editors from complaining about space-tab.
5908 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5909 # splitting by setting IFS to empty value.)
5912 # Find who we are. Look in the path if we contain no directory separator.
5915 *[\\/]* ) as_myself=$0 ;;
5916 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir=.
5921 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5927 # We did not find ourselves, most probably we were run as `sh COMMAND'
5928 # in which case we are not to be found in the path.
5929 if test "x$as_myself" = x; then
5932 if test ! -f "$as_myself"; then
5933 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5937 # Unset variables that we do not need and which cause bugs (e.g. in
5938 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5939 # suppresses any "Segmentation fault" message there. '((' could
5940 # trigger a bug in pdksh 5.2.14.
5941 for as_var in BASH_ENV ENV MAIL MAILPATH
5942 do eval test x\${$as_var+set} = xset \
5943 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5956 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5959 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5960 # ----------------------------------------
5961 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5962 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5963 # script with STATUS, using 1 if that was 0.
5966 as_status=$1; test $as_status -eq 0 && as_status=1
5968 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5969 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5971 $as_echo "$as_me: error: $2" >&2
5972 as_fn_exit $as_status
5976 # as_fn_set_status STATUS
5977 # -----------------------
5978 # Set $? to STATUS, without forking.
5982 } # as_fn_set_status
5986 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5996 # Portably unset VAR.
5999 { eval $1=; unset $1;}
6001 as_unset=as_fn_unset
6002 # as_fn_append VAR VALUE
6003 # ----------------------
6004 # Append the text in VALUE to the end of the definition contained in VAR. Take
6005 # advantage of any shell optimizations that allow amortized linear growth over
6006 # repeated appends, instead of the typical quadratic growth present in naive
6008 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6009 eval 'as_fn_append ()
6020 # as_fn_arith ARG...
6021 # ------------------
6022 # Perform arithmetic evaluation on the ARGs, and store the result in the
6023 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6024 # must be portable across $(()) and expr.
6025 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6026 eval 'as_fn_arith ()
6033 as_val=`expr "$@" || test $? -eq 1`
6038 if expr a : '\(a\)' >/dev/null 2>&1 &&
6039 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6045 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6046 as_basename=basename
6051 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6057 as_me=`$as_basename -- "$0" ||
6058 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6059 X"$0" : 'X\(//\)$' \| \
6060 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6062 sed '/^.*\/\([^/][^/]*\)\/*$/{
6076 # Avoid depending upon Character Ranges.
6077 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6078 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6079 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6080 as_cr_digits='0123456789'
6081 as_cr_alnum=$as_cr_Letters$as_cr_digits
6083 ECHO_C= ECHO_N= ECHO_T=
6084 case `echo -n x` in #(((((
6086 case `echo 'xy\c'` in
6087 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6089 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6096 rm -f conf$$ conf$$.exe conf$$.file
6097 if test -d conf$$.dir; then
6098 rm -f conf$$.dir/conf$$.file
6101 mkdir conf$$.dir 2>/dev/null
6103 if (echo >conf$$.file) 2>/dev/null; then
6104 if ln -s conf$$.file conf$$ 2>/dev/null; then
6106 # ... but there are two gotchas:
6107 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6108 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6109 # In both cases, we have to default to `cp -pR'.
6110 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6112 elif ln conf$$.file conf$$ 2>/dev/null; then
6120 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6121 rmdir conf$$.dir 2>/dev/null
6126 # Create "$as_dir" as a directory, including parents if necessary.
6131 -*) as_dir=./$as_dir;;
6133 test -d "$as_dir" || eval $as_mkdir_p || {
6137 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6138 *) as_qdir=$as_dir;;
6140 as_dirs="'$as_qdir' $as_dirs"
6141 as_dir=`$as_dirname -- "$as_dir" ||
6142 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6143 X"$as_dir" : 'X\(//\)[^/]' \| \
6144 X"$as_dir" : 'X\(//\)$' \| \
6145 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6146 $as_echo X"$as_dir" |
6147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6164 test -d "$as_dir" && break
6166 test -z "$as_dirs" || eval "mkdir $as_dirs"
6167 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6171 if mkdir -p . 2>/dev/null; then
6172 as_mkdir_p='mkdir -p "$as_dir"'
6174 test -d ./-p && rmdir ./-p
6179 # as_fn_executable_p FILE
6180 # -----------------------
6181 # Test if FILE is an executable regular file.
6182 as_fn_executable_p ()
6184 test -f "$1" && test -x "$1"
6185 } # as_fn_executable_p
6187 as_executable_p=as_fn_executable_p
6189 # Sed expression to map a string onto a valid CPP name.
6190 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6192 # Sed expression to map a string onto a valid variable name.
6193 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6197 ## ----------------------------------- ##
6198 ## Main body of $CONFIG_STATUS script. ##
6199 ## ----------------------------------- ##
6201 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6204 # Save the log message, to keep $0 and so on meaningful, and to
6205 # report actual input values of CONFIG_FILES etc. instead of their
6206 # values after options handling.
6208 This file was extended by sysstat $as_me 12.3.4, which was
6209 generated by GNU Autoconf 2.69. Invocation command line was
6211 CONFIG_FILES = $CONFIG_FILES
6212 CONFIG_HEADERS = $CONFIG_HEADERS
6213 CONFIG_LINKS = $CONFIG_LINKS
6214 CONFIG_COMMANDS = $CONFIG_COMMANDS
6217 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6222 case $ac_config_files in *"
6223 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6228 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6229 # Files that config.status was made for.
6230 config_files="$ac_config_files"
6234 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6236 \`$as_me' instantiates files and other configuration actions
6237 from templates according to the current configuration. Unless the files
6238 and actions are specified as TAGs, all are instantiated by default.
6240 Usage: $0 [OPTION]... [TAG]...
6242 -h, --help print this help, then exit
6243 -V, --version print version number and configuration settings, then exit
6244 --config print configuration, then exit
6245 -q, --quiet, --silent
6246 do not print progress messages
6247 -d, --debug don't remove temporary files
6248 --recheck update $as_me by reconfiguring in the same conditions
6249 --file=FILE[:TEMPLATE]
6250 instantiate the configuration file FILE
6252 Configuration files:
6255 Report bugs to the package provider."
6258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6259 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6261 sysstat config.status 12.3.4
6262 configured by $0, generated by GNU Autoconf 2.69,
6263 with options \\"\$ac_cs_config\\"
6265 Copyright (C) 2012 Free Software Foundation, Inc.
6266 This config.status script is free software; the Free Software Foundation
6267 gives unlimited permission to copy, distribute and modify it."
6271 test -n "\$AWK" || AWK=awk
6274 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6275 # The default lists apply if the user does not specify any file.
6281 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6282 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6286 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6298 # Handling of the options.
6299 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6301 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6302 $as_echo "$ac_cs_version"; exit ;;
6303 --config | --confi | --conf | --con | --co | --c )
6304 $as_echo "$ac_cs_config"; exit ;;
6305 --debug | --debu | --deb | --de | --d | -d )
6307 --file | --fil | --fi | --f )
6310 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6311 '') as_fn_error $? "missing file argument" ;;
6313 as_fn_append CONFIG_FILES " '$ac_optarg'"
6314 ac_need_defaults=false;;
6315 --he | --h | --help | --hel | -h )
6316 $as_echo "$ac_cs_usage"; exit ;;
6317 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6318 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6322 -*) as_fn_error $? "unrecognized option: \`$1'
6323 Try \`$0 --help' for more information." ;;
6325 *) as_fn_append ac_config_targets " $1"
6326 ac_need_defaults=false ;;
6332 ac_configure_extra_args=
6334 if $ac_cs_silent; then
6336 ac_configure_extra_args="$ac_configure_extra_args --silent"
6340 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6341 if \$ac_cs_recheck; then
6342 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6344 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6345 CONFIG_SHELL='$SHELL'
6351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6355 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6356 ## Running $as_me. ##
6362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6365 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6367 # Handling of arguments.
6368 for ac_config_target in $ac_config_targets
6370 case $ac_config_target in
6371 "sa1") CONFIG_FILES="$CONFIG_FILES sa1" ;;
6372 "sa2") CONFIG_FILES="$CONFIG_FILES sa2" ;;
6373 "cron/crontab") CONFIG_FILES="$CONFIG_FILES cron/crontab:cron/crontab.sample" ;;
6374 "sysstat.sysconfig") CONFIG_FILES="$CONFIG_FILES sysstat.sysconfig" ;;
6375 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:version.in" ;;
6376 "sysconfig.h") CONFIG_FILES="$CONFIG_FILES sysconfig.h:sysconfig.in" ;;
6377 "cron/sysstat.cron.daily") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.daily" ;;
6378 "cron/sysstat.cron.hourly") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.hourly" ;;
6379 "cron/sysstat.crond") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond" ;;
6380 "cron/sysstat.crond.sample.in") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond.sample.in:cron/sysstat.crond.in" ;;
6381 "sysstat") CONFIG_FILES="$CONFIG_FILES sysstat" ;;
6382 "sysstat.service") CONFIG_FILES="$CONFIG_FILES sysstat.service" ;;
6383 "cron/sysstat-collect.service") CONFIG_FILES="$CONFIG_FILES cron/sysstat-collect.service" ;;
6384 "cron/sysstat-collect.timer") CONFIG_FILES="$CONFIG_FILES cron/sysstat-collect.timer" ;;
6385 "cron/sysstat-summary.service") CONFIG_FILES="$CONFIG_FILES cron/sysstat-summary.service" ;;
6386 "cron/sysstat-summary.timer") CONFIG_FILES="$CONFIG_FILES cron/sysstat-summary.timer" ;;
6387 "cron/sysstat.sleep") CONFIG_FILES="$CONFIG_FILES cron/sysstat.sleep" ;;
6388 "man/sa1.8") CONFIG_FILES="$CONFIG_FILES man/sa1.8:man/sa1.in" ;;
6389 "man/sa2.8") CONFIG_FILES="$CONFIG_FILES man/sa2.8:man/sa2.in" ;;
6390 "man/sadc.8") CONFIG_FILES="$CONFIG_FILES man/sadc.8:man/sadc.in" ;;
6391 "man/sadf.1") CONFIG_FILES="$CONFIG_FILES man/sadf.1:man/sadf.in" ;;
6392 "man/sar.1") CONFIG_FILES="$CONFIG_FILES man/sar.1:man/sar.in" ;;
6393 "man/sysstat.5") CONFIG_FILES="$CONFIG_FILES man/sysstat.5:man/sysstat.in" ;;
6394 "man/iostat.1") CONFIG_FILES="$CONFIG_FILES man/iostat.1:man/iostat.in" ;;
6395 "man/cifsiostat.1") CONFIG_FILES="$CONFIG_FILES man/cifsiostat.1:man/cifsiostat.in" ;;
6396 "tests/variables") CONFIG_FILES="$CONFIG_FILES tests/variables" ;;
6397 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6399 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6404 # If the user did not use the arguments to specify the items to instantiate,
6405 # then the envvar interface is used. Set only those that are not.
6406 # We use the long form for the default assignment because of an extremely
6407 # bizarre bug on SunOS 4.1.3.
6408 if $ac_need_defaults; then
6409 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6412 # Have a temporary directory for convenience. Make it in the build tree
6413 # simply because there is no reason against having it here, and in addition,
6414 # creating and moving files from /tmp can sometimes cause problems.
6415 # Hook for its removal unless debugging.
6416 # Note that there is a small window in which the directory will not be cleaned:
6417 # after its creation but before its name has been assigned to `$tmp'.
6421 trap 'exit_status=$?
6423 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6425 trap 'as_fn_exit 1' 1 2 13 15
6427 # Create a (secure) tmp directory for tmp files.
6430 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6434 tmp=./conf$$-$RANDOM
6435 (umask 077 && mkdir "$tmp")
6436 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6439 # Set up the scripts for CONFIG_FILES section.
6440 # No need to generate them if there are no CONFIG_FILES.
6441 # This happens for instance with `./config.status config.h'.
6442 if test -n "$CONFIG_FILES"; then
6445 ac_cr=`echo X | tr X '\015'`
6446 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6447 # But we know of no other shell where ac_cr would be empty at this
6448 # point, so we can use a bashism as a fallback.
6449 if test "x$ac_cr" = x; then
6450 eval ac_cr=\$\'\\r\'
6452 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6453 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6459 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6464 echo "cat >conf$$subs.awk <<_ACEOF" &&
6465 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6468 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6469 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6471 for ac_last_try in false false false false false :; do
6472 . ./conf$$subs.sh ||
6473 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6475 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6476 if test $ac_delim_n = $ac_delim_num; then
6478 elif $ac_last_try; then
6479 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6481 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6487 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6491 s/^/S["/; s/!.*/"]=/
6501 s/\(.\{148\}\)..*/\1/
6503 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6508 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6515 s/\(.\{148\}\)..*/\1/
6517 s/["\\]/\\&/g; s/^/"/; s/$/"/
6521 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6526 ' <conf$$subs.awk | sed '
6531 ' >>$CONFIG_STATUS || ac_write_fail=1
6532 rm -f conf$$subs.awk
6533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6535 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6536 for (key in S) S_is_set[key] = 1
6542 nfields = split(line, field, "@")
6544 len = length(field[1])
6545 for (i = 2; i < nfields; i++) {
6547 keylen = length(key)
6548 if (S_is_set[key]) {
6550 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6551 len += length(value) + length(field[++i])
6562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6563 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6564 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6567 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6568 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6571 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6572 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6573 # trailing colons and then remove the whole line if VPATH becomes empty
6574 # (actually we leave an empty line to preserve line numbers).
6575 if test "x$srcdir" = x.; then
6576 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6595 fi # test -n "$CONFIG_FILES"
6598 eval set X " :F $CONFIG_FILES "
6603 :[FHLC]) ac_mode=$ac_tag; continue;;
6605 case $ac_mode$ac_tag in
6607 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6608 :[FH]-) ac_tag=-:-;;
6609 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6626 -) ac_f="$ac_tmp/stdin";;
6627 *) # Look for the file first in the build tree, then in the source tree
6628 # (if the path is not absolute). The absolute path cannot be DOS-style,
6629 # because $ac_f cannot contain `:'.
6633 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6635 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6637 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6638 as_fn_append ac_file_inputs " '$ac_f'"
6641 # Let's still pretend it is `configure' which instantiates (i.e., don't
6642 # use $as_me), people would be surprised to read:
6643 # /* config.h. Generated by config.status. */
6644 configure_input='Generated from '`
6645 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6647 if test x"$ac_file" != x-; then
6648 configure_input="$ac_file. $configure_input"
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6650 $as_echo "$as_me: creating $ac_file" >&6;}
6652 # Neutralize special characters interpreted by sed in replacement strings.
6653 case $configure_input in #(
6654 *\&* | *\|* | *\\* )
6655 ac_sed_conf_input=`$as_echo "$configure_input" |
6656 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6657 *) ac_sed_conf_input=$configure_input;;
6661 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6662 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6667 ac_dir=`$as_dirname -- "$ac_file" ||
6668 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6669 X"$ac_file" : 'X\(//\)[^/]' \| \
6670 X"$ac_file" : 'X\(//\)$' \| \
6671 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6672 $as_echo X"$ac_file" |
6673 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6690 as_dir="$ac_dir"; as_fn_mkdir_p
6694 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6696 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6697 # A ".." for each directory in $ac_dir_suffix.
6698 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6699 case $ac_top_builddir_sub in
6700 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6701 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6704 ac_abs_top_builddir=$ac_pwd
6705 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6706 # for backward compatibility:
6707 ac_top_builddir=$ac_top_build_prefix
6710 .) # We are building in place.
6712 ac_top_srcdir=$ac_top_builddir_sub
6713 ac_abs_top_srcdir=$ac_pwd ;;
6714 [\\/]* | ?:[\\/]* ) # Absolute name.
6715 ac_srcdir=$srcdir$ac_dir_suffix;
6716 ac_top_srcdir=$srcdir
6717 ac_abs_top_srcdir=$srcdir ;;
6719 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6720 ac_top_srcdir=$ac_top_build_prefix$srcdir
6721 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6723 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6734 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6735 # If the template does not know about datarootdir, expand it.
6736 # FIXME: This hack should be removed a few years after 2.60.
6737 ac_datarootdir_hack=; ac_datarootdir_seen=
6748 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6749 *datarootdir*) ac_datarootdir_seen=yes;;
6750 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6752 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6754 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6755 ac_datarootdir_hack='
6756 s&@datadir@&$datadir&g
6757 s&@docdir@&$docdir&g
6758 s&@infodir@&$infodir&g
6759 s&@localedir@&$localedir&g
6760 s&@mandir@&$mandir&g
6761 s&\\\${datarootdir}&$datarootdir&g' ;;
6765 # Neutralize VPATH when `$srcdir' = `.'.
6766 # Shell code in configure.ac might set extrasub.
6767 # FIXME: do we really want to maintain this feature?
6768 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6769 ac_sed_extra="$ac_vpsub
6772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6774 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6775 s|@configure_input@|$ac_sed_conf_input|;t t
6776 s&@top_builddir@&$ac_top_builddir_sub&;t t
6777 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6778 s&@srcdir@&$ac_srcdir&;t t
6779 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6780 s&@top_srcdir@&$ac_top_srcdir&;t t
6781 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6782 s&@builddir@&$ac_builddir&;t t
6783 s&@abs_builddir@&$ac_abs_builddir&;t t
6784 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6785 $ac_datarootdir_hack
6787 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6788 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6790 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6791 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6792 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6793 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6795 which seems to be undefined. Please make sure it is defined" >&5
6796 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6797 which seems to be undefined. Please make sure it is defined" >&2;}
6799 rm -f "$ac_tmp/stdin"
6801 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6802 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6804 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6812 case $ac_file$ac_mode in
6813 "sa1":F) chmod +x sa1 ;;
6814 "sa2":F) chmod +x sa2 ;;
6815 "cron/sysstat.crond.sample.in":F) sed s/^/#/ cron/sysstat.crond.sample.in > cron/sysstat.crond.sample ;;
6816 "sysstat":F) chmod +x sysstat ;;
6817 "cron/sysstat.sleep":F) chmod +x cron/sysstat.sleep ;;
6825 ac_clean_files=$ac_clean_files_save
6827 test $ac_write_fail = 0 ||
6828 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6831 # configure is writing to config.log, and then calls config.status.
6832 # config.status does its own redirection, appending to config.log.
6833 # Unfortunately, on DOS this fails, as config.log is still kept open
6834 # by configure, so config.status won't be able to write to it; its
6835 # output is simply discarded. So we exec the FD to /dev/null,
6836 # effectively closing config.log, so it can be properly (re)opened and
6837 # appended to by config.status. When coming back to configure, we
6838 # need to make the FD available again.
6839 if test "$no_create" != yes; then
6841 ac_config_status_args=
6842 test "$silent" = yes &&
6843 ac_config_status_args="$ac_config_status_args --quiet"
6845 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6847 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6848 # would make configure fail if this is the last instruction.
6849 $ac_cs_success || as_fn_exit 1
6851 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6853 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6858 Sysstat version: $PACKAGE_VERSION
6859 Installation prefix: $prefix
6860 rc directory: ${RC_DIR}
6861 Init directory: ${INIT_DIR}"
6862 if test "$UCROND" != "yes"; then
6863 echo " Systemd unit dir: ${with_systemdsystemunitdir}"
6864 echo " Systemd sleep dir: ${with_systemdsleepdir}"
6866 echo " Use standard cron daemon"
6868 echo " Configuration file: ${SYSCONFIG_DIR}/${SYSCONFIG_FILE}
6869 Man pages directory: $mandir
6871 Compiler flags: $CFLAGS