2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for sysstat 11.3.5.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
578 PACKAGE_NAME='sysstat'
579 PACKAGE_TARNAME='sysstat'
580 PACKAGE_VERSION='11.3.5'
581 PACKAGE_STRING='sysstat 11.3.5'
585 ac_unique_file="ioconf.h"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars='LTLIBOBJS
645 IGNORE_FILE_ATTRIBUTES
722 program_transform_name
735 enable_option_checking
736 with_systemdsystemunitdir
741 enable_compress_manpg
751 ac_precious_vars='build_alias
773 # Initialize some variables set by options.
775 ac_init_version=false
776 ac_unrecognized_opts=
778 # The variables have the same names as the options, with
779 # dashes changed to underlines.
787 program_transform_name=s,x,x,
795 # Installation directory options.
796 # These are left unexpanded so users can "make install exec_prefix=/foo"
797 # and all the variables that are supposed to be based on exec_prefix
798 # by default will actually change.
799 # Use braces instead of parens because sh, perl, etc. also accept them.
800 # (The list follows the same order as the GNU Coding Standards.)
801 bindir='${exec_prefix}/bin'
802 sbindir='${exec_prefix}/sbin'
803 libexecdir='${exec_prefix}/libexec'
804 datarootdir='${prefix}/share'
805 datadir='${datarootdir}'
806 sysconfdir='${prefix}/etc'
807 sharedstatedir='${prefix}/com'
808 localstatedir='${prefix}/var'
809 includedir='${prefix}/include'
810 oldincludedir='/usr/include'
811 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
812 infodir='${datarootdir}/info'
817 libdir='${exec_prefix}/lib'
818 localedir='${datarootdir}/locale'
819 mandir='${datarootdir}/man'
825 # If the previous option needs an argument, assign it.
826 if test -n "$ac_prev"; then
827 eval $ac_prev=\$ac_option
833 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
838 # Accept the important Cygnus configure options, so we can diagnose typos.
840 case $ac_dashdash$ac_option in
844 -bindir | --bindir | --bindi | --bind | --bin | --bi)
846 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
849 -build | --build | --buil | --bui | --bu)
850 ac_prev=build_alias ;;
851 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
852 build_alias=$ac_optarg ;;
854 -cache-file | --cache-file | --cache-fil | --cache-fi \
855 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
856 ac_prev=cache_file ;;
857 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
858 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
859 cache_file=$ac_optarg ;;
862 cache_file=config.cache ;;
864 -datadir | --datadir | --datadi | --datad)
866 -datadir=* | --datadir=* | --datadi=* | --datad=*)
867 datadir=$ac_optarg ;;
869 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
870 | --dataroo | --dataro | --datar)
871 ac_prev=datarootdir ;;
872 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
873 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
874 datarootdir=$ac_optarg ;;
876 -disable-* | --disable-*)
877 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
878 # Reject names that are not valid shell variable names.
879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
880 as_fn_error $? "invalid feature name: $ac_useropt"
881 ac_useropt_orig=$ac_useropt
882 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
883 case $ac_user_opts in
887 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
888 ac_unrecognized_sep=', ';;
890 eval enable_$ac_useropt=no ;;
892 -docdir | --docdir | --docdi | --doc | --do)
894 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
897 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
899 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
902 -enable-* | --enable-*)
903 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
904 # Reject names that are not valid shell variable names.
905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
906 as_fn_error $? "invalid feature name: $ac_useropt"
907 ac_useropt_orig=$ac_useropt
908 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
909 case $ac_user_opts in
913 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
914 ac_unrecognized_sep=', ';;
916 eval enable_$ac_useropt=\$ac_optarg ;;
918 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
919 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
920 | --exec | --exe | --ex)
921 ac_prev=exec_prefix ;;
922 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
923 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
924 | --exec=* | --exe=* | --ex=*)
925 exec_prefix=$ac_optarg ;;
927 -gas | --gas | --ga | --g)
928 # Obsolete; use --with-gas.
931 -help | --help | --hel | --he | -h)
933 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
934 ac_init_help=recursive ;;
935 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
936 ac_init_help=short ;;
938 -host | --host | --hos | --ho)
939 ac_prev=host_alias ;;
940 -host=* | --host=* | --hos=* | --ho=*)
941 host_alias=$ac_optarg ;;
943 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
945 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
947 htmldir=$ac_optarg ;;
949 -includedir | --includedir | --includedi | --included | --include \
950 | --includ | --inclu | --incl | --inc)
951 ac_prev=includedir ;;
952 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
953 | --includ=* | --inclu=* | --incl=* | --inc=*)
954 includedir=$ac_optarg ;;
956 -infodir | --infodir | --infodi | --infod | --info | --inf)
958 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
959 infodir=$ac_optarg ;;
961 -libdir | --libdir | --libdi | --libd)
963 -libdir=* | --libdir=* | --libdi=* | --libd=*)
966 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
967 | --libexe | --libex | --libe)
968 ac_prev=libexecdir ;;
969 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
970 | --libexe=* | --libex=* | --libe=*)
971 libexecdir=$ac_optarg ;;
973 -localedir | --localedir | --localedi | --localed | --locale)
975 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
976 localedir=$ac_optarg ;;
978 -localstatedir | --localstatedir | --localstatedi | --localstated \
979 | --localstate | --localstat | --localsta | --localst | --locals)
980 ac_prev=localstatedir ;;
981 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
982 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
983 localstatedir=$ac_optarg ;;
985 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
987 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
991 # Obsolete; use --without-fp.
994 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
995 | --no-cr | --no-c | -n)
998 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
999 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1002 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1003 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1004 | --oldin | --oldi | --old | --ol | --o)
1005 ac_prev=oldincludedir ;;
1006 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1007 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1008 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1009 oldincludedir=$ac_optarg ;;
1011 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1013 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1014 prefix=$ac_optarg ;;
1016 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1017 | --program-pre | --program-pr | --program-p)
1018 ac_prev=program_prefix ;;
1019 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1020 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1021 program_prefix=$ac_optarg ;;
1023 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1024 | --program-suf | --program-su | --program-s)
1025 ac_prev=program_suffix ;;
1026 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1027 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1028 program_suffix=$ac_optarg ;;
1030 -program-transform-name | --program-transform-name \
1031 | --program-transform-nam | --program-transform-na \
1032 | --program-transform-n | --program-transform- \
1033 | --program-transform | --program-transfor \
1034 | --program-transfo | --program-transf \
1035 | --program-trans | --program-tran \
1036 | --progr-tra | --program-tr | --program-t)
1037 ac_prev=program_transform_name ;;
1038 -program-transform-name=* | --program-transform-name=* \
1039 | --program-transform-nam=* | --program-transform-na=* \
1040 | --program-transform-n=* | --program-transform-=* \
1041 | --program-transform=* | --program-transfor=* \
1042 | --program-transfo=* | --program-transf=* \
1043 | --program-trans=* | --program-tran=* \
1044 | --progr-tra=* | --program-tr=* | --program-t=*)
1045 program_transform_name=$ac_optarg ;;
1047 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1049 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1050 pdfdir=$ac_optarg ;;
1052 -psdir | --psdir | --psdi | --psd | --ps)
1054 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1058 | -silent | --silent | --silen | --sile | --sil)
1061 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1063 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1065 sbindir=$ac_optarg ;;
1067 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1068 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1069 | --sharedst | --shareds | --shared | --share | --shar \
1071 ac_prev=sharedstatedir ;;
1072 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1073 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1074 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1076 sharedstatedir=$ac_optarg ;;
1078 -site | --site | --sit)
1080 -site=* | --site=* | --sit=*)
1083 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1085 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1086 srcdir=$ac_optarg ;;
1088 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1089 | --syscon | --sysco | --sysc | --sys | --sy)
1090 ac_prev=sysconfdir ;;
1091 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1092 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1093 sysconfdir=$ac_optarg ;;
1095 -target | --target | --targe | --targ | --tar | --ta | --t)
1096 ac_prev=target_alias ;;
1097 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1098 target_alias=$ac_optarg ;;
1100 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1103 -version | --version | --versio | --versi | --vers | -V)
1104 ac_init_version=: ;;
1107 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1108 # Reject names that are not valid shell variable names.
1109 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1110 as_fn_error $? "invalid package name: $ac_useropt"
1111 ac_useropt_orig=$ac_useropt
1112 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1113 case $ac_user_opts in
1117 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1118 ac_unrecognized_sep=', ';;
1120 eval with_$ac_useropt=\$ac_optarg ;;
1122 -without-* | --without-*)
1123 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1124 # Reject names that are not valid shell variable names.
1125 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1126 as_fn_error $? "invalid package name: $ac_useropt"
1127 ac_useropt_orig=$ac_useropt
1128 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1129 case $ac_user_opts in
1133 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1134 ac_unrecognized_sep=', ';;
1136 eval with_$ac_useropt=no ;;
1139 # Obsolete; use --with-x.
1142 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1143 | --x-incl | --x-inc | --x-in | --x-i)
1144 ac_prev=x_includes ;;
1145 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1146 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1147 x_includes=$ac_optarg ;;
1149 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1150 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1151 ac_prev=x_libraries ;;
1152 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1153 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1154 x_libraries=$ac_optarg ;;
1156 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1157 Try \`$0 --help' for more information"
1161 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1162 # Reject names that are not valid shell variable names.
1163 case $ac_envvar in #(
1164 '' | [0-9]* | *[!_$as_cr_alnum]* )
1165 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1167 eval $ac_envvar=\$ac_optarg
1168 export $ac_envvar ;;
1171 # FIXME: should be removed in autoconf 3.0.
1172 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1173 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1174 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1175 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1181 if test -n "$ac_prev"; then
1182 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1183 as_fn_error $? "missing argument to $ac_option"
1186 if test -n "$ac_unrecognized_opts"; then
1187 case $enable_option_checking in
1189 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1190 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1194 # Check all directory arguments for consistency.
1195 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1196 datadir sysconfdir sharedstatedir localstatedir includedir \
1197 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1198 libdir localedir mandir
1200 eval ac_val=\$$ac_var
1201 # Remove trailing slashes.
1204 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1205 eval $ac_var=\$ac_val;;
1207 # Be sure to have absolute directory names.
1209 [\\/$]* | ?:[\\/]* ) continue;;
1210 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1212 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1215 # There might be people who depend on the old broken behavior: `$host'
1216 # used to hold the argument of --host etc.
1217 # FIXME: To remove some day.
1220 target=$target_alias
1222 # FIXME: To remove some day.
1223 if test "x$host_alias" != x; then
1224 if test "x$build_alias" = x; then
1225 cross_compiling=maybe
1226 elif test "x$build_alias" != "x$host_alias"; then
1232 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1234 test "$silent" = yes && exec 6>/dev/null
1237 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1238 ac_ls_di=`ls -di .` &&
1239 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1240 as_fn_error $? "working directory cannot be determined"
1241 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1242 as_fn_error $? "pwd does not report name of working directory"
1245 # Find the source files, if location was not specified.
1246 if test -z "$srcdir"; then
1247 ac_srcdir_defaulted=yes
1248 # Try the directory containing this script, then the parent directory.
1249 ac_confdir=`$as_dirname -- "$as_myself" ||
1250 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1251 X"$as_myself" : 'X\(//\)[^/]' \| \
1252 X"$as_myself" : 'X\(//\)$' \| \
1253 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1254 $as_echo X"$as_myself" |
1255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1273 if test ! -r "$srcdir/$ac_unique_file"; then
1277 ac_srcdir_defaulted=no
1279 if test ! -r "$srcdir/$ac_unique_file"; then
1280 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1281 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1283 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1285 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1287 # When building in place, set srcdir=.
1288 if test "$ac_abs_confdir" = "$ac_pwd"; then
1291 # Remove unnecessary trailing slashes from srcdir.
1292 # Double slashes in file names in object file debugging info
1293 # mess up M-x gdb in Emacs.
1295 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1297 for ac_var in $ac_precious_vars; do
1298 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1299 eval ac_env_${ac_var}_value=\$${ac_var}
1300 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1301 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1305 # Report the --help message.
1307 if test "$ac_init_help" = "long"; then
1308 # Omit some internal or obsolete options to make the list less imposing.
1309 # This message is too long to be a string in the A/UX 3.1 sh.
1311 \`configure' configures sysstat 11.3.5 to adapt to many kinds of systems.
1313 Usage: $0 [OPTION]... [VAR=VALUE]...
1315 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1316 VAR=VALUE. See below for descriptions of some of the useful variables.
1318 Defaults for the options are specified in brackets.
1321 -h, --help display this help and exit
1322 --help=short display options specific to this package
1323 --help=recursive display the short help of all the included packages
1324 -V, --version display version information and exit
1325 -q, --quiet, --silent do not print \`checking ...' messages
1326 --cache-file=FILE cache test results in FILE [disabled]
1327 -C, --config-cache alias for \`--cache-file=config.cache'
1328 -n, --no-create do not create output files
1329 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1331 Installation directories:
1332 --prefix=PREFIX install architecture-independent files in PREFIX
1333 [$ac_default_prefix]
1334 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1337 By default, \`make install' will install all the files in
1338 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1339 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1340 for instance \`--prefix=\$HOME'.
1342 For better control, use the options below.
1344 Fine tuning of the installation directories:
1345 --bindir=DIR user executables [EPREFIX/bin]
1346 --sbindir=DIR system admin executables [EPREFIX/sbin]
1347 --libexecdir=DIR program executables [EPREFIX/libexec]
1348 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1349 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1350 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1351 --libdir=DIR object code libraries [EPREFIX/lib]
1352 --includedir=DIR C header files [PREFIX/include]
1353 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1354 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1355 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1356 --infodir=DIR info documentation [DATAROOTDIR/info]
1357 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1358 --mandir=DIR man documentation [DATAROOTDIR/man]
1359 --docdir=DIR documentation root [DATAROOTDIR/doc/sysstat]
1360 --htmldir=DIR html documentation [DOCDIR]
1361 --dvidir=DIR dvi documentation [DOCDIR]
1362 --pdfdir=DIR pdf documentation [DOCDIR]
1363 --psdir=DIR ps documentation [DOCDIR]
1370 if test -n "$ac_init_help"; then
1371 case $ac_init_help in
1372 short | recursive ) echo "Configuration of sysstat 11.3.5:";;
1377 --disable-option-checking ignore unrecognized --enable/--with options
1378 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1379 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1380 --disable-sensors disable sensors support
1381 --disable-largefile omit support for large files
1382 --disable-nls disable National Language Support
1383 --disable-file-attr do not set attributes on files being installed
1384 --enable-compress-manpg compress sysstat manual pages
1385 --enable-install-isag install isag script
1386 --enable-clean-sa-dir clean system activity directory
1387 --enable-install-cron install a crontab to start sar
1388 --enable-collect-all collect all possible activities
1389 --enable-copy-only only copy files when installing
1390 --disable-documentation do not install documentation
1391 --enable-debuginfo enable debug output (--debuginfo option)
1392 --disable-stripping do not strip object files
1395 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1396 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1397 --with-systemdsystemunitdir=DIR
1398 Directory for systemd service files
1400 Some influential environment variables:
1401 CC C compiler command
1402 CFLAGS C compiler flags
1403 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1404 nonstandard directory <lib dir>
1405 LIBS libraries to pass to the linker, e.g. -l<library>
1406 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1407 you have headers in a nonstandard directory <include dir>
1409 rcdir run-commands directory
1410 sa_lib_dir sadc directory
1411 sa_dir system activity directory
1412 conf_dir sysstat configuration directory
1413 history number of daily data files to keep (default value is 7)
1415 number of days after which data files are compressed (default
1417 prealloc preallocation factor that will determine data files size
1418 (default value is 1)
1419 man_group group for manual pages
1420 cron_owner crontab owner
1424 options to be passed to sadc
1426 Use these variables to override the choices made by `configure' or to help
1427 it to find libraries and programs with nonstandard names/locations.
1429 Report bugs to the package provider.
1434 if test "$ac_init_help" = "recursive"; then
1435 # If there are subdirs, report their specific --help.
1436 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1437 test -d "$ac_dir" ||
1438 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1443 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1445 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1446 # A ".." for each directory in $ac_dir_suffix.
1447 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1448 case $ac_top_builddir_sub in
1449 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1450 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1453 ac_abs_top_builddir=$ac_pwd
1454 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1455 # for backward compatibility:
1456 ac_top_builddir=$ac_top_build_prefix
1459 .) # We are building in place.
1461 ac_top_srcdir=$ac_top_builddir_sub
1462 ac_abs_top_srcdir=$ac_pwd ;;
1463 [\\/]* | ?:[\\/]* ) # Absolute name.
1464 ac_srcdir=$srcdir$ac_dir_suffix;
1465 ac_top_srcdir=$srcdir
1466 ac_abs_top_srcdir=$srcdir ;;
1468 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1469 ac_top_srcdir=$ac_top_build_prefix$srcdir
1470 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1472 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1474 cd "$ac_dir" || { ac_status=$?; continue; }
1475 # Check for guested configure.
1476 if test -f "$ac_srcdir/configure.gnu"; then
1478 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1479 elif test -f "$ac_srcdir/configure"; then
1481 $SHELL "$ac_srcdir/configure" --help=recursive
1483 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1485 cd "$ac_pwd" || { ac_status=$?; break; }
1489 test -n "$ac_init_help" && exit $ac_status
1490 if $ac_init_version; then
1492 sysstat configure 11.3.5
1493 generated by GNU Autoconf 2.69
1495 Copyright (C) 2012 Free Software Foundation, Inc.
1496 This configure script is free software; the Free Software Foundation
1497 gives unlimited permission to copy, distribute and modify it.
1502 ## ------------------------ ##
1503 ## Autoconf initialization. ##
1504 ## ------------------------ ##
1506 # ac_fn_c_try_compile LINENO
1507 # --------------------------
1508 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1509 ac_fn_c_try_compile ()
1511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1512 rm -f conftest.$ac_objext
1513 if { { ac_try="$ac_compile"
1515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1516 *) ac_try_echo=$ac_try;;
1518 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1519 $as_echo "$ac_try_echo"; } >&5
1520 (eval "$ac_compile") 2>conftest.err
1522 if test -s conftest.err; then
1523 grep -v '^ *+' conftest.err >conftest.er1
1524 cat conftest.er1 >&5
1525 mv -f conftest.er1 conftest.err
1527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1528 test $ac_status = 0; } && {
1529 test -z "$ac_c_werror_flag" ||
1530 test ! -s conftest.err
1531 } && test -s conftest.$ac_objext; then :
1534 $as_echo "$as_me: failed program was:" >&5
1535 sed 's/^/| /' conftest.$ac_ext >&5
1539 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1540 as_fn_set_status $ac_retval
1542 } # ac_fn_c_try_compile
1544 # ac_fn_c_try_cpp LINENO
1545 # ----------------------
1546 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1549 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1550 if { { ac_try="$ac_cpp conftest.$ac_ext"
1552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1553 *) ac_try_echo=$ac_try;;
1555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1556 $as_echo "$ac_try_echo"; } >&5
1557 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1559 if test -s conftest.err; then
1560 grep -v '^ *+' conftest.err >conftest.er1
1561 cat conftest.er1 >&5
1562 mv -f conftest.er1 conftest.err
1564 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1565 test $ac_status = 0; } > conftest.i && {
1566 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1567 test ! -s conftest.err
1571 $as_echo "$as_me: failed program was:" >&5
1572 sed 's/^/| /' conftest.$ac_ext >&5
1576 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1577 as_fn_set_status $ac_retval
1581 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1582 # -------------------------------------------------------
1583 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1584 # the include files in INCLUDES and setting the cache variable VAR
1586 ac_fn_c_check_header_mongrel ()
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589 if eval \${$3+:} false; then :
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1591 $as_echo_n "checking for $2... " >&6; }
1592 if eval \${$3+:} false; then :
1593 $as_echo_n "(cached) " >&6
1596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1597 $as_echo "$ac_res" >&6; }
1599 # Is the header compilable?
1600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1601 $as_echo_n "checking $2 usability... " >&6; }
1602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1603 /* end confdefs.h. */
1607 if ac_fn_c_try_compile "$LINENO"; then :
1608 ac_header_compiler=yes
1610 ac_header_compiler=no
1612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1614 $as_echo "$ac_header_compiler" >&6; }
1616 # Is the header present?
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1618 $as_echo_n "checking $2 presence... " >&6; }
1619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1620 /* end confdefs.h. */
1623 if ac_fn_c_try_cpp "$LINENO"; then :
1624 ac_header_preproc=yes
1626 ac_header_preproc=no
1628 rm -f conftest.err conftest.i conftest.$ac_ext
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1630 $as_echo "$ac_header_preproc" >&6; }
1632 # So? What about this header?
1633 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1636 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1638 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1641 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1642 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1643 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1644 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1646 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1648 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1650 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1654 $as_echo_n "checking for $2... " >&6; }
1655 if eval \${$3+:} false; then :
1656 $as_echo_n "(cached) " >&6
1658 eval "$3=\$ac_header_compiler"
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1662 $as_echo "$ac_res" >&6; }
1664 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666 } # ac_fn_c_check_header_mongrel
1668 # ac_fn_c_try_run LINENO
1669 # ----------------------
1670 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1671 # that executables *can* be run.
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 if { { ac_try="$ac_link"
1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_link") 2>&5
1684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1685 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1686 { { case "(($ac_try" in
1687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1688 *) ac_try_echo=$ac_try;;
1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1691 $as_echo "$ac_try_echo"; } >&5
1692 (eval "$ac_try") 2>&5
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; }; }; then :
1698 $as_echo "$as_me: program exited with status $ac_status" >&5
1699 $as_echo "$as_me: failed program was:" >&5
1700 sed 's/^/| /' conftest.$ac_ext >&5
1702 ac_retval=$ac_status
1704 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 as_fn_set_status $ac_retval
1710 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1711 # -------------------------------------------------------
1712 # Tests whether HEADER exists and can be compiled using the include files in
1713 # INCLUDES, setting the cache variable VAR accordingly.
1714 ac_fn_c_check_header_compile ()
1716 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1718 $as_echo_n "checking for $2... " >&6; }
1719 if eval \${$3+:} false; then :
1720 $as_echo_n "(cached) " >&6
1722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1723 /* end confdefs.h. */
1727 if ac_fn_c_try_compile "$LINENO"; then :
1732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1736 $as_echo "$ac_res" >&6; }
1737 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1739 } # ac_fn_c_check_header_compile
1741 # ac_fn_c_try_link LINENO
1742 # -----------------------
1743 # Try to link conftest.$ac_ext, and return whether this succeeded.
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747 rm -f conftest.$ac_objext conftest$ac_exeext
1748 if { { ac_try="$ac_link"
1750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1751 *) ac_try_echo=$ac_try;;
1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1754 $as_echo "$ac_try_echo"; } >&5
1755 (eval "$ac_link") 2>conftest.err
1757 if test -s conftest.err; then
1758 grep -v '^ *+' conftest.err >conftest.er1
1759 cat conftest.er1 >&5
1760 mv -f conftest.er1 conftest.err
1762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1763 test $ac_status = 0; } && {
1764 test -z "$ac_c_werror_flag" ||
1765 test ! -s conftest.err
1766 } && test -s conftest$ac_exeext && {
1767 test "$cross_compiling" = yes ||
1768 test -x conftest$ac_exeext
1772 $as_echo "$as_me: failed program was:" >&5
1773 sed 's/^/| /' conftest.$ac_ext >&5
1777 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1778 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1779 # interfere with the next link command; also delete a directory that is
1780 # left behind by Apple's compiler. We do this before executing the actions.
1781 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783 as_fn_set_status $ac_retval
1785 } # ac_fn_c_try_link
1787 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1788 # -------------------------------------------
1789 # Tests whether TYPE exists after having included INCLUDES, setting cache
1790 # variable VAR accordingly.
1791 ac_fn_c_check_type ()
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1795 $as_echo_n "checking for $2... " >&6; }
1796 if eval \${$3+:} false; then :
1797 $as_echo_n "(cached) " >&6
1800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1801 /* end confdefs.h. */
1812 if ac_fn_c_try_compile "$LINENO"; then :
1813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1825 if ac_fn_c_try_compile "$LINENO"; then :
1830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1836 $as_echo "$ac_res" >&6; }
1837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839 } # ac_fn_c_check_type
1841 # ac_fn_c_check_func LINENO FUNC VAR
1842 # ----------------------------------
1843 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1844 ac_fn_c_check_func ()
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1848 $as_echo_n "checking for $2... " >&6; }
1849 if eval \${$3+:} false; then :
1850 $as_echo_n "(cached) " >&6
1852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1853 /* end confdefs.h. */
1854 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1855 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1856 #define $2 innocuous_$2
1858 /* System header to define __stub macros and hopefully few prototypes,
1859 which can conflict with char $2 (); below.
1860 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1861 <limits.h> exists even on freestanding compilers. */
1864 # include <limits.h>
1866 # include <assert.h>
1871 /* Override any GCC internal prototype to avoid an error.
1872 Use char because int might match the return type of a GCC
1873 builtin and then its argument prototype would still apply. */
1878 /* The GNU C library defines this for functions which it implements
1879 to always fail with ENOSYS. Some functions are actually named
1880 something starting with __ and the normal name is an alias. */
1881 #if defined __stub_$2 || defined __stub___$2
1893 if ac_fn_c_try_link "$LINENO"; then :
1898 rm -f core conftest.err conftest.$ac_objext \
1899 conftest$ac_exeext conftest.$ac_ext
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1903 $as_echo "$ac_res" >&6; }
1904 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1906 } # ac_fn_c_check_func
1907 cat >config.log <<_ACEOF
1908 This file contains any messages produced by compilers while
1909 running configure, to aid debugging if configure makes a mistake.
1911 It was created by sysstat $as_me 11.3.5, which was
1912 generated by GNU Autoconf 2.69. Invocation command line was
1924 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1925 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1926 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1927 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1928 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1930 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1931 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1933 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1934 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1935 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1936 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1937 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1938 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1939 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1947 test -z "$as_dir" && as_dir=.
1948 $as_echo "PATH: $as_dir"
1964 # Keep a trace of the command line.
1965 # Strip out --no-create and --no-recursion so they do not pile up.
1966 # Strip out --silent because we don't want to record it for future runs.
1967 # Also quote any args containing shell meta-characters.
1968 # Make two passes to allow for proper duplicate-argument suppression.
1972 ac_must_keep_next=false
1978 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1979 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1980 | -silent | --silent | --silen | --sile | --sil)
1983 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1986 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1988 as_fn_append ac_configure_args1 " '$ac_arg'"
1989 if test $ac_must_keep_next = true; then
1990 ac_must_keep_next=false # Got value, back to normal.
1993 *=* | --config-cache | -C | -disable-* | --disable-* \
1994 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1995 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1996 | -with-* | --with-* | -without-* | --without-* | --x)
1997 case "$ac_configure_args0 " in
1998 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2001 -* ) ac_must_keep_next=true ;;
2004 as_fn_append ac_configure_args " '$ac_arg'"
2009 { ac_configure_args0=; unset ac_configure_args0;}
2010 { ac_configure_args1=; unset ac_configure_args1;}
2012 # When interrupted or exit'd, cleanup temporary files, and complete
2013 # config.log. We remove comments because anyway the quotes in there
2014 # would cause problems or look ugly.
2015 # WARNING: Use '\'' to represent an apostrophe within the trap.
2016 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2017 trap 'exit_status=$?
2018 # Save into config.log some information that might help in debugging.
2022 $as_echo "## ---------------- ##
2023 ## Cache variables. ##
2024 ## ---------------- ##"
2026 # The following way of writing the cache mishandles newlines in values,
2028 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2029 eval ac_val=\$$ac_var
2033 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2034 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2037 _ | IFS | as_nl) ;; #(
2038 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2039 *) { eval $ac_var=; unset $ac_var;} ;;
2044 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2045 *${as_nl}ac_space=\ *)
2047 "s/'\''/'\''\\\\'\'''\''/g;
2048 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2051 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2058 $as_echo "## ----------------- ##
2059 ## Output variables. ##
2060 ## ----------------- ##"
2062 for ac_var in $ac_subst_vars
2064 eval ac_val=\$$ac_var
2066 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2068 $as_echo "$ac_var='\''$ac_val'\''"
2072 if test -n "$ac_subst_files"; then
2073 $as_echo "## ------------------- ##
2074 ## File substitutions. ##
2075 ## ------------------- ##"
2077 for ac_var in $ac_subst_files
2079 eval ac_val=\$$ac_var
2081 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2083 $as_echo "$ac_var='\''$ac_val'\''"
2088 if test -s confdefs.h; then
2089 $as_echo "## ----------- ##
2096 test "$ac_signal" != 0 &&
2097 $as_echo "$as_me: caught signal $ac_signal"
2098 $as_echo "$as_me: exit $exit_status"
2100 rm -f core *.core core.conftest.* &&
2101 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2104 for ac_signal in 1 2 13 15; do
2105 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2109 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2110 rm -f -r conftest* confdefs.h
2112 $as_echo "/* confdefs.h */" > confdefs.h
2114 # Predefined preprocessor variables.
2116 cat >>confdefs.h <<_ACEOF
2117 #define PACKAGE_NAME "$PACKAGE_NAME"
2120 cat >>confdefs.h <<_ACEOF
2121 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2124 cat >>confdefs.h <<_ACEOF
2125 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2128 cat >>confdefs.h <<_ACEOF
2129 #define PACKAGE_STRING "$PACKAGE_STRING"
2132 cat >>confdefs.h <<_ACEOF
2133 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2136 cat >>confdefs.h <<_ACEOF
2137 #define PACKAGE_URL "$PACKAGE_URL"
2141 # Let the site file select an alternate cache file if it wants to.
2142 # Prefer an explicitly selected file to automatically selected ones.
2145 if test -n "$CONFIG_SITE"; then
2146 # We do not want a PATH search for config.site.
2147 case $CONFIG_SITE in #((
2148 -*) ac_site_file1=./$CONFIG_SITE;;
2149 */*) ac_site_file1=$CONFIG_SITE;;
2150 *) ac_site_file1=./$CONFIG_SITE;;
2152 elif test "x$prefix" != xNONE; then
2153 ac_site_file1=$prefix/share/config.site
2154 ac_site_file2=$prefix/etc/config.site
2156 ac_site_file1=$ac_default_prefix/share/config.site
2157 ac_site_file2=$ac_default_prefix/etc/config.site
2159 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2161 test "x$ac_site_file" = xNONE && continue
2162 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2164 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2165 sed 's/^/| /' "$ac_site_file" >&5
2167 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2168 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2169 as_fn_error $? "failed to load site script $ac_site_file
2170 See \`config.log' for more details" "$LINENO" 5; }
2174 if test -r "$cache_file"; then
2175 # Some versions of bash will fail to source /dev/null (special files
2176 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2177 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2179 $as_echo "$as_me: loading cache $cache_file" >&6;}
2181 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2182 *) . "./$cache_file";;
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2187 $as_echo "$as_me: creating cache $cache_file" >&6;}
2191 # Check that the precious variables saved in the cache have kept the same
2193 ac_cache_corrupted=false
2194 for ac_var in $ac_precious_vars; do
2195 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2196 eval ac_new_set=\$ac_env_${ac_var}_set
2197 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2198 eval ac_new_val=\$ac_env_${ac_var}_value
2199 case $ac_old_set,$ac_new_set in
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2202 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2203 ac_cache_corrupted=: ;;
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2206 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2207 ac_cache_corrupted=: ;;
2210 if test "x$ac_old_val" != "x$ac_new_val"; then
2211 # differences in whitespace do not lead to failure.
2212 ac_old_val_w=`echo x $ac_old_val`
2213 ac_new_val_w=`echo x $ac_new_val`
2214 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2216 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2217 ac_cache_corrupted=:
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2220 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2221 eval $ac_var=\$ac_old_val
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2224 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2226 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2229 # Pass precious variables to config.status.
2230 if test "$ac_new_set" = set; then
2232 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2233 *) ac_arg=$ac_var=$ac_new_val ;;
2235 case " $ac_configure_args " in
2236 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2237 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2241 if $ac_cache_corrupted; then
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2245 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2246 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2248 ## -------------------- ##
2249 ## Main body of script. ##
2250 ## -------------------- ##
2253 ac_cpp='$CPP $CPPFLAGS'
2254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2260 # Ensure that a recent enough version of Autoconf is being used
2263 # Check whether the configure script is in the right dir
2268 echo Check programs:
2272 ac_cpp='$CPP $CPPFLAGS'
2273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2276 if test -n "$ac_tool_prefix"; then
2277 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2278 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2280 $as_echo_n "checking for $ac_word... " >&6; }
2281 if ${ac_cv_prog_CC+:} false; then :
2282 $as_echo_n "(cached) " >&6
2284 if test -n "$CC"; then
2285 ac_cv_prog_CC="$CC" # Let the user override the test.
2287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2291 test -z "$as_dir" && as_dir=.
2292 for ac_exec_ext in '' $ac_executable_extensions; do
2293 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2294 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2305 if test -n "$CC"; then
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2307 $as_echo "$CC" >&6; }
2309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2310 $as_echo "no" >&6; }
2315 if test -z "$ac_cv_prog_CC"; then
2317 # Extract the first word of "gcc", so it can be a program name with args.
2318 set dummy gcc; ac_word=$2
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2320 $as_echo_n "checking for $ac_word... " >&6; }
2321 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2322 $as_echo_n "(cached) " >&6
2324 if test -n "$ac_ct_CC"; then
2325 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir=.
2332 for ac_exec_ext in '' $ac_executable_extensions; do
2333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2334 ac_cv_prog_ac_ct_CC="gcc"
2335 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2345 if test -n "$ac_ct_CC"; then
2346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2347 $as_echo "$ac_ct_CC" >&6; }
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2350 $as_echo "no" >&6; }
2353 if test "x$ac_ct_CC" = x; then
2356 case $cross_compiling:$ac_tool_warned in
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2359 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2360 ac_tool_warned=yes ;;
2368 if test -z "$CC"; then
2369 if test -n "$ac_tool_prefix"; then
2370 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2371 set dummy ${ac_tool_prefix}cc; ac_word=$2
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2373 $as_echo_n "checking for $ac_word... " >&6; }
2374 if ${ac_cv_prog_CC+:} false; then :
2375 $as_echo_n "(cached) " >&6
2377 if test -n "$CC"; then
2378 ac_cv_prog_CC="$CC" # Let the user override the test.
2380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2384 test -z "$as_dir" && as_dir=.
2385 for ac_exec_ext in '' $ac_executable_extensions; do
2386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2387 ac_cv_prog_CC="${ac_tool_prefix}cc"
2388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2398 if test -n "$CC"; then
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2400 $as_echo "$CC" >&6; }
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2403 $as_echo "no" >&6; }
2409 if test -z "$CC"; then
2410 # Extract the first word of "cc", so it can be a program name with args.
2411 set dummy cc; ac_word=$2
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2413 $as_echo_n "checking for $ac_word... " >&6; }
2414 if ${ac_cv_prog_CC+:} false; then :
2415 $as_echo_n "(cached) " >&6
2417 if test -n "$CC"; then
2418 ac_cv_prog_CC="$CC" # Let the user override the test.
2421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2425 test -z "$as_dir" && as_dir=.
2426 for ac_exec_ext in '' $ac_executable_extensions; do
2427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2428 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2429 ac_prog_rejected=yes
2433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2440 if test $ac_prog_rejected = yes; then
2441 # We found a bogon in the path, so make sure we never use it.
2442 set dummy $ac_cv_prog_CC
2444 if test $# != 0; then
2445 # We chose a different compiler from the bogus one.
2446 # However, it has the same basename, so the bogon will be chosen
2447 # first if we set CC to just the basename; use the full file name.
2449 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2455 if test -n "$CC"; then
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2457 $as_echo "$CC" >&6; }
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2460 $as_echo "no" >&6; }
2465 if test -z "$CC"; then
2466 if test -n "$ac_tool_prefix"; then
2467 for ac_prog in cl.exe
2469 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2470 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2472 $as_echo_n "checking for $ac_word... " >&6; }
2473 if ${ac_cv_prog_CC+:} false; then :
2474 $as_echo_n "(cached) " >&6
2476 if test -n "$CC"; then
2477 ac_cv_prog_CC="$CC" # Let the user override the test.
2479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2483 test -z "$as_dir" && as_dir=.
2484 for ac_exec_ext in '' $ac_executable_extensions; do
2485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2486 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2497 if test -n "$CC"; then
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2499 $as_echo "$CC" >&6; }
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2502 $as_echo "no" >&6; }
2506 test -n "$CC" && break
2509 if test -z "$CC"; then
2511 for ac_prog in cl.exe
2513 # Extract the first word of "$ac_prog", so it can be a program name with args.
2514 set dummy $ac_prog; ac_word=$2
2515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2516 $as_echo_n "checking for $ac_word... " >&6; }
2517 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2518 $as_echo_n "(cached) " >&6
2520 if test -n "$ac_ct_CC"; then
2521 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2527 test -z "$as_dir" && as_dir=.
2528 for ac_exec_ext in '' $ac_executable_extensions; do
2529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2530 ac_cv_prog_ac_ct_CC="$ac_prog"
2531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2540 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2541 if test -n "$ac_ct_CC"; then
2542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2543 $as_echo "$ac_ct_CC" >&6; }
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2546 $as_echo "no" >&6; }
2550 test -n "$ac_ct_CC" && break
2553 if test "x$ac_ct_CC" = x; then
2556 case $cross_compiling:$ac_tool_warned in
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2559 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2560 ac_tool_warned=yes ;;
2569 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2570 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2571 as_fn_error $? "no acceptable C compiler found in \$PATH
2572 See \`config.log' for more details" "$LINENO" 5; }
2574 # Provide some information about the compiler.
2575 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2578 for ac_option in --version -v -V -qversion; do
2579 { { ac_try="$ac_compiler $ac_option >&5"
2581 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2582 *) ac_try_echo=$ac_try;;
2584 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2585 $as_echo "$ac_try_echo"; } >&5
2586 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2588 if test -s conftest.err; then
2590 ... rest of stderr output deleted ...
2591 10q' conftest.err >conftest.er1
2592 cat conftest.er1 >&5
2594 rm -f conftest.er1 conftest.err
2595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2596 test $ac_status = 0; }
2599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2600 /* end confdefs.h. */
2610 ac_clean_files_save=$ac_clean_files
2611 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2612 # Try to create an executable without -o first, disregard a.out.
2613 # It will help us diagnose broken compilers, and finding out an intuition
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2616 $as_echo_n "checking whether the C compiler works... " >&6; }
2617 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2619 # The possible output files:
2620 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2623 for ac_file in $ac_files
2626 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2627 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2632 if { { ac_try="$ac_link_default"
2634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2635 *) ac_try_echo=$ac_try;;
2637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2638 $as_echo "$ac_try_echo"; } >&5
2639 (eval "$ac_link_default") 2>&5
2641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2642 test $ac_status = 0; }; then :
2643 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2644 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2645 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2646 # so that the user can short-circuit this test for compilers unknown to
2648 for ac_file in $ac_files ''
2650 test -f "$ac_file" || continue
2652 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2655 # We found the default executable, but exeext='' is most
2659 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2661 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2663 # We set ac_cv_exeext here because the later test for it is not
2664 # safe: cross compilers may not add the suffix if given an `-o'
2665 # argument, so we may need to know it at that point already.
2666 # Even if this section looks crufty: it has the advantage of
2673 test "$ac_cv_exeext" = no && ac_cv_exeext=
2678 if test -z "$ac_file"; then :
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2680 $as_echo "no" >&6; }
2681 $as_echo "$as_me: failed program was:" >&5
2682 sed 's/^/| /' conftest.$ac_ext >&5
2684 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2685 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2686 as_fn_error 77 "C compiler cannot create executables
2687 See \`config.log' for more details" "$LINENO" 5; }
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2690 $as_echo "yes" >&6; }
2692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2693 $as_echo_n "checking for C compiler default output file name... " >&6; }
2694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2695 $as_echo "$ac_file" >&6; }
2696 ac_exeext=$ac_cv_exeext
2698 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2699 ac_clean_files=$ac_clean_files_save
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2701 $as_echo_n "checking for suffix of executables... " >&6; }
2702 if { { ac_try="$ac_link"
2704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2705 *) ac_try_echo=$ac_try;;
2707 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2708 $as_echo "$ac_try_echo"; } >&5
2709 (eval "$ac_link") 2>&5
2711 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2712 test $ac_status = 0; }; then :
2713 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2714 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2715 # work properly (i.e., refer to `conftest.exe'), while it won't with
2717 for ac_file in conftest.exe conftest conftest.*; do
2718 test -f "$ac_file" || continue
2720 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2721 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2727 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2729 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2730 See \`config.log' for more details" "$LINENO" 5; }
2732 rm -f conftest conftest$ac_cv_exeext
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2734 $as_echo "$ac_cv_exeext" >&6; }
2736 rm -f conftest.$ac_ext
2737 EXEEXT=$ac_cv_exeext
2739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2740 /* end confdefs.h. */
2745 FILE *f = fopen ("conftest.out", "w");
2746 return ferror (f) || fclose (f) != 0;
2752 ac_clean_files="$ac_clean_files conftest.out"
2753 # Check that the compiler produces executables we can run. If not, either
2754 # the compiler is broken, or we cross compile.
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2756 $as_echo_n "checking whether we are cross compiling... " >&6; }
2757 if test "$cross_compiling" != yes; then
2758 { { ac_try="$ac_link"
2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2764 $as_echo "$ac_try_echo"; } >&5
2765 (eval "$ac_link") 2>&5
2767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2768 test $ac_status = 0; }
2769 if { ac_try='./conftest$ac_cv_exeext'
2770 { { case "(($ac_try" in
2771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2772 *) ac_try_echo=$ac_try;;
2774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2775 $as_echo "$ac_try_echo"; } >&5
2776 (eval "$ac_try") 2>&5
2778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2779 test $ac_status = 0; }; }; then
2782 if test "$cross_compiling" = maybe; then
2785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2787 as_fn_error $? "cannot run C compiled programs.
2788 If you meant to cross compile, use \`--host'.
2789 See \`config.log' for more details" "$LINENO" 5; }
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2794 $as_echo "$cross_compiling" >&6; }
2796 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2797 ac_clean_files=$ac_clean_files_save
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2799 $as_echo_n "checking for suffix of object files... " >&6; }
2800 if ${ac_cv_objext+:} false; then :
2801 $as_echo_n "(cached) " >&6
2803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2804 /* end confdefs.h. */
2814 rm -f conftest.o conftest.obj
2815 if { { ac_try="$ac_compile"
2817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2818 *) ac_try_echo=$ac_try;;
2820 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2821 $as_echo "$ac_try_echo"; } >&5
2822 (eval "$ac_compile") 2>&5
2824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2825 test $ac_status = 0; }; then :
2826 for ac_file in conftest.o conftest.obj conftest.*; do
2827 test -f "$ac_file" || continue;
2829 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2830 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2835 $as_echo "$as_me: failed program was:" >&5
2836 sed 's/^/| /' conftest.$ac_ext >&5
2838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2840 as_fn_error $? "cannot compute suffix of object files: cannot compile
2841 See \`config.log' for more details" "$LINENO" 5; }
2843 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2846 $as_echo "$ac_cv_objext" >&6; }
2847 OBJEXT=$ac_cv_objext
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2850 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2851 if ${ac_cv_c_compiler_gnu+:} false; then :
2852 $as_echo_n "(cached) " >&6
2854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2855 /* end confdefs.h. */
2868 if ac_fn_c_try_compile "$LINENO"; then :
2873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2874 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2878 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2879 if test $ac_compiler_gnu = yes; then
2884 ac_test_CFLAGS=${CFLAGS+set}
2885 ac_save_CFLAGS=$CFLAGS
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2887 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2888 if ${ac_cv_prog_cc_g+:} false; then :
2889 $as_echo_n "(cached) " >&6
2891 ac_save_c_werror_flag=$ac_c_werror_flag
2892 ac_c_werror_flag=yes
2895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2896 /* end confdefs.h. */
2906 if ac_fn_c_try_compile "$LINENO"; then :
2910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911 /* end confdefs.h. */
2921 if ac_fn_c_try_compile "$LINENO"; then :
2924 ac_c_werror_flag=$ac_save_c_werror_flag
2926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2927 /* end confdefs.h. */
2937 if ac_fn_c_try_compile "$LINENO"; then :
2940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2945 ac_c_werror_flag=$ac_save_c_werror_flag
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2948 $as_echo "$ac_cv_prog_cc_g" >&6; }
2949 if test "$ac_test_CFLAGS" = set; then
2950 CFLAGS=$ac_save_CFLAGS
2951 elif test $ac_cv_prog_cc_g = yes; then
2952 if test "$GCC" = yes; then
2958 if test "$GCC" = yes; then
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2965 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2966 if ${ac_cv_prog_cc_c89+:} false; then :
2967 $as_echo_n "(cached) " >&6
2969 ac_cv_prog_cc_c89=no
2971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2972 /* end confdefs.h. */
2976 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2977 struct buf { int x; };
2978 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2979 static char *e (p, i)
2985 static char *f (char * (*g) (char **, int), char **p, ...)
2990 s = g (p, va_arg (v,int));
2995 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2996 function prototypes and stuff, but not '\xHH' hex character constants.
2997 These don't provoke an error unfortunately, instead are silently treated
2998 as 'x'. The following induces an error, until -std is added to get
2999 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3000 array size at least. It's necessary to write '\x00'==0 to get something
3001 that's true only with -std. */
3002 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3004 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3005 inside strings and character constants. */
3007 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3009 int test (int i, double x);
3010 struct s1 {int (*f) (int a);};
3011 struct s2 {int (*f) (double a);};
3012 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3018 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3023 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3024 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3026 CC="$ac_save_CC $ac_arg"
3027 if ac_fn_c_try_compile "$LINENO"; then :
3028 ac_cv_prog_cc_c89=$ac_arg
3030 rm -f core conftest.err conftest.$ac_objext
3031 test "x$ac_cv_prog_cc_c89" != "xno" && break
3033 rm -f conftest.$ac_ext
3038 case "x$ac_cv_prog_cc_c89" in
3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3041 $as_echo "none needed" >&6; } ;;
3043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3044 $as_echo "unsupported" >&6; } ;;
3046 CC="$CC $ac_cv_prog_cc_c89"
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3048 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3050 if test "x$ac_cv_prog_cc_c89" != xno; then :
3055 ac_cpp='$CPP $CPPFLAGS'
3056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3062 ac_cpp='$CPP $CPPFLAGS'
3063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3067 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3068 # On Suns, sometimes $CPP names a directory.
3069 if test -n "$CPP" && test -d "$CPP"; then
3072 if test -z "$CPP"; then
3073 if ${ac_cv_prog_CPP+:} false; then :
3074 $as_echo_n "(cached) " >&6
3076 # Double quotes because CPP needs to be expanded
3077 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3080 for ac_c_preproc_warn_flag in '' yes
3082 # Use a header file that comes with gcc, so configuring glibc
3083 # with a fresh cross-compiler works.
3084 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3085 # <limits.h> exists even on freestanding compilers.
3086 # On the NeXT, cc -E runs the code through the compiler's parser,
3087 # not just through cpp. "Syntax error" is here to catch this case.
3088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3089 /* end confdefs.h. */
3091 # include <limits.h>
3093 # include <assert.h>
3097 if ac_fn_c_try_cpp "$LINENO"; then :
3100 # Broken: fails on valid input.
3103 rm -f conftest.err conftest.i conftest.$ac_ext
3105 # OK, works on sane cases. Now check whether nonexistent headers
3106 # can be detected and how.
3107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3108 /* end confdefs.h. */
3109 #include <ac_nonexistent.h>
3111 if ac_fn_c_try_cpp "$LINENO"; then :
3112 # Broken: success on invalid input.
3115 # Passes both tests.
3119 rm -f conftest.err conftest.i conftest.$ac_ext
3122 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3123 rm -f conftest.i conftest.err conftest.$ac_ext
3124 if $ac_preproc_ok; then :
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3137 $as_echo "$CPP" >&6; }
3139 for ac_c_preproc_warn_flag in '' yes
3141 # Use a header file that comes with gcc, so configuring glibc
3142 # with a fresh cross-compiler works.
3143 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3144 # <limits.h> exists even on freestanding compilers.
3145 # On the NeXT, cc -E runs the code through the compiler's parser,
3146 # not just through cpp. "Syntax error" is here to catch this case.
3147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3148 /* end confdefs.h. */
3150 # include <limits.h>
3152 # include <assert.h>
3156 if ac_fn_c_try_cpp "$LINENO"; then :
3159 # Broken: fails on valid input.
3162 rm -f conftest.err conftest.i conftest.$ac_ext
3164 # OK, works on sane cases. Now check whether nonexistent headers
3165 # can be detected and how.
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3168 #include <ac_nonexistent.h>
3170 if ac_fn_c_try_cpp "$LINENO"; then :
3171 # Broken: success on invalid input.
3174 # Passes both tests.
3178 rm -f conftest.err conftest.i conftest.$ac_ext
3181 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3182 rm -f conftest.i conftest.err conftest.$ac_ext
3183 if $ac_preproc_ok; then :
3186 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3187 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3188 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3189 See \`config.log' for more details" "$LINENO" 5; }
3193 ac_cpp='$CPP $CPPFLAGS'
3194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3200 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3201 if ${ac_cv_path_GREP+:} false; then :
3202 $as_echo_n "(cached) " >&6
3204 if test -z "$GREP"; then
3205 ac_path_GREP_found=false
3206 # Loop through the user's path and test for each of PROGNAME-LIST
3207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3208 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3211 test -z "$as_dir" && as_dir=.
3212 for ac_prog in grep ggrep; do
3213 for ac_exec_ext in '' $ac_executable_extensions; do
3214 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3215 as_fn_executable_p "$ac_path_GREP" || continue
3216 # Check for GNU ac_path_GREP and select it if it is found.
3217 # Check for GNU $ac_path_GREP
3218 case `"$ac_path_GREP" --version 2>&1` in
3220 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3223 $as_echo_n 0123456789 >"conftest.in"
3226 cat "conftest.in" "conftest.in" >"conftest.tmp"
3227 mv "conftest.tmp" "conftest.in"
3228 cp "conftest.in" "conftest.nl"
3229 $as_echo 'GREP' >> "conftest.nl"
3230 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3231 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3232 as_fn_arith $ac_count + 1 && ac_count=$as_val
3233 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3234 # Best one so far, save it but keep looking for a better one
3235 ac_cv_path_GREP="$ac_path_GREP"
3236 ac_path_GREP_max=$ac_count
3238 # 10*(2^10) chars as input seems more than enough
3239 test $ac_count -gt 10 && break
3241 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3244 $ac_path_GREP_found && break 3
3249 if test -z "$ac_cv_path_GREP"; then
3250 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3253 ac_cv_path_GREP=$GREP
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3258 $as_echo "$ac_cv_path_GREP" >&6; }
3259 GREP="$ac_cv_path_GREP"
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3263 $as_echo_n "checking for egrep... " >&6; }
3264 if ${ac_cv_path_EGREP+:} false; then :
3265 $as_echo_n "(cached) " >&6
3267 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3268 then ac_cv_path_EGREP="$GREP -E"
3270 if test -z "$EGREP"; then
3271 ac_path_EGREP_found=false
3272 # Loop through the user's path and test for each of PROGNAME-LIST
3273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3274 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3277 test -z "$as_dir" && as_dir=.
3278 for ac_prog in egrep; do
3279 for ac_exec_ext in '' $ac_executable_extensions; do
3280 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3281 as_fn_executable_p "$ac_path_EGREP" || continue
3282 # Check for GNU ac_path_EGREP and select it if it is found.
3283 # Check for GNU $ac_path_EGREP
3284 case `"$ac_path_EGREP" --version 2>&1` in
3286 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3289 $as_echo_n 0123456789 >"conftest.in"
3292 cat "conftest.in" "conftest.in" >"conftest.tmp"
3293 mv "conftest.tmp" "conftest.in"
3294 cp "conftest.in" "conftest.nl"
3295 $as_echo 'EGREP' >> "conftest.nl"
3296 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3297 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3298 as_fn_arith $ac_count + 1 && ac_count=$as_val
3299 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3300 # Best one so far, save it but keep looking for a better one
3301 ac_cv_path_EGREP="$ac_path_EGREP"
3302 ac_path_EGREP_max=$ac_count
3304 # 10*(2^10) chars as input seems more than enough
3305 test $ac_count -gt 10 && break
3307 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3310 $ac_path_EGREP_found && break 3
3315 if test -z "$ac_cv_path_EGREP"; then
3316 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3319 ac_cv_path_EGREP=$EGREP
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3325 $as_echo "$ac_cv_path_EGREP" >&6; }
3326 EGREP="$ac_cv_path_EGREP"
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3330 $as_echo_n "checking for ANSI C header files... " >&6; }
3331 if ${ac_cv_header_stdc+:} false; then :
3332 $as_echo_n "(cached) " >&6
3334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3335 /* end confdefs.h. */
3349 if ac_fn_c_try_compile "$LINENO"; then :
3350 ac_cv_header_stdc=yes
3352 ac_cv_header_stdc=no
3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3356 if test $ac_cv_header_stdc = yes; then
3357 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3363 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3364 $EGREP "memchr" >/dev/null 2>&1; then :
3367 ac_cv_header_stdc=no
3373 if test $ac_cv_header_stdc = yes; then
3374 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3381 $EGREP "free" >/dev/null 2>&1; then :
3384 ac_cv_header_stdc=no
3390 if test $ac_cv_header_stdc = yes; then
3391 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3392 if test "$cross_compiling" = yes; then :
3395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3396 /* end confdefs.h. */
3399 #if ((' ' & 0x0FF) == 0x020)
3400 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3401 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3403 # define ISLOWER(c) \
3404 (('a' <= (c) && (c) <= 'i') \
3405 || ('j' <= (c) && (c) <= 'r') \
3406 || ('s' <= (c) && (c) <= 'z'))
3407 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3410 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3415 for (i = 0; i < 256; i++)
3416 if (XOR (islower (i), ISLOWER (i))
3417 || toupper (i) != TOUPPER (i))
3422 if ac_fn_c_try_run "$LINENO"; then :
3425 ac_cv_header_stdc=no
3427 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3428 conftest.$ac_objext conftest.beam conftest.$ac_ext
3433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3434 $as_echo "$ac_cv_header_stdc" >&6; }
3435 if test $ac_cv_header_stdc = yes; then
3437 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3441 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3442 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3443 inttypes.h stdint.h unistd.h
3445 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3446 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3448 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3449 cat >>confdefs.h <<_ACEOF
3450 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3459 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
3460 if test "x$ac_cv_header_minix_config_h" = xyes; then :
3467 if test "$MINIX" = yes; then
3469 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
3472 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
3475 $as_echo "#define _MINIX 1" >>confdefs.h
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
3481 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
3482 if ${ac_cv_safe_to_define___extensions__+:} false; then :
3483 $as_echo_n "(cached) " >&6
3485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3486 /* end confdefs.h. */
3488 # define __EXTENSIONS__ 1
3489 $ac_includes_default
3498 if ac_fn_c_try_compile "$LINENO"; then :
3499 ac_cv_safe_to_define___extensions__=yes
3501 ac_cv_safe_to_define___extensions__=no
3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
3506 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
3507 test $ac_cv_safe_to_define___extensions__ = yes &&
3508 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
3510 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
3512 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3514 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
3516 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
3521 $as_echo_n "checking whether ln -s works... " >&6; }
3523 if test "$LN_S" = "ln -s"; then
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3525 $as_echo "yes" >&6; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
3528 $as_echo "no, using $LN_S" >&6; }
3534 # Extract the first word of "chmod", so it can be a program name with args.
3535 set dummy chmod; ac_word=$2
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3537 $as_echo_n "checking for $ac_word... " >&6; }
3538 if ${ac_cv_prog_CHMOD+:} false; then :
3539 $as_echo_n "(cached) " >&6
3541 if test -n "$CHMOD"; then
3542 ac_cv_prog_CHMOD="$CHMOD" # Let the user override the test.
3544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 test -z "$as_dir" && as_dir=.
3549 for ac_exec_ext in '' $ac_executable_extensions; do
3550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3551 ac_cv_prog_CHMOD="chmod"
3552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 CHMOD=$ac_cv_prog_CHMOD
3562 if test -n "$CHMOD"; then
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHMOD" >&5
3564 $as_echo "$CHMOD" >&6; }
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567 $as_echo "no" >&6; }
3571 # Extract the first word of "chown", so it can be a program name with args.
3572 set dummy chown; ac_word=$2
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3574 $as_echo_n "checking for $ac_word... " >&6; }
3575 if ${ac_cv_prog_CHOWN+:} false; then :
3576 $as_echo_n "(cached) " >&6
3578 if test -n "$CHOWN"; then
3579 ac_cv_prog_CHOWN="$CHOWN" # Let the user override the test.
3581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3585 test -z "$as_dir" && as_dir=.
3586 for ac_exec_ext in '' $ac_executable_extensions; do
3587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3588 ac_cv_prog_CHOWN="chown"
3589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3598 CHOWN=$ac_cv_prog_CHOWN
3599 if test -n "$CHOWN"; then
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CHOWN" >&5
3601 $as_echo "$CHOWN" >&6; }
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3604 $as_echo "no" >&6; }
3608 # Extract the first word of "ar", so it can be a program name with args.
3609 set dummy ar; ac_word=$2
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3611 $as_echo_n "checking for $ac_word... " >&6; }
3612 if ${ac_cv_prog_AR+:} false; then :
3613 $as_echo_n "(cached) " >&6
3615 if test -n "$AR"; then
3616 ac_cv_prog_AR="$AR" # Let the user override the test.
3618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3622 test -z "$as_dir" && as_dir=.
3623 for ac_exec_ext in '' $ac_executable_extensions; do
3624 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3636 if test -n "$AR"; then
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3638 $as_echo "$AR" >&6; }
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3641 $as_echo "no" >&6; }
3645 # Extract the first word of "install", so it can be a program name with args.
3646 set dummy install; ac_word=$2
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3648 $as_echo_n "checking for $ac_word... " >&6; }
3649 if ${ac_cv_prog_INSTALL+:} false; then :
3650 $as_echo_n "(cached) " >&6
3652 if test -n "$INSTALL"; then
3653 ac_cv_prog_INSTALL="$INSTALL" # Let the user override the test.
3655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3659 test -z "$as_dir" && as_dir=.
3660 for ac_exec_ext in '' $ac_executable_extensions; do
3661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3662 ac_cv_prog_INSTALL="install"
3663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3672 INSTALL=$ac_cv_prog_INSTALL
3673 if test -n "$INSTALL"; then
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3675 $as_echo "$INSTALL" >&6; }
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3678 $as_echo "no" >&6; }
3682 # Extract the first word of "msgfmt", so it can be a program name with args.
3683 set dummy msgfmt; ac_word=$2
3684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3685 $as_echo_n "checking for $ac_word... " >&6; }
3686 if ${ac_cv_prog_MSGFMT+:} false; then :
3687 $as_echo_n "(cached) " >&6
3689 if test -n "$MSGFMT"; then
3690 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
3692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3696 test -z "$as_dir" && as_dir=.
3697 for ac_exec_ext in '' $ac_executable_extensions; do
3698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3699 ac_cv_prog_MSGFMT="msgfmt"
3700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3709 MSGFMT=$ac_cv_prog_MSGFMT
3710 if test -n "$MSGFMT"; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
3712 $as_echo "$MSGFMT" >&6; }
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3715 $as_echo "no" >&6; }
3719 # Extract the first word of "xgettext", so it can be a program name with args.
3720 set dummy xgettext; ac_word=$2
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3722 $as_echo_n "checking for $ac_word... " >&6; }
3723 if ${ac_cv_prog_XGETTEXT+:} false; then :
3724 $as_echo_n "(cached) " >&6
3726 if test -n "$XGETTEXT"; then
3727 ac_cv_prog_XGETTEXT="$XGETTEXT" # Let the user override the test.
3729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3733 test -z "$as_dir" && as_dir=.
3734 for ac_exec_ext in '' $ac_executable_extensions; do
3735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3736 ac_cv_prog_XGETTEXT="xgettext"
3737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 XGETTEXT=$ac_cv_prog_XGETTEXT
3747 if test -n "$XGETTEXT"; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
3749 $as_echo "$XGETTEXT" >&6; }
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752 $as_echo "no" >&6; }
3756 # Extract the first word of "msgmerge", so it can be a program name with args.
3757 set dummy msgmerge; ac_word=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if ${ac_cv_prog_MSGMERGE+:} false; then :
3761 $as_echo_n "(cached) " >&6
3763 if test -n "$MSGMERGE"; then
3764 ac_cv_prog_MSGMERGE="$MSGMERGE" # Let the user override the test.
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3770 test -z "$as_dir" && as_dir=.
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3773 ac_cv_prog_MSGMERGE="msgmerge"
3774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 MSGMERGE=$ac_cv_prog_MSGMERGE
3784 if test -n "$MSGMERGE"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
3786 $as_echo "$MSGMERGE" >&6; }
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3793 for ac_prog in xz bzip2 gzip
3795 # Extract the first word of "$ac_prog", so it can be a program name with args.
3796 set dummy $ac_prog; ac_word=$2
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3798 $as_echo_n "checking for $ac_word... " >&6; }
3799 if ${ac_cv_prog_ZIP+:} false; then :
3800 $as_echo_n "(cached) " >&6
3802 if test -n "$ZIP"; then
3803 ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3809 test -z "$as_dir" && as_dir=.
3810 for ac_exec_ext in '' $ac_executable_extensions; do
3811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3812 ac_cv_prog_ZIP="$ac_prog"
3813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3823 if test -n "$ZIP"; then
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ZIP" >&5
3825 $as_echo "$ZIP" >&6; }
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3828 $as_echo "no" >&6; }
3832 test -n "$ZIP" && break
3834 test -n "$ZIP" || ZIP="gzip"
3836 INSTALL_DATA="\${INSTALL} -m 644"
3838 INSTALL_BIN="\${INSTALL} -m 755"
3841 # Extract the first word of "cp", so it can be a program name with args.
3842 set dummy cp; ac_word=$2
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844 $as_echo_n "checking for $ac_word... " >&6; }
3845 if ${ac_cv_path_PATH_CP+:} false; then :
3846 $as_echo_n "(cached) " >&6
3850 ac_cv_path_PATH_CP="$PATH_CP" # Let the user override the test with a path.
3853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3857 test -z "$as_dir" && as_dir=.
3858 for ac_exec_ext in '' $ac_executable_extensions; do
3859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3860 ac_cv_path_PATH_CP="$as_dir/$ac_word$ac_exec_ext"
3861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3871 PATH_CP=$ac_cv_path_PATH_CP
3872 if test -n "$PATH_CP"; then
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CP" >&5
3874 $as_echo "$PATH_CP" >&6; }
3876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3877 $as_echo "no" >&6; }
3881 # Extract the first word of "chkconfig", so it can be a program name with args.
3882 set dummy chkconfig; ac_word=$2
3883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3884 $as_echo_n "checking for $ac_word... " >&6; }
3885 if ${ac_cv_path_PATH_CHKCONFIG+:} false; then :
3886 $as_echo_n "(cached) " >&6
3888 case $PATH_CHKCONFIG in
3890 ac_cv_path_PATH_CHKCONFIG="$PATH_CHKCONFIG" # Let the user override the test with a path.
3893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3897 test -z "$as_dir" && as_dir=.
3898 for ac_exec_ext in '' $ac_executable_extensions; do
3899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3900 ac_cv_path_PATH_CHKCONFIG="$as_dir/$ac_word$ac_exec_ext"
3901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3911 PATH_CHKCONFIG=$ac_cv_path_PATH_CHKCONFIG
3912 if test -n "$PATH_CHKCONFIG"; then
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_CHKCONFIG" >&5
3914 $as_echo "$PATH_CHKCONFIG" >&6; }
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3917 $as_echo "no" >&6; }
3923 # Extract the first word of "pkg-config", so it can be a program name with args.
3924 set dummy pkg-config; ac_word=$2
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3926 $as_echo_n "checking for $ac_word... " >&6; }
3927 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
3928 $as_echo_n "(cached) " >&6
3930 if test -n "$PKG_CONFIG"; then
3931 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
3933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3937 test -z "$as_dir" && as_dir=.
3938 for ac_exec_ext in '' $ac_executable_extensions; do
3939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3940 ac_cv_prog_PKG_CONFIG="pkg-config"
3941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3950 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
3951 if test -n "$PKG_CONFIG"; then
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
3953 $as_echo "$PKG_CONFIG" >&6; }
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3956 $as_echo "no" >&6; }
3960 # Extract the first word of "systemctl", so it can be a program name with args.
3961 set dummy systemctl; ac_word=$2
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3963 $as_echo_n "checking for $ac_word... " >&6; }
3964 if ${ac_cv_path_SYSTEMCTL+:} false; then :
3965 $as_echo_n "(cached) " >&6
3969 ac_cv_path_SYSTEMCTL="$SYSTEMCTL" # Let the user override the test with a path.
3972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3976 test -z "$as_dir" && as_dir=.
3977 for ac_exec_ext in '' $ac_executable_extensions; do
3978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3979 ac_cv_path_SYSTEMCTL="$as_dir/$ac_word$ac_exec_ext"
3980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3990 SYSTEMCTL=$ac_cv_path_SYSTEMCTL
3991 if test -n "$SYSTEMCTL"; then
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSTEMCTL" >&5
3993 $as_echo "$SYSTEMCTL" >&6; }
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3996 $as_echo "no" >&6; }
4001 # Check whether --with-systemdsystemunitdir was given.
4002 if test "${with_systemdsystemunitdir+set}" = set; then :
4003 withval=$with_systemdsystemunitdir;
4005 with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
4008 if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ; then
4009 SYSTEMD_UNIT_DIR=$with_systemdsystemunitdir
4015 # Check header files
4017 echo Check header files:
4021 HAVE_SYS_SYSMACROS_H=
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4023 $as_echo_n "checking for ANSI C header files... " >&6; }
4024 if ${ac_cv_header_stdc+:} false; then :
4025 $as_echo_n "(cached) " >&6
4027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4028 /* end confdefs.h. */
4042 if ac_fn_c_try_compile "$LINENO"; then :
4043 ac_cv_header_stdc=yes
4045 ac_cv_header_stdc=no
4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4049 if test $ac_cv_header_stdc = yes; then
4050 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4052 /* end confdefs.h. */
4056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4057 $EGREP "memchr" >/dev/null 2>&1; then :
4060 ac_cv_header_stdc=no
4066 if test $ac_cv_header_stdc = yes; then
4067 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4069 /* end confdefs.h. */
4073 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4074 $EGREP "free" >/dev/null 2>&1; then :
4077 ac_cv_header_stdc=no
4083 if test $ac_cv_header_stdc = yes; then
4084 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4085 if test "$cross_compiling" = yes; then :
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4092 #if ((' ' & 0x0FF) == 0x020)
4093 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4094 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4096 # define ISLOWER(c) \
4097 (('a' <= (c) && (c) <= 'i') \
4098 || ('j' <= (c) && (c) <= 'r') \
4099 || ('s' <= (c) && (c) <= 'z'))
4100 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4103 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4108 for (i = 0; i < 256; i++)
4109 if (XOR (islower (i), ISLOWER (i))
4110 || toupper (i) != TOUPPER (i))
4115 if ac_fn_c_try_run "$LINENO"; then :
4118 ac_cv_header_stdc=no
4120 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4121 conftest.$ac_objext conftest.beam conftest.$ac_ext
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4127 $as_echo "$ac_cv_header_stdc" >&6; }
4128 if test $ac_cv_header_stdc = yes; then
4130 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4135 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4136 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4138 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
4139 if eval \${$as_ac_Header+:} false; then :
4140 $as_echo_n "(cached) " >&6
4142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4143 /* end confdefs.h. */
4144 #include <sys/types.h>
4156 if ac_fn_c_try_compile "$LINENO"; then :
4157 eval "$as_ac_Header=yes"
4159 eval "$as_ac_Header=no"
4161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4163 eval ac_res=\$$as_ac_Header
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4165 $as_echo "$ac_res" >&6; }
4166 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4167 cat >>confdefs.h <<_ACEOF
4168 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
4171 ac_header_dirent=$ac_hdr; break
4175 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4176 if test $ac_header_dirent = dirent.h; then
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4178 $as_echo_n "checking for library containing opendir... " >&6; }
4179 if ${ac_cv_search_opendir+:} false; then :
4180 $as_echo_n "(cached) " >&6
4182 ac_func_search_save_LIBS=$LIBS
4183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4184 /* end confdefs.h. */
4186 /* Override any GCC internal prototype to avoid an error.
4187 Use char because int might match the return type of a GCC
4188 builtin and then its argument prototype would still apply. */
4201 for ac_lib in '' dir; do
4202 if test -z "$ac_lib"; then
4203 ac_res="none required"
4206 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4208 if ac_fn_c_try_link "$LINENO"; then :
4209 ac_cv_search_opendir=$ac_res
4211 rm -f core conftest.err conftest.$ac_objext \
4213 if ${ac_cv_search_opendir+:} false; then :
4217 if ${ac_cv_search_opendir+:} false; then :
4220 ac_cv_search_opendir=no
4223 LIBS=$ac_func_search_save_LIBS
4225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4226 $as_echo "$ac_cv_search_opendir" >&6; }
4227 ac_res=$ac_cv_search_opendir
4228 if test "$ac_res" != no; then :
4229 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4235 $as_echo_n "checking for library containing opendir... " >&6; }
4236 if ${ac_cv_search_opendir+:} false; then :
4237 $as_echo_n "(cached) " >&6
4239 ac_func_search_save_LIBS=$LIBS
4240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4241 /* end confdefs.h. */
4243 /* Override any GCC internal prototype to avoid an error.
4244 Use char because int might match the return type of a GCC
4245 builtin and then its argument prototype would still apply. */
4258 for ac_lib in '' x; do
4259 if test -z "$ac_lib"; then
4260 ac_res="none required"
4263 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4265 if ac_fn_c_try_link "$LINENO"; then :
4266 ac_cv_search_opendir=$ac_res
4268 rm -f core conftest.err conftest.$ac_objext \
4270 if ${ac_cv_search_opendir+:} false; then :
4274 if ${ac_cv_search_opendir+:} false; then :
4277 ac_cv_search_opendir=no
4280 LIBS=$ac_func_search_save_LIBS
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4283 $as_echo "$ac_cv_search_opendir" >&6; }
4284 ac_res=$ac_cv_search_opendir
4285 if test "$ac_res" != no; then :
4286 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4292 for ac_header in ctype.h
4294 ac_fn_c_check_header_mongrel "$LINENO" "ctype.h" "ac_cv_header_ctype_h" "$ac_includes_default"
4295 if test "x$ac_cv_header_ctype_h" = xyes; then :
4296 cat >>confdefs.h <<_ACEOF
4297 #define HAVE_CTYPE_H 1
4304 for ac_header in errno.h
4306 ac_fn_c_check_header_mongrel "$LINENO" "errno.h" "ac_cv_header_errno_h" "$ac_includes_default"
4307 if test "x$ac_cv_header_errno_h" = xyes; then :
4308 cat >>confdefs.h <<_ACEOF
4309 #define HAVE_ERRNO_H 1
4316 for ac_header in libintl.h
4318 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
4319 if test "x$ac_cv_header_libintl_h" = xyes; then :
4320 cat >>confdefs.h <<_ACEOF
4321 #define HAVE_LIBINTL_H 1
4328 for ac_header in locale.h
4330 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
4331 if test "x$ac_cv_header_locale_h" = xyes; then :
4332 cat >>confdefs.h <<_ACEOF
4333 #define HAVE_LOCALE_H 1
4340 for ac_header in net/if.h
4342 ac_fn_c_check_header_mongrel "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "$ac_includes_default"
4343 if test "x$ac_cv_header_net_if_h" = xyes; then :
4344 cat >>confdefs.h <<_ACEOF
4345 #define HAVE_NET_IF_H 1
4352 for ac_header in regex.h
4354 ac_fn_c_check_header_mongrel "$LINENO" "regex.h" "ac_cv_header_regex_h" "$ac_includes_default"
4355 if test "x$ac_cv_header_regex_h" = xyes; then :
4356 cat >>confdefs.h <<_ACEOF
4357 #define HAVE_REGEX_H 1
4364 for ac_header in signal.h
4366 ac_fn_c_check_header_mongrel "$LINENO" "signal.h" "ac_cv_header_signal_h" "$ac_includes_default"
4367 if test "x$ac_cv_header_signal_h" = xyes; then :
4368 cat >>confdefs.h <<_ACEOF
4369 #define HAVE_SIGNAL_H 1
4376 for ac_header in stdio.h
4378 ac_fn_c_check_header_mongrel "$LINENO" "stdio.h" "ac_cv_header_stdio_h" "$ac_includes_default"
4379 if test "x$ac_cv_header_stdio_h" = xyes; then :
4380 cat >>confdefs.h <<_ACEOF
4381 #define HAVE_STDIO_H 1
4388 for ac_header in sys/file.h
4390 ac_fn_c_check_header_mongrel "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
4391 if test "x$ac_cv_header_sys_file_h" = xyes; then :
4392 cat >>confdefs.h <<_ACEOF
4393 #define HAVE_SYS_FILE_H 1
4400 for ac_header in sys/ioctl.h
4402 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
4403 if test "x$ac_cv_header_sys_ioctl_h" = xyes; then :
4404 cat >>confdefs.h <<_ACEOF
4405 #define HAVE_SYS_IOCTL_H 1
4412 for ac_header in sys/stat.h
4414 ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
4415 if test "x$ac_cv_header_sys_stat_h" = xyes; then :
4416 cat >>confdefs.h <<_ACEOF
4417 #define HAVE_SYS_STAT_H 1
4424 for ac_header in sys/sysmacros.h
4426 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
4427 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
4428 cat >>confdefs.h <<_ACEOF
4429 #define HAVE_SYS_SYSMACROS_H 1
4431 HAVE_SYS_SYSMACROS_H=1
4438 echo Check typedefs, structures and compiler characteristics:
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4441 $as_echo_n "checking return type of signal handlers... " >&6; }
4442 if ${ac_cv_type_signal+:} false; then :
4443 $as_echo_n "(cached) " >&6
4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h. */
4447 #include <sys/types.h>
4453 return *(signal (0, 0)) (0) == 1;
4458 if ac_fn_c_try_compile "$LINENO"; then :
4459 ac_cv_type_signal=int
4461 ac_cv_type_signal=void
4463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4466 $as_echo "$ac_cv_type_signal" >&6; }
4468 cat >>confdefs.h <<_ACEOF
4469 #define RETSIGTYPE $ac_cv_type_signal
4473 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4474 if test "x$ac_cv_type_size_t" = xyes; then :
4478 cat >>confdefs.h <<_ACEOF
4479 #define size_t unsigned int
4484 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
4485 if test "x$ac_cv_type_off_t" = xyes; then :
4489 cat >>confdefs.h <<_ACEOF
4490 #define off_t long int
4497 echo Check library functions:
4499 for ac_func in strchr
4501 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
4502 if test "x$ac_cv_func_strchr" = xyes; then :
4503 cat >>confdefs.h <<_ACEOF
4504 #define HAVE_STRCHR 1
4510 for ac_func in strcspn
4512 ac_fn_c_check_func "$LINENO" "strcspn" "ac_cv_func_strcspn"
4513 if test "x$ac_cv_func_strcspn" = xyes; then :
4514 cat >>confdefs.h <<_ACEOF
4515 #define HAVE_STRCSPN 1
4521 for ac_func in strspn
4523 ac_fn_c_check_func "$LINENO" "strspn" "ac_cv_func_strspn"
4524 if test "x$ac_cv_func_strspn" = xyes; then :
4525 cat >>confdefs.h <<_ACEOF
4526 #define HAVE_STRSPN 1
4532 for ac_func in strstr
4534 ac_fn_c_check_func "$LINENO" "strstr" "ac_cv_func_strstr"
4535 if test "x$ac_cv_func_strstr" = xyes; then :
4536 cat >>confdefs.h <<_ACEOF
4537 #define HAVE_STRSTR 1
4544 # Should we check for lm_sensors?
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors support" >&5
4546 $as_echo_n "checking for sensors support... " >&6; }
4547 # Check whether --enable-sensors was given.
4548 if test "${enable_sensors+set}" = set; then :
4549 enableval=$enable_sensors; SENSORS=$enableval
4554 if test $SENSORS != "yes"; then
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4560 $as_echo "$SENSORS" >&6; }
4562 # Check for lm_sensors
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_get_detected_chips in -lsensors" >&5
4567 $as_echo_n "checking for sensors_get_detected_chips in -lsensors... " >&6; }
4568 if ${ac_cv_lib_sensors_sensors_get_detected_chips+:} false; then :
4569 $as_echo_n "(cached) " >&6
4571 ac_check_lib_save_LIBS=$LIBS
4572 LIBS="-lsensors $LIBS"
4573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4574 /* end confdefs.h. */
4576 /* Override any GCC internal prototype to avoid an error.
4577 Use char because int might match the return type of a GCC
4578 builtin and then its argument prototype would still apply. */
4582 char sensors_get_detected_chips ();
4586 return sensors_get_detected_chips ();
4591 if ac_fn_c_try_link "$LINENO"; then :
4592 ac_cv_lib_sensors_sensors_get_detected_chips=yes
4594 ac_cv_lib_sensors_sensors_get_detected_chips=no
4596 rm -f core conftest.err conftest.$ac_objext \
4597 conftest$ac_exeext conftest.$ac_ext
4598 LIBS=$ac_check_lib_save_LIBS
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sensors_sensors_get_detected_chips" >&5
4601 $as_echo "$ac_cv_lib_sensors_sensors_get_detected_chips" >&6; }
4602 if test "x$ac_cv_lib_sensors_sensors_get_detected_chips" = xyes; then :
4603 LFSENSORS="-lsensors"
4608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors lib" >&5
4609 $as_echo_n "checking for sensors lib... " >&6; }
4610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4611 /* end confdefs.h. */
4612 #include <sensors/sensors.h>
4613 #include <sensors/error.h>
4623 if ac_fn_c_try_compile "$LINENO"; then :
4624 SENSORS=yes; DFSENSORS="-DHAVE_SENSORS"
4626 HAVE_SENSORS="n"; SENSORS=no
4628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
4630 $as_echo "$SENSORS" >&6; }
4636 echo Check system services:
4638 # Check whether --enable-largefile was given.
4639 if test "${enable_largefile+set}" = set; then :
4640 enableval=$enable_largefile;
4643 if test "$enable_largefile" != no; then
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4646 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4647 if ${ac_cv_sys_largefile_CC+:} false; then :
4648 $as_echo_n "(cached) " >&6
4650 ac_cv_sys_largefile_CC=no
4651 if test "$GCC" != yes; then
4654 # IRIX 6.2 and later do not support large files by default,
4655 # so use the C compiler's -n32 option if that helps.
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4658 #include <sys/types.h>
4659 /* Check that off_t can represent 2**63 - 1 correctly.
4660 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4661 since some C++ compilers masquerading as C compilers
4662 incorrectly reject 9223372036854775807. */
4663 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4664 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4665 && LARGE_OFF_T % 2147483647 == 1)
4675 if ac_fn_c_try_compile "$LINENO"; then :
4678 rm -f core conftest.err conftest.$ac_objext
4680 if ac_fn_c_try_compile "$LINENO"; then :
4681 ac_cv_sys_largefile_CC=' -n32'; break
4683 rm -f core conftest.err conftest.$ac_objext
4687 rm -f conftest.$ac_ext
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4691 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4692 if test "$ac_cv_sys_largefile_CC" != no; then
4693 CC=$CC$ac_cv_sys_largefile_CC
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4697 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4698 if ${ac_cv_sys_file_offset_bits+:} false; then :
4699 $as_echo_n "(cached) " >&6
4702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4703 /* end confdefs.h. */
4704 #include <sys/types.h>
4705 /* Check that off_t can represent 2**63 - 1 correctly.
4706 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4707 since some C++ compilers masquerading as C compilers
4708 incorrectly reject 9223372036854775807. */
4709 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4710 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4711 && LARGE_OFF_T % 2147483647 == 1)
4721 if ac_fn_c_try_compile "$LINENO"; then :
4722 ac_cv_sys_file_offset_bits=no; break
4724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4726 /* end confdefs.h. */
4727 #define _FILE_OFFSET_BITS 64
4728 #include <sys/types.h>
4729 /* Check that off_t can represent 2**63 - 1 correctly.
4730 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4731 since some C++ compilers masquerading as C compilers
4732 incorrectly reject 9223372036854775807. */
4733 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4734 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4735 && LARGE_OFF_T % 2147483647 == 1)
4745 if ac_fn_c_try_compile "$LINENO"; then :
4746 ac_cv_sys_file_offset_bits=64; break
4748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4749 ac_cv_sys_file_offset_bits=unknown
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4754 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4755 case $ac_cv_sys_file_offset_bits in #(
4758 cat >>confdefs.h <<_ACEOF
4759 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4764 if test $ac_cv_sys_file_offset_bits = unknown; then
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4766 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4767 if ${ac_cv_sys_large_files+:} false; then :
4768 $as_echo_n "(cached) " >&6
4771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4773 #include <sys/types.h>
4774 /* Check that off_t can represent 2**63 - 1 correctly.
4775 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4776 since some C++ compilers masquerading as C compilers
4777 incorrectly reject 9223372036854775807. */
4778 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4779 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4780 && LARGE_OFF_T % 2147483647 == 1)
4790 if ac_fn_c_try_compile "$LINENO"; then :
4791 ac_cv_sys_large_files=no; break
4793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4796 #define _LARGE_FILES 1
4797 #include <sys/types.h>
4798 /* Check that off_t can represent 2**63 - 1 correctly.
4799 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4800 since some C++ compilers masquerading as C compilers
4801 incorrectly reject 9223372036854775807. */
4802 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4803 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4804 && LARGE_OFF_T % 2147483647 == 1)
4814 if ac_fn_c_try_compile "$LINENO"; then :
4815 ac_cv_sys_large_files=1; break
4817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4818 ac_cv_sys_large_files=unknown
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4823 $as_echo "$ac_cv_sys_large_files" >&6; }
4824 case $ac_cv_sys_large_files in #(
4827 cat >>confdefs.h <<_ACEOF
4828 #define _LARGE_FILES $ac_cv_sys_large_files
4840 echo Check configuration:
4842 # Check arguments used
4844 # Optional Features:
4845 # --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
4846 # --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
4847 # --disable-largefile omit support for large files
4848 # --disable-nls disable National Language Support
4849 # --disable-file-attr don't set attributes on files being installed
4850 # --enable-install-cron tell sysstat to install cron scripts
4851 # --collect-all tell sadc to collect all possible data
4852 # --enable-clean-sa-dir clean system activity directory
4853 # --enable-compress-manpg compress manual pages
4854 # --enable-install-isag install isag script
4855 # --enable-debuginfo enable debug output (--debuginfo option)
4856 # --disable-documentation do not install documentation (man pages...)
4857 # --disable-sensors do not link against libsensors even if available
4858 # --disable-stripping do not strip object files
4859 # --enablle-copy-only only copy files when installing sysstat
4861 # Some influential environment variables:
4862 # rcdir directory where startup scripts are installed
4863 # sa_lib_dir sadc, sa1 and sa2 directory
4864 # sa_dir system activity daily datafiles directory
4865 # conf_dir sysstat configuration directory (default is /etc/sysconfig)
4866 # history number of daily datafiles to keep (default value is 7)
4867 # compressafter number of days after which datafiles are compressed
4868 # man_group group for man pages
4869 # cron_owner crontab owner
4870 # cron_interval crontab sampling interval
4871 # sadc_options options to be passed to sadc
4873 # Fine tuning the installation directories:
4874 # --mandir=DIR man documentation directory [PREFIX/man]
4875 # --docdir=DIR other documentation directory [PREFIX/share/doc]
4877 # Installation directories:
4878 # --prefix=PREFIX install architecture-independent files in PREFIX
4880 # --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
4884 if test -d /etc/init.d && test ! -L /etc/init.d; then
4885 if test -d /etc/init.d/rc2.d; then
4892 INIT_DIR=/etc/init.d
4893 elif test -d /sbin/init.d; then
4895 INIT_DIR=/sbin/init.d
4899 INIT_DIR=/etc/rc.d/init.d
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking run-commands directory" >&5
4904 $as_echo_n "checking run-commands directory... " >&6; }
4906 if test x$rcdir != x""; then
4907 # Override previous rc directories values
4909 INIT_DIR=$rcdir/init.d
4912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RC_DIR" >&5
4913 $as_echo "$RC_DIR" >&6; }
4914 if test ! -d $RC_DIR; then
4915 echo "INFO: Directory ${RC_DIR} doesn't exist."
4916 echo "INFO: Startup scripts won't be installed."
4923 if test $HAVE_SYS_SYSMACROS_H; then
4930 # Set sadc directory
4931 if test $prefix != "NONE"; then
4934 AuxPrefix=/usr/local
4937 SADC_DIR=$AuxPrefix/lib
4938 if test -d $AuxPrefix/lib64; then
4939 # Verify that this OS is really 64 bit
4940 BITS=$(getconf LONG_BIT 2>/dev/null)
4941 if test $? = 0; then
4942 if test $BITS = 64; then
4943 SADC_DIR=$AuxPrefix/lib64
4946 # Fallback: look for lm (long mode) flag to know if CPU is 64 bit
4947 grep " lm " /proc/cpuinfo >/dev/null 2>&1
4948 if test $? = 0; then
4949 SADC_DIR=$AuxPrefix/lib64
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sadc directory" >&5
4955 $as_echo_n "checking sadc directory... " >&6; }
4957 if test x$sa_lib_dir != x""; then
4958 SA_LIB_DIR=$sa_lib_dir
4960 SA_LIB_DIR=$SADC_DIR/sa
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_LIB_DIR" >&5
4963 $as_echo "$SA_LIB_DIR" >&6; }
4964 if test ! -d $SA_LIB_DIR; then
4965 echo "INFO: Directory ${SA_LIB_DIR} will be created during installation stage."
4969 # Set system activity directory
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking system activity directory" >&5
4971 $as_echo_n "checking system activity directory... " >&6; }
4973 if test x$sa_dir != x""; then
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SA_DIR" >&5
4979 $as_echo "$SA_DIR" >&6; }
4980 if test ! -d $SA_DIR; then
4981 echo "INFO: Directory ${SA_DIR} will be created during installation stage."
4985 # Set configuration directory
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sysstat configuration directory" >&5
4987 $as_echo_n "checking sysstat configuration directory... " >&6; }
4989 if test x$conf_dir != x""; then
4990 SYSCONFIG_DIR=$conf_dir
4992 SYSCONFIG_DIR=/etc/sysconfig
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSCONFIG_DIR" >&5
4995 $as_echo "$SYSCONFIG_DIR" >&6; }
4996 if test ! -d $SYSCONFIG_DIR; then
4997 echo "INFO: Directory ${SYSCONFIG_DIR} will be created during installation stage."
5001 # National Language Support
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking National Language Support" >&5
5003 $as_echo_n "checking National Language Support... " >&6; }
5004 # Check whether --enable-nls was given.
5005 if test "${enable_nls+set}" = set; then :
5006 enableval=$enable_nls; AUX_NLS=$enableval
5011 if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_NLS" >&5
5019 $as_echo "$AUX_NLS" >&6; }
5021 if test $AUX_NLS = "yes" && test x$MSGFMT != x"msgfmt"; then
5022 echo "WARNING: msgfmt command not found!"
5025 if test $AUX_NLS = "yes" && test x$XGETTEXT != x"xgettext"; then
5026 echo "WARNING: xgettext command not found!"
5029 if test $AUX_NLS = "yes" && test x$MSGMERGE != x"msgmerge"; then
5030 echo "WARNING: msgmerge command not found!"
5033 if test $NLS = "y" && test $LACKING_GETTEXT = "y"; then
5034 echo "WARNING: Disabling NLS"
5039 # Data history to keep by sa2
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of daily data files to keep" >&5
5041 $as_echo_n "checking number of daily data files to keep... " >&6; }
5043 if test x$history = x""; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HISTORY" >&5
5049 $as_echo "$HISTORY" >&6; }
5052 # Number of days after which datafiles are compressed
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of days after which data files are compressed" >&5
5054 $as_echo_n "checking number of days after which data files are compressed... " >&6; }
5056 if test x$compressafter = x""; then
5059 COMPRESSAFTER=$compressafter
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMPRESSAFTER" >&5
5062 $as_echo "$COMPRESSAFTER" >&6; }
5065 # Preallocation factor
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking preallocation factor value" >&5
5067 $as_echo_n "checking preallocation factor value... " >&6; }
5069 if test x$prealloc = x""; then
5072 PREALLOC_FACTOR=$prealloc
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PREALLOC_FACTOR" >&5
5075 $as_echo "$PREALLOC_FACTOR" >&6; }
5079 grep ^man: /etc/group >/dev/null 2>&1
5080 if test $? = 0; then
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking group for manual pages" >&5
5087 $as_echo_n "checking group for manual pages... " >&6; }
5089 if test x$man_group = x""; then
5091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5092 $as_echo "$MAN_GROUP" >&6; }
5094 grep ^$man_group: /etc/group >/dev/null 2>&1
5095 if test $? = 1; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5098 $as_echo "$MAN_GROUP" >&6; }
5099 echo "WARNING: Group ${man_group} not found: Using ${GRP} instead"
5101 MAN_GROUP=$man_group
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
5103 $as_echo "$MAN_GROUP" >&6; }
5108 # Don't set attributes on files being installed?
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether attributes should not be set on files being installed" >&5
5110 $as_echo_n "checking whether attributes should not be set on files being installed... " >&6; }
5111 # Check whether --enable-file-attr was given.
5112 if test "${enable_file_attr+set}" = set; then :
5113 enableval=$enable_file_attr; AUX_IMG=$enableval
5118 if test $AUX_IMG != "no"; then
5119 IGNORE_FILE_ATTRIBUTES=n
5122 IGNORE_FILE_ATTRIBUTES=y
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_IMG" >&5
5126 $as_echo "$AUX_IMG" >&6; }
5129 # Compress manual pages?
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether manual pages should be compressed" >&5
5131 $as_echo_n "checking whether manual pages should be compressed... " >&6; }
5132 # Check whether --enable-compress-manpg was given.
5133 if test "${enable_compress_manpg+set}" = set; then :
5134 enableval=$enable_compress_manpg; AUX_MPG=$enableval
5139 if test $AUX_MPG != "yes"; then
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_MPG" >&5
5146 $as_echo "$AUX_MPG" >&6; }
5149 # Check whether isag should be installed
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isag script should be installed" >&5
5151 $as_echo_n "checking whether isag script should be installed... " >&6; }
5152 # Check whether --enable-install-isag was given.
5153 if test "${enable_install_isag+set}" = set; then :
5154 enableval=$enable_install_isag; AUX_IIS=$enableval
5159 if test $AUX_IIS != "yes"; then
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_IIS" >&5
5166 $as_echo "$AUX_IIS" >&6; }
5169 # Check whether sa directory should be cleaned
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system activity directory should be cleaned" >&5
5171 $as_echo_n "checking whether system activity directory should be cleaned... " >&6; }
5172 # Check whether --enable-clean-sa-dir was given.
5173 if test "${enable_clean_sa_dir+set}" = set; then :
5174 enableval=$enable_clean_sa_dir; AUX_CSD=$enableval
5179 if test $AUX_CSD != "yes"; then
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CSD" >&5
5186 $as_echo "$AUX_CSD" >&6; }
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cron should start sar automatically" >&5
5191 $as_echo_n "checking whether cron should start sar automatically... " >&6; }
5192 # Check whether --enable-install-cron was given.
5193 if test "${enable_install_cron+set}" = set; then :
5194 enableval=$enable_install_cron; INSTALL_CRON=$enableval
5199 if test $INSTALL_CRON != "yes"; then
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_CRON" >&5
5207 $as_echo "$AUX_CRON" >&6; }
5212 if test $INSTALL_CRON = "y"; then
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab owner" >&5
5214 $as_echo_n "checking crontab owner... " >&6; }
5216 if test x$cron_owner = x""; then
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5219 $as_echo "$CRON_OWNER" >&6; }
5221 grep ^$cron_owner: /etc/passwd >/dev/null 2>&1
5222 if test $? = 1; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5225 $as_echo "$CRON_OWNER" >&6; }
5226 echo "WARNING: User ${cron_owner} not found: Using ${CUSR} instead."
5228 CRON_OWNER=$cron_owner
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
5230 $as_echo "$CRON_OWNER" >&6; }
5233 echo "INFO: Crontab for ${CRON_OWNER} will be saved in current directory if necessary"
5234 if test $CRON_OWNER = "root"; then
5237 REM_CHOWN="# REM_CHOWN"
5239 SU_C_OWNER="su $CRON_OWNER -c "
5241 # " (ignore this line)
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab interval" >&5
5247 $as_echo_n "checking crontab interval... " >&6; }
5249 if test x$cron_interval = x""; then
5252 CRON_INTERVAL=$cron_interval
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_INTERVAL" >&5
5255 $as_echo "$CRON_INTERVAL" >&6; }
5256 CRON_INTERVAL_SEC=`expr ${CRON_INTERVAL} \* 60`
5257 CRON_COUNT=`expr 60 / ${CRON_INTERVAL}`
5259 # Check whether sadc should collect all possible activities
5260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sadc should collect all possible activities" >&5
5261 $as_echo_n "checking whether sadc should collect all possible activities... " >&6; }
5262 # Check whether --enable-collect-all was given.
5263 if test "${enable_collect_all+set}" = set; then :
5264 enableval=$enable_collect_all; COLLECT_ALL=$enableval
5269 if test $COLLECT_ALL != "yes"; then
5273 COLLECT_ALL="-S XALL"
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_COLL" >&5
5277 $as_echo "$AUX_COLL" >&6; }
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking options to be passed to sadc" >&5
5280 $as_echo_n "checking options to be passed to sadc... " >&6; }
5282 if test x"$sadc_options" != x""; then
5283 SADC_OPT="$sadc_options"
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SADC_OPT" >&5
5288 $as_echo "$SADC_OPT" >&6; }
5291 # Check whether files should only be copied
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether files should only be copied" >&5
5293 $as_echo_n "checking whether files should only be copied... " >&6; }
5294 # Check whether --enable-copy-only was given.
5295 if test "${enable_copy_only+set}" = set; then :
5296 enableval=$enable_copy_only; OCOPY=$enableval
5301 if test $OCOPY != "yes"; then
5307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCOPY" >&5
5308 $as_echo "$OCOPY" >&6; }
5315 REM_CHOWN="# REM_CHOWN"
5317 CRON_INTERVAL_SEC=600
5330 # Check whether documentation should be installed
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether documentation should be installed" >&5
5332 $as_echo_n "checking whether documentation should be installed... " >&6; }
5333 # Check whether --enable-documentation was given.
5334 if test "${enable_documentation+set}" = set; then :
5335 enableval=$enable_documentation; AUX_DOC=$enableval
5340 if test $AUX_DOC != "no"; then
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_DOC" >&5
5348 $as_echo "$AUX_DOC" >&6; }
5351 # Set directory for installing manual pages (see comment in Makefile)
5354 # Check whether --debuginfo options should be allowed
5355 # Check whether --enable-debuginfo was given.
5356 if test "${enable_debuginfo+set}" = set; then :
5357 enableval=$enable_debuginfo; WITH_DEBUG=yes ; DFLAGS="$DFLAGS -DDEBUG"
5365 # Check whether object files should be stripped
5366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether object files should be stripped" >&5
5367 $as_echo_n "checking whether object files should be stripped... " >&6; }
5368 # Check whether --enable-stripping was given.
5369 if test "${enable_stripping+set}" = set; then :
5370 enableval=$enable_stripping; AUX_STRIP=$enableval
5375 if test $AUX_STRIP != "no"; then
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_STRIP" >&5
5383 $as_echo "$AUX_STRIP" >&6; }
5388 echo Now create files:
5390 ac_config_files="$ac_config_files sa1"
5391 # Permissions must be changed
5392 ac_config_files="$ac_config_files sa2"
5393 # Permissions must be changed
5394 ac_config_files="$ac_config_files cron/crontab:cron/crontab.sample"
5395 # File must be renamed
5396 ac_config_files="$ac_config_files sysstat.sysconfig"
5398 ac_config_files="$ac_config_files version.h:version.in"
5399 # File must be renamed
5400 ac_config_files="$ac_config_files sysconfig.h:sysconfig.in"
5401 # File must be renamed
5402 ac_config_files="$ac_config_files prealloc.h:prealloc.in"
5403 # File must be renamed
5404 ac_config_files="$ac_config_files cron/sysstat.cron.daily"
5406 ac_config_files="$ac_config_files cron/sysstat.cron.hourly"
5408 ac_config_files="$ac_config_files cron/sysstat.crond"
5410 ac_config_files="$ac_config_files cron/sysstat.crond.sample.in:cron/sysstat.crond.in"
5412 ac_config_files="$ac_config_files sysstat"
5413 # Permissions must be changed
5414 ac_config_files="$ac_config_files sysstat.service"
5416 ac_config_files="$ac_config_files cron/sysstat-collect.service"
5418 ac_config_files="$ac_config_files cron/sysstat-collect.timer"
5420 ac_config_files="$ac_config_files cron/sysstat-summary.service"
5422 ac_config_files="$ac_config_files cron/sysstat-summary.timer"
5424 ac_config_files="$ac_config_files man/sa1.8:man/sa1.in"
5425 # File must be renamed
5426 ac_config_files="$ac_config_files man/sa2.8:man/sa2.in"
5427 # File must be renamed
5428 ac_config_files="$ac_config_files man/sadc.8:man/sadc.in"
5429 # File must be renamed
5430 ac_config_files="$ac_config_files man/sadf.1:man/sadf.in"
5431 # File must be renamed
5432 ac_config_files="$ac_config_files man/sar.1:man/sar.in"
5433 # File must be renamed
5434 ac_config_files="$ac_config_files man/sysstat.5:man/sysstat.in"
5435 # File must be renamed
5436 ac_config_files="$ac_config_files man/iostat.1:man/iostat.in"
5437 # File must be renamed
5438 ac_config_files="$ac_config_files man/cifsiostat.1:man/cifsiostat.in"
5439 # File must be renamed
5440 ac_config_files="$ac_config_files contrib/isag/isag"
5441 # Permissions must be changed
5443 ac_config_files="$ac_config_files Makefile"
5445 cat >confcache <<\_ACEOF
5446 # This file is a shell script that caches the results of configure
5447 # tests run on this system so they can be shared between configure
5448 # scripts and configure runs, see configure's option --config-cache.
5449 # It is not useful on other systems. If it contains results you don't
5450 # want to keep, you may remove or edit it.
5452 # config.status only pays attention to the cache file if you give it
5453 # the --recheck option to rerun configure.
5455 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5456 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5461 # The following way of writing the cache mishandles newlines in values,
5462 # but we know of no workaround that is simple, portable, and efficient.
5463 # So, we kill variables containing newlines.
5464 # Ultrix sh set writes to stderr and can't be redirected directly,
5465 # and sets the high bit in the cache file unless we assign to the vars.
5467 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5468 eval ac_val=\$$ac_var
5472 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5473 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5476 _ | IFS | as_nl) ;; #(
5477 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5478 *) { eval $ac_var=; unset $ac_var;} ;;
5484 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5485 *${as_nl}ac_space=\ *)
5486 # `set' does not quote correctly, so add quotes: double-quote
5487 # substitution turns \\\\ into \\, and sed turns \\ into \.
5490 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5493 # `set' quotes correctly as required by POSIX, so do not add quotes.
5494 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5503 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5505 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5507 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5508 if test -w "$cache_file"; then
5509 if test "x$cache_file" != "x/dev/null"; then
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5511 $as_echo "$as_me: updating cache $cache_file" >&6;}
5512 if test ! -f "$cache_file" || test -h "$cache_file"; then
5513 cat confcache >"$cache_file"
5515 case $cache_file in #(
5517 mv -f confcache "$cache_file"$$ &&
5518 mv -f "$cache_file"$$ "$cache_file" ;; #(
5520 mv -f confcache "$cache_file" ;;
5525 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5526 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5531 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5532 # Let make expand exec_prefix.
5533 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5535 # Transform confdefs.h into DEFS.
5536 # Protect against shell expansion while executing Makefile rules.
5537 # Protect against Makefile macro expansion.
5539 # If the first sed substitution is executed (which looks for macros that
5540 # take arguments), then branch to the quote section. Otherwise,
5541 # look for a macro that doesn't take arguments.
5551 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
5553 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
5557 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
5570 DEFS=`sed -n "$ac_script" confdefs.h`
5576 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5577 # 1. Remove the extension, and $U if already installed.
5578 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5579 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5580 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5581 # will be set to the directory where LIBOBJS objects are built.
5582 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5583 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5587 LTLIBOBJS=$ac_ltlibobjs
5591 : "${CONFIG_STATUS=./config.status}"
5593 ac_clean_files_save=$ac_clean_files
5594 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5596 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5598 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5600 # Generated by $as_me.
5601 # Run this file to recreate the current configuration.
5602 # Compiler output produced by configure, useful for debugging
5603 # configure, is in config.log if it exists.
5609 SHELL=\${CONFIG_SHELL-$SHELL}
5612 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5613 ## -------------------- ##
5614 ## M4sh Initialization. ##
5615 ## -------------------- ##
5617 # Be more Bourne compatible
5618 DUALCASE=1; export DUALCASE # for MKS sh
5619 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5622 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5623 # is contrary to our usage. Disable this feature.
5624 alias -g '${1+"$@"}'='"$@"'
5625 setopt NO_GLOB_SUBST
5627 case `(set -o) 2>/dev/null` in #(
5639 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5640 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5641 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5643 # Prefer a ksh shell builtin over an external printf program on Solaris,
5644 # but without wasting forks for bash or zsh.
5645 if test -z "$BASH_VERSION$ZSH_VERSION" \
5646 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5647 as_echo='print -r --'
5648 as_echo_n='print -rn --'
5649 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5650 as_echo='printf %s\n'
5651 as_echo_n='printf %s'
5653 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5654 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5655 as_echo_n='/usr/ucb/echo -n'
5657 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5658 as_echo_n_body='eval
5662 expr "X$arg" : "X\\(.*\\)$as_nl";
5663 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5665 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5667 export as_echo_n_body
5668 as_echo_n='sh -c $as_echo_n_body as_echo'
5671 as_echo='sh -c $as_echo_body as_echo'
5674 # The user is always right.
5675 if test "${PATH_SEPARATOR+set}" != set; then
5677 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5678 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5685 # We need space, tab and new line, in precisely that order. Quoting is
5686 # there to prevent editors from complaining about space-tab.
5687 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5688 # splitting by setting IFS to empty value.)
5691 # Find who we are. Look in the path if we contain no directory separator.
5694 *[\\/]* ) as_myself=$0 ;;
5695 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 test -z "$as_dir" && as_dir=.
5700 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5706 # We did not find ourselves, most probably we were run as `sh COMMAND'
5707 # in which case we are not to be found in the path.
5708 if test "x$as_myself" = x; then
5711 if test ! -f "$as_myself"; then
5712 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5716 # Unset variables that we do not need and which cause bugs (e.g. in
5717 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5718 # suppresses any "Segmentation fault" message there. '((' could
5719 # trigger a bug in pdksh 5.2.14.
5720 for as_var in BASH_ENV ENV MAIL MAILPATH
5721 do eval test x\${$as_var+set} = xset \
5722 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5735 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5738 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5739 # ----------------------------------------
5740 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5741 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5742 # script with STATUS, using 1 if that was 0.
5745 as_status=$1; test $as_status -eq 0 && as_status=1
5747 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5748 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5750 $as_echo "$as_me: error: $2" >&2
5751 as_fn_exit $as_status
5755 # as_fn_set_status STATUS
5756 # -----------------------
5757 # Set $? to STATUS, without forking.
5761 } # as_fn_set_status
5765 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5775 # Portably unset VAR.
5778 { eval $1=; unset $1;}
5780 as_unset=as_fn_unset
5781 # as_fn_append VAR VALUE
5782 # ----------------------
5783 # Append the text in VALUE to the end of the definition contained in VAR. Take
5784 # advantage of any shell optimizations that allow amortized linear growth over
5785 # repeated appends, instead of the typical quadratic growth present in naive
5787 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
5788 eval 'as_fn_append ()
5799 # as_fn_arith ARG...
5800 # ------------------
5801 # Perform arithmetic evaluation on the ARGs, and store the result in the
5802 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5803 # must be portable across $(()) and expr.
5804 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
5805 eval 'as_fn_arith ()
5812 as_val=`expr "$@" || test $? -eq 1`
5817 if expr a : '\(a\)' >/dev/null 2>&1 &&
5818 test "X`expr 00001 : '.*\(...\)'`" = X001; then
5824 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5825 as_basename=basename
5830 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
5836 as_me=`$as_basename -- "$0" ||
5837 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5838 X"$0" : 'X\(//\)$' \| \
5839 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5841 sed '/^.*\/\([^/][^/]*\)\/*$/{
5855 # Avoid depending upon Character Ranges.
5856 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5857 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5858 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5859 as_cr_digits='0123456789'
5860 as_cr_alnum=$as_cr_Letters$as_cr_digits
5862 ECHO_C= ECHO_N= ECHO_T=
5863 case `echo -n x` in #(((((
5865 case `echo 'xy\c'` in
5866 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5868 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5875 rm -f conf$$ conf$$.exe conf$$.file
5876 if test -d conf$$.dir; then
5877 rm -f conf$$.dir/conf$$.file
5880 mkdir conf$$.dir 2>/dev/null
5882 if (echo >conf$$.file) 2>/dev/null; then
5883 if ln -s conf$$.file conf$$ 2>/dev/null; then
5885 # ... but there are two gotchas:
5886 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5887 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5888 # In both cases, we have to default to `cp -pR'.
5889 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5891 elif ln conf$$.file conf$$ 2>/dev/null; then
5899 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5900 rmdir conf$$.dir 2>/dev/null
5905 # Create "$as_dir" as a directory, including parents if necessary.
5910 -*) as_dir=./$as_dir;;
5912 test -d "$as_dir" || eval $as_mkdir_p || {
5916 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5917 *) as_qdir=$as_dir;;
5919 as_dirs="'$as_qdir' $as_dirs"
5920 as_dir=`$as_dirname -- "$as_dir" ||
5921 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5922 X"$as_dir" : 'X\(//\)[^/]' \| \
5923 X"$as_dir" : 'X\(//\)$' \| \
5924 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5925 $as_echo X"$as_dir" |
5926 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5943 test -d "$as_dir" && break
5945 test -z "$as_dirs" || eval "mkdir $as_dirs"
5946 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5950 if mkdir -p . 2>/dev/null; then
5951 as_mkdir_p='mkdir -p "$as_dir"'
5953 test -d ./-p && rmdir ./-p
5958 # as_fn_executable_p FILE
5959 # -----------------------
5960 # Test if FILE is an executable regular file.
5961 as_fn_executable_p ()
5963 test -f "$1" && test -x "$1"
5964 } # as_fn_executable_p
5966 as_executable_p=as_fn_executable_p
5968 # Sed expression to map a string onto a valid CPP name.
5969 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5971 # Sed expression to map a string onto a valid variable name.
5972 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5976 ## ----------------------------------- ##
5977 ## Main body of $CONFIG_STATUS script. ##
5978 ## ----------------------------------- ##
5980 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5983 # Save the log message, to keep $0 and so on meaningful, and to
5984 # report actual input values of CONFIG_FILES etc. instead of their
5985 # values after options handling.
5987 This file was extended by sysstat $as_me 11.3.5, which was
5988 generated by GNU Autoconf 2.69. Invocation command line was
5990 CONFIG_FILES = $CONFIG_FILES
5991 CONFIG_HEADERS = $CONFIG_HEADERS
5992 CONFIG_LINKS = $CONFIG_LINKS
5993 CONFIG_COMMANDS = $CONFIG_COMMANDS
5996 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6001 case $ac_config_files in *"
6002 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6007 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6008 # Files that config.status was made for.
6009 config_files="$ac_config_files"
6013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6015 \`$as_me' instantiates files and other configuration actions
6016 from templates according to the current configuration. Unless the files
6017 and actions are specified as TAGs, all are instantiated by default.
6019 Usage: $0 [OPTION]... [TAG]...
6021 -h, --help print this help, then exit
6022 -V, --version print version number and configuration settings, then exit
6023 --config print configuration, then exit
6024 -q, --quiet, --silent
6025 do not print progress messages
6026 -d, --debug don't remove temporary files
6027 --recheck update $as_me by reconfiguring in the same conditions
6028 --file=FILE[:TEMPLATE]
6029 instantiate the configuration file FILE
6031 Configuration files:
6034 Report bugs to the package provider."
6037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6038 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6040 sysstat config.status 11.3.5
6041 configured by $0, generated by GNU Autoconf 2.69,
6042 with options \\"\$ac_cs_config\\"
6044 Copyright (C) 2012 Free Software Foundation, Inc.
6045 This config.status script is free software; the Free Software Foundation
6046 gives unlimited permission to copy, distribute and modify it."
6050 test -n "\$AWK" || AWK=awk
6053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6054 # The default lists apply if the user does not specify any file.
6060 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6061 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6065 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6077 # Handling of the options.
6078 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6080 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6081 $as_echo "$ac_cs_version"; exit ;;
6082 --config | --confi | --conf | --con | --co | --c )
6083 $as_echo "$ac_cs_config"; exit ;;
6084 --debug | --debu | --deb | --de | --d | -d )
6086 --file | --fil | --fi | --f )
6089 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6090 '') as_fn_error $? "missing file argument" ;;
6092 as_fn_append CONFIG_FILES " '$ac_optarg'"
6093 ac_need_defaults=false;;
6094 --he | --h | --help | --hel | -h )
6095 $as_echo "$ac_cs_usage"; exit ;;
6096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6097 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6101 -*) as_fn_error $? "unrecognized option: \`$1'
6102 Try \`$0 --help' for more information." ;;
6104 *) as_fn_append ac_config_targets " $1"
6105 ac_need_defaults=false ;;
6111 ac_configure_extra_args=
6113 if $ac_cs_silent; then
6115 ac_configure_extra_args="$ac_configure_extra_args --silent"
6119 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6120 if \$ac_cs_recheck; then
6121 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6123 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6124 CONFIG_SHELL='$SHELL'
6130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6134 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6135 ## Running $as_me. ##
6141 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6146 # Handling of arguments.
6147 for ac_config_target in $ac_config_targets
6149 case $ac_config_target in
6150 "sa1") CONFIG_FILES="$CONFIG_FILES sa1" ;;
6151 "sa2") CONFIG_FILES="$CONFIG_FILES sa2" ;;
6152 "cron/crontab") CONFIG_FILES="$CONFIG_FILES cron/crontab:cron/crontab.sample" ;;
6153 "sysstat.sysconfig") CONFIG_FILES="$CONFIG_FILES sysstat.sysconfig" ;;
6154 "version.h") CONFIG_FILES="$CONFIG_FILES version.h:version.in" ;;
6155 "sysconfig.h") CONFIG_FILES="$CONFIG_FILES sysconfig.h:sysconfig.in" ;;
6156 "prealloc.h") CONFIG_FILES="$CONFIG_FILES prealloc.h:prealloc.in" ;;
6157 "cron/sysstat.cron.daily") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.daily" ;;
6158 "cron/sysstat.cron.hourly") CONFIG_FILES="$CONFIG_FILES cron/sysstat.cron.hourly" ;;
6159 "cron/sysstat.crond") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond" ;;
6160 "cron/sysstat.crond.sample.in") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond.sample.in:cron/sysstat.crond.in" ;;
6161 "sysstat") CONFIG_FILES="$CONFIG_FILES sysstat" ;;
6162 "sysstat.service") CONFIG_FILES="$CONFIG_FILES sysstat.service" ;;
6163 "cron/sysstat-collect.service") CONFIG_FILES="$CONFIG_FILES cron/sysstat-collect.service" ;;
6164 "cron/sysstat-collect.timer") CONFIG_FILES="$CONFIG_FILES cron/sysstat-collect.timer" ;;
6165 "cron/sysstat-summary.service") CONFIG_FILES="$CONFIG_FILES cron/sysstat-summary.service" ;;
6166 "cron/sysstat-summary.timer") CONFIG_FILES="$CONFIG_FILES cron/sysstat-summary.timer" ;;
6167 "man/sa1.8") CONFIG_FILES="$CONFIG_FILES man/sa1.8:man/sa1.in" ;;
6168 "man/sa2.8") CONFIG_FILES="$CONFIG_FILES man/sa2.8:man/sa2.in" ;;
6169 "man/sadc.8") CONFIG_FILES="$CONFIG_FILES man/sadc.8:man/sadc.in" ;;
6170 "man/sadf.1") CONFIG_FILES="$CONFIG_FILES man/sadf.1:man/sadf.in" ;;
6171 "man/sar.1") CONFIG_FILES="$CONFIG_FILES man/sar.1:man/sar.in" ;;
6172 "man/sysstat.5") CONFIG_FILES="$CONFIG_FILES man/sysstat.5:man/sysstat.in" ;;
6173 "man/iostat.1") CONFIG_FILES="$CONFIG_FILES man/iostat.1:man/iostat.in" ;;
6174 "man/cifsiostat.1") CONFIG_FILES="$CONFIG_FILES man/cifsiostat.1:man/cifsiostat.in" ;;
6175 "contrib/isag/isag") CONFIG_FILES="$CONFIG_FILES contrib/isag/isag" ;;
6176 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6178 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6183 # If the user did not use the arguments to specify the items to instantiate,
6184 # then the envvar interface is used. Set only those that are not.
6185 # We use the long form for the default assignment because of an extremely
6186 # bizarre bug on SunOS 4.1.3.
6187 if $ac_need_defaults; then
6188 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6191 # Have a temporary directory for convenience. Make it in the build tree
6192 # simply because there is no reason against having it here, and in addition,
6193 # creating and moving files from /tmp can sometimes cause problems.
6194 # Hook for its removal unless debugging.
6195 # Note that there is a small window in which the directory will not be cleaned:
6196 # after its creation but before its name has been assigned to `$tmp'.
6200 trap 'exit_status=$?
6202 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6204 trap 'as_fn_exit 1' 1 2 13 15
6206 # Create a (secure) tmp directory for tmp files.
6209 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6213 tmp=./conf$$-$RANDOM
6214 (umask 077 && mkdir "$tmp")
6215 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6218 # Set up the scripts for CONFIG_FILES section.
6219 # No need to generate them if there are no CONFIG_FILES.
6220 # This happens for instance with `./config.status config.h'.
6221 if test -n "$CONFIG_FILES"; then
6224 ac_cr=`echo X | tr X '\015'`
6225 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6226 # But we know of no other shell where ac_cr would be empty at this
6227 # point, so we can use a bashism as a fallback.
6228 if test "x$ac_cr" = x; then
6229 eval ac_cr=\$\'\\r\'
6231 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6232 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6238 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6243 echo "cat >conf$$subs.awk <<_ACEOF" &&
6244 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6247 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6248 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6250 for ac_last_try in false false false false false :; do
6251 . ./conf$$subs.sh ||
6252 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6254 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6255 if test $ac_delim_n = $ac_delim_num; then
6257 elif $ac_last_try; then
6258 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6260 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6266 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6270 s/^/S["/; s/!.*/"]=/
6280 s/\(.\{148\}\)..*/\1/
6282 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6287 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6294 s/\(.\{148\}\)..*/\1/
6296 s/["\\]/\\&/g; s/^/"/; s/$/"/
6300 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6305 ' <conf$$subs.awk | sed '
6310 ' >>$CONFIG_STATUS || ac_write_fail=1
6311 rm -f conf$$subs.awk
6312 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6314 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6315 for (key in S) S_is_set[key] = 1
6321 nfields = split(line, field, "@")
6323 len = length(field[1])
6324 for (i = 2; i < nfields; i++) {
6326 keylen = length(key)
6327 if (S_is_set[key]) {
6329 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6330 len += length(value) + length(field[++i])
6341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6342 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6343 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6346 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6347 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6350 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6351 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6352 # trailing colons and then remove the whole line if VPATH becomes empty
6353 # (actually we leave an empty line to preserve line numbers).
6354 if test "x$srcdir" = x.; then
6355 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6373 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6374 fi # test -n "$CONFIG_FILES"
6377 eval set X " :F $CONFIG_FILES "
6382 :[FHLC]) ac_mode=$ac_tag; continue;;
6384 case $ac_mode$ac_tag in
6386 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6387 :[FH]-) ac_tag=-:-;;
6388 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6405 -) ac_f="$ac_tmp/stdin";;
6406 *) # Look for the file first in the build tree, then in the source tree
6407 # (if the path is not absolute). The absolute path cannot be DOS-style,
6408 # because $ac_f cannot contain `:'.
6412 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6414 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6416 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6417 as_fn_append ac_file_inputs " '$ac_f'"
6420 # Let's still pretend it is `configure' which instantiates (i.e., don't
6421 # use $as_me), people would be surprised to read:
6422 # /* config.h. Generated by config.status. */
6423 configure_input='Generated from '`
6424 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6426 if test x"$ac_file" != x-; then
6427 configure_input="$ac_file. $configure_input"
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6429 $as_echo "$as_me: creating $ac_file" >&6;}
6431 # Neutralize special characters interpreted by sed in replacement strings.
6432 case $configure_input in #(
6433 *\&* | *\|* | *\\* )
6434 ac_sed_conf_input=`$as_echo "$configure_input" |
6435 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6436 *) ac_sed_conf_input=$configure_input;;
6440 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6441 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6446 ac_dir=`$as_dirname -- "$ac_file" ||
6447 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6448 X"$ac_file" : 'X\(//\)[^/]' \| \
6449 X"$ac_file" : 'X\(//\)$' \| \
6450 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6451 $as_echo X"$ac_file" |
6452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6469 as_dir="$ac_dir"; as_fn_mkdir_p
6473 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6475 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6476 # A ".." for each directory in $ac_dir_suffix.
6477 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6478 case $ac_top_builddir_sub in
6479 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6480 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6483 ac_abs_top_builddir=$ac_pwd
6484 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6485 # for backward compatibility:
6486 ac_top_builddir=$ac_top_build_prefix
6489 .) # We are building in place.
6491 ac_top_srcdir=$ac_top_builddir_sub
6492 ac_abs_top_srcdir=$ac_pwd ;;
6493 [\\/]* | ?:[\\/]* ) # Absolute name.
6494 ac_srcdir=$srcdir$ac_dir_suffix;
6495 ac_top_srcdir=$srcdir
6496 ac_abs_top_srcdir=$srcdir ;;
6498 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6499 ac_top_srcdir=$ac_top_build_prefix$srcdir
6500 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6502 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6513 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6514 # If the template does not know about datarootdir, expand it.
6515 # FIXME: This hack should be removed a few years after 2.60.
6516 ac_datarootdir_hack=; ac_datarootdir_seen=
6527 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6528 *datarootdir*) ac_datarootdir_seen=yes;;
6529 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6531 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6534 ac_datarootdir_hack='
6535 s&@datadir@&$datadir&g
6536 s&@docdir@&$docdir&g
6537 s&@infodir@&$infodir&g
6538 s&@localedir@&$localedir&g
6539 s&@mandir@&$mandir&g
6540 s&\\\${datarootdir}&$datarootdir&g' ;;
6544 # Neutralize VPATH when `$srcdir' = `.'.
6545 # Shell code in configure.ac might set extrasub.
6546 # FIXME: do we really want to maintain this feature?
6547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6548 ac_sed_extra="$ac_vpsub
6551 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6553 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6554 s|@configure_input@|$ac_sed_conf_input|;t t
6555 s&@top_builddir@&$ac_top_builddir_sub&;t t
6556 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6557 s&@srcdir@&$ac_srcdir&;t t
6558 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6559 s&@top_srcdir@&$ac_top_srcdir&;t t
6560 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6561 s&@builddir@&$ac_builddir&;t t
6562 s&@abs_builddir@&$ac_abs_builddir&;t t
6563 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6564 $ac_datarootdir_hack
6566 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6567 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6569 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6570 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6571 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6572 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6574 which seems to be undefined. Please make sure it is defined" >&5
6575 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6576 which seems to be undefined. Please make sure it is defined" >&2;}
6578 rm -f "$ac_tmp/stdin"
6580 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6581 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6583 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6591 case $ac_file$ac_mode in
6592 "sa1":F) chmod +x sa1 ;;
6593 "sa2":F) chmod +x sa2 ;;
6594 "cron/sysstat.crond.sample.in":F) sed s/^/#/ cron/sysstat.crond.sample.in > cron/sysstat.crond.sample ;;
6595 "sysstat":F) chmod +x sysstat ;;
6596 "contrib/isag/isag":F) chmod +x contrib/isag/isag ;;
6604 ac_clean_files=$ac_clean_files_save
6606 test $ac_write_fail = 0 ||
6607 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
6610 # configure is writing to config.log, and then calls config.status.
6611 # config.status does its own redirection, appending to config.log.
6612 # Unfortunately, on DOS this fails, as config.log is still kept open
6613 # by configure, so config.status won't be able to write to it; its
6614 # output is simply discarded. So we exec the FD to /dev/null,
6615 # effectively closing config.log, so it can be properly (re)opened and
6616 # appended to by config.status. When coming back to configure, we
6617 # need to make the FD available again.
6618 if test "$no_create" != yes; then
6620 ac_config_status_args=
6621 test "$silent" = yes &&
6622 ac_config_status_args="$ac_config_status_args --quiet"
6624 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6626 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6627 # would make configure fail if this is the last instruction.
6628 $ac_cs_success || as_fn_exit 1
6630 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
6632 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
6637 Sysstat version: $PACKAGE_VERSION
6638 Installation prefix: $prefix
6639 rc directory: ${RC_DIR}
6640 Init directory: ${INIT_DIR}
6641 Systemd unit dir: ${with_systemdsystemunitdir}
6642 Configuration directory: ${SYSCONFIG_DIR}
6643 Man pages directory: $mandir
6645 Compiler flags: $CFLAGS