#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.68 for sysstat 10.1.2.
+# Generated by GNU Autoconf 2.69 for sysstat 12.1.7.
#
#
-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
-# Foundation, Inc.
+# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
#
#
# This configure script is free software; the Free Software Foundation
# CDPATH.
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
+# Use a proper internal environment variable to ensure we don't fall
+ # into an infinite loop, continuously re-executing ourselves.
+ if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
+ _as_can_reexec=no; export _as_can_reexec;
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+as_fn_exit 255
+ fi
+ # We don't want this to propagate to other subprocesses.
+ { _as_can_reexec=; unset _as_can_reexec;}
if test "x$CONFIG_SHELL" = x; then
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
emulate sh
else
exitcode=1; echo positional parameters were not saved.
fi
-test x\$exitcode = x0 || exit 1"
+test x\$exitcode = x0 || exit 1
+test -x / || exit 1"
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
if test "x$CONFIG_SHELL" != x; then :
- # We cannot yet assume a decent shell, so we have to provide a
- # neutralization value for shells without unset; and this also
- # works around shells that cannot unset nonexistent variables.
- # Preserve -v and -x to the replacement shell.
- BASH_ENV=/dev/null
- ENV=/dev/null
- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
- export CONFIG_SHELL
- case $- in # ((((
- *v*x* | *x*v* ) as_opts=-vx ;;
- *v* ) as_opts=-v ;;
- *x* ) as_opts=-x ;;
- * ) as_opts= ;;
- esac
- exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
+ export CONFIG_SHELL
+ # We cannot yet assume a decent shell, so we have to provide a
+# neutralization value for shells without unset; and this also
+# works around shells that cannot unset nonexistent variables.
+# Preserve -v and -x to the replacement shell.
+BASH_ENV=/dev/null
+ENV=/dev/null
+(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
+case $- in # ((((
+ *v*x* | *x*v* ) as_opts=-vx ;;
+ *v* ) as_opts=-v ;;
+ *x* ) as_opts=-x ;;
+ * ) as_opts= ;;
+esac
+exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
+# Admittedly, this is quite paranoid, since all the known shells bail
+# out after a failed `exec'.
+$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
+exit 255
fi
if test x$as_have_required = xno; then :
} # as_fn_mkdir_p
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
# as_fn_append VAR VALUE
# ----------------------
# Append the text in VALUE to the end of the definition contained in VAR. Take
chmod +x "$as_me.lineno" ||
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
+ # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
+ # already done that, so ensure we don't try to do so again and fall
+ # in an infinite loop. This has already happened in practice.
+ _as_can_reexec=no; export _as_can_reexec
# Don't try to exec as it changes $[0], causing all sort of problems
# (the dirname of $[0] is not the place where we might find the
# original and so on. Autoconf is especially sensitive to this).
# ... but there are two gotchas:
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
+ # In both cases, we have to default to `cp -pR'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
+ as_ln_s='cp -pR'
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
- as_ln_s='cp -p'
+ as_ln_s='cp -pR'
fi
else
- as_ln_s='cp -p'
+ as_ln_s='cp -pR'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
as_mkdir_p=false
fi
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# Identity of this package.
PACKAGE_NAME='sysstat'
PACKAGE_TARNAME='sysstat'
-PACKAGE_VERSION='10.1.2'
-PACKAGE_STRING='sysstat 10.1.2'
+PACKAGE_VERSION='12.1.7'
+PACKAGE_STRING='sysstat 12.1.7'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
CRON_INTERVAL
SU_C_OWNER
CRON_OWNER
+COPY_ONLY
+SADC_OPT
+sadc_options
cron_interval
cron_owner
INSTALL_CRON
CLEAN_SA_DIR
-INSTALL_ISAG
COMPRESS_MANPG
-IGNORE_MAN_GROUP
+IGNORE_FILE_ATTRIBUTES
MAN_GROUP
man_group
COMPRESSAFTER
compressafter
HISTORY
history
-YESTERDAY
NLS
SYSCONFIG_DIR
conf_dir
sa_dir
SA_LIB_DIR
sa_lib_dir
+SYSPARAM
+SYSMACROS
INITD_DIR
INIT_DIR
RC_DIR
rcdir
+DFPCP
+LFPCP
+HAVE_PCP
DFSENSORS
LFSENSORS
HAVE_SENSORS
+SYSTEMD_UNIT_DIR
+SYSTEMCTL
+PKG_CONFIG
PATH_CHKCONFIG
PATH_CP
INSTALL_BIN
INSTALL_DATA
ZIP
+VER_JSON
+VER_XML
MSGMERGE
XGETTEXT
MSGFMT
ac_subst_files=''
ac_user_opts='
enable_option_checking
+with_systemdsystemunitdir
enable_sensors
+enable_pcp
enable_largefile
enable_nls
-enable_yesterday
-enable_man_group
+enable_file_attr
enable_compress_manpg
-enable_install_isag
enable_clean_sa_dir
enable_install_cron
enable_collect_all
+enable_copy_only
enable_documentation
enable_debuginfo
enable_stripping
compressafter
man_group
cron_owner
-cron_interval'
+cron_interval
+sadc_options'
# Initialize some variables set by options.
if test "x$host_alias" != x; then
if test "x$build_alias" = x; then
cross_compiling=maybe
- $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
- If a cross compiler is detected then cross compile mode will be used" >&2
elif test "x$build_alias" != "x$host_alias"; then
cross_compiling=yes
fi
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures sysstat 10.1.2 to adapt to many kinds of systems.
+\`configure' configures sysstat 12.1.7 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of sysstat 10.1.2:";;
+ short | recursive ) echo "Configuration of sysstat 12.1.7:";;
esac
cat <<\_ACEOF
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
--disable-sensors disable sensors support
+ --disable-pcp disable PCP support
--disable-largefile omit support for large files
--disable-nls disable National Language Support
- --enable-yesterday tell sa2 to use data file of the day before
- --disable-man-group ignore man_group variable value
+ --disable-file-attr do not set attributes on files being installed
--enable-compress-manpg compress sysstat manual pages
- --enable-install-isag install isag script
--enable-clean-sa-dir clean system activity directory
--enable-install-cron install a crontab to start sar
--enable-collect-all collect all possible activities
+ --enable-copy-only only copy files when installing
--disable-documentation do not install documentation
--enable-debuginfo enable debug output (--debuginfo option)
--disable-stripping do not strip object files
+Optional Packages:
+ --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
+ --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
+ --with-systemdsystemunitdir=DIR
+ Directory for systemd service files
+
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
cron_owner crontab owner
cron_interval
crontab interval
+ sadc_options
+ options to be passed to sadc
Use these variables to override the choices made by `configure' or to help
it to find libraries and programs with nonstandard names/locations.
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-sysstat configure 10.1.2
-generated by GNU Autoconf 2.68
+sysstat configure 12.1.7
+generated by GNU Autoconf 2.69
-Copyright (C) 2010 Free Software Foundation, Inc.
+Copyright (C) 2012 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.
_ACEOF
test ! -s conftest.err
} && test -s conftest$ac_exeext && {
test "$cross_compiling" = yes ||
- $as_test_x conftest$ac_exeext
+ test -x conftest$ac_exeext
}; then :
ac_retval=0
else
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by sysstat $as_me 10.1.2, which was
-generated by GNU Autoconf 2.68. Invocation command line was
+It was created by sysstat $as_me 12.1.7, which was
+generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="${ac_tool_prefix}gcc"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CC="gcc"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="${ac_tool_prefix}cc"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
ac_prog_rejected=yes
continue
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ac_ct_CC="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
/* end confdefs.h. */
#include <stdarg.h>
#include <stdio.h>
-#include <sys/types.h>
-#include <sys/stat.h>
+struct stat;
/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
struct buf { int x; };
FILE * (*rcsopen) (struct buf *, struct stat *, int);
for ac_prog in grep ggrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
- { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
+ as_fn_executable_p "$ac_path_GREP" || continue
# Check for GNU ac_path_GREP and select it if it is found.
# Check for GNU $ac_path_GREP
case `"$ac_path_GREP" --version 2>&1` in
for ac_prog in egrep; do
for ac_exec_ext in '' $ac_executable_extensions; do
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
- { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
+ as_fn_executable_p "$ac_path_EGREP" || continue
# Check for GNU ac_path_EGREP and select it if it is found.
# Check for GNU $ac_path_EGREP
case `"$ac_path_EGREP" --version 2>&1` in
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-# define __EXTENSIONS__ 1
- $ac_includes_default
+# define __EXTENSIONS__ 1
+ $ac_includes_default
int
main ()
{
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CHMOD="chmod"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_CHOWN="chown"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_AR="ar"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_INSTALL="install"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_MSGFMT="msgfmt"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_XGETTEXT="xgettext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_MSGMERGE="msgmerge"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
-for ac_prog in bzip2 gzip
+# Extract the first word of "xmllint", so it can be a program name with args.
+set dummy xmllint; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_VER_XML+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$VER_XML"; then
+ ac_cv_prog_VER_XML="$VER_XML" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_VER_XML="xmllint"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+VER_XML=$ac_cv_prog_VER_XML
+if test -n "$VER_XML"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VER_XML" >&5
+$as_echo "$VER_XML" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+for ac_prog in json_verify json_pp
+do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_VER_JSON+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$VER_JSON"; then
+ ac_cv_prog_VER_JSON="$VER_JSON" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_VER_JSON="$ac_prog"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+fi
+fi
+VER_JSON=$ac_cv_prog_VER_JSON
+if test -n "$VER_JSON"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VER_JSON" >&5
+$as_echo "$VER_JSON" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+ test -n "$VER_JSON" && break
+done
+test -n "$VER_JSON" || VER_JSON="true"
+
+for ac_prog in xz bzip2 gzip
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
ac_cv_prog_ZIP="$ZIP" # Let the user override the test.
else
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
+for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_prog_ZIP="$ac_prog"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
INSTALL_BIN="\${INSTALL} -m 755"
-for ac_prog in cp
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
+
+
+
+# Extract the first word of "cp", so it can be a program name with args.
+set dummy cp; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_PATH_CP+:} false; then :
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
+for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_PATH_CP="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
- test -n "$PATH_CP" && break
-done
-test -n "$PATH_CP" || PATH_CP="cp"
-
-for ac_prog in chkconfig
-do
- # Extract the first word of "$ac_prog", so it can be a program name with args.
-set dummy $ac_prog; ac_word=$2
+# Extract the first word of "chkconfig", so it can be a program name with args.
+set dummy chkconfig; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if ${ac_cv_path_PATH_CHKCONFIG+:} false; then :
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
-for as_dir in /bin /etc /sbin /usr/bin /usr/etc /usr/sbin /usr/ucb /usr/local/bin /usr/local/etc /usr/local/sbin
+for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
ac_cv_path_PATH_CHKCONFIG="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
- test -n "$PATH_CHKCONFIG" && break
+
+# Check for systemd
+# Extract the first word of "pkg-config", so it can be a program name with args.
+set dummy pkg-config; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_PKG_CONFIG+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ if test -n "$PKG_CONFIG"; then
+ ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_prog_PKG_CONFIG="pkg-config"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
done
-test -n "$PATH_CHKCONFIG" || PATH_CHKCONFIG="chkconfig"
+ done
+IFS=$as_save_IFS
+fi
+fi
+PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
+if test -n "$PKG_CONFIG"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
+$as_echo "$PKG_CONFIG" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+# Extract the first word of "systemctl", so it can be a program name with args.
+set dummy systemctl; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_path_SYSTEMCTL+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ case $SYSTEMCTL in
+ [\\/]* | ?:[\\/]*)
+ ac_cv_path_SYSTEMCTL="$SYSTEMCTL" # Let the user override the test with a path.
+ ;;
+ *)
+ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+ IFS=$as_save_IFS
+ test -z "$as_dir" && as_dir=.
+ for ac_exec_ext in '' $ac_executable_extensions; do
+ if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+ ac_cv_path_SYSTEMCTL="$as_dir/$ac_word$ac_exec_ext"
+ $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+ break 2
+ fi
+done
+ done
+IFS=$as_save_IFS
+
+ ;;
+esac
+fi
+SYSTEMCTL=$ac_cv_path_SYSTEMCTL
+if test -n "$SYSTEMCTL"; then
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SYSTEMCTL" >&5
+$as_echo "$SYSTEMCTL" >&6; }
+else
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+
+# Check whether --with-systemdsystemunitdir was given.
+if test "${with_systemdsystemunitdir+set}" = set; then :
+ withval=$with_systemdsystemunitdir;
+else
+ with_systemdsystemunitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)
+fi
+
+if test -n "$with_systemdsystemunitdir" -a "x$with_systemdsystemunitdir" != xno ; then
+ SYSTEMD_UNIT_DIR=$with_systemdsystemunitdir
+
+fi
# Check libraries
echo .
HAVE_LIBINTL_H=
HAVE_LOCALE_H=
+HAVE_SYS_SYSMACROS_H=
+HAVE_SYS_PARAM_H=
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
$as_echo_n "checking for ANSI C header files... " >&6; }
if ${ac_cv_header_stdc+:} false; then :
done
+for ac_header in sys/param.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
+if test "x$ac_cv_header_sys_param_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_SYS_PARAM_H 1
+_ACEOF
+ HAVE_SYS_PARAM_H=1
+fi
+
+done
+
for ac_header in sys/stat.h
do :
ac_fn_c_check_header_mongrel "$LINENO" "sys/stat.h" "ac_cv_header_sys_stat_h" "$ac_includes_default"
done
+for ac_header in sys/sysmacros.h
+do :
+ ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
+if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
+ cat >>confdefs.h <<_ACEOF
+#define HAVE_SYS_SYSMACROS_H 1
+_ACEOF
+ HAVE_SYS_SYSMACROS_H=1
+fi
+
+done
+
echo .
echo Check typedefs, structures and compiler characteristics:
fi
if test $SENSORS != "yes"; then
- HAVE_SENSORS="n"
+ HAVE_SENSORS="n"
else
- HAVE_SENSORS="y"
+ HAVE_SENSORS="y"
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
$as_echo "$SENSORS" >&6; }
# Check for lm_sensors
-SENSORS=no
LFSENSORS=""
DFSENSORS=""
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_get_detected_chips in -lsensors" >&5
+if test $HAVE_SENSORS = "y"; then
+ SENSORS=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors_get_detected_chips in -lsensors" >&5
$as_echo_n "checking for sensors_get_detected_chips in -lsensors... " >&6; }
if ${ac_cv_lib_sensors_sensors_get_detected_chips+:} false; then :
$as_echo_n "(cached) " >&6
HAVE_SENSORS="n"
fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors lib" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sensors lib" >&5
$as_echo_n "checking for sensors lib... " >&6; }
-cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <sensors/sensors.h>
-#include <sensors/error.h>
+ #include <sensors/error.h>
int
main ()
HAVE_SENSORS="n"; SENSORS=no
fi
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SENSORS" >&5
$as_echo "$SENSORS" >&6; }
+fi
+
+
+
+
+# Should we check for PCP support?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCP support" >&5
+$as_echo_n "checking for PCP support... " >&6; }
+# Check whether --enable-pcp was given.
+if test "${enable_pcp+set}" = set; then :
+ enableval=$enable_pcp; PCP=$enableval
+else
+ PCP=yes
+fi
+
+if test $PCP != "yes"; then
+ HAVE_PCP="n"
+else
+ HAVE_PCP="y"
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCP" >&5
+$as_echo "$PCP" >&6; }
+
+# Check for PCP libraries
+LFPCP=""
+DFPCP=""
+if test $HAVE_PCP = "y"; then
+ PCP=no
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pmGetVersion in -lpcp" >&5
+$as_echo_n "checking for pmGetVersion in -lpcp... " >&6; }
+if ${ac_cv_lib_pcp_pmGetVersion+:} false; then :
+ $as_echo_n "(cached) " >&6
+else
+ ac_check_lib_save_LIBS=$LIBS
+LIBS="-lpcp $LIBS"
+cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+
+/* Override any GCC internal prototype to avoid an error.
+ Use char because int might match the return type of a GCC
+ builtin and then its argument prototype would still apply. */
+#ifdef __cplusplus
+extern "C"
+#endif
+char pmGetVersion ();
+int
+main ()
+{
+return pmGetVersion ();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ ac_cv_lib_pcp_pmGetVersion=yes
+else
+ ac_cv_lib_pcp_pmGetVersion=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+LIBS=$ac_check_lib_save_LIBS
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcp_pmGetVersion" >&5
+$as_echo "$ac_cv_lib_pcp_pmGetVersion" >&6; }
+if test "x$ac_cv_lib_pcp_pmGetVersion" = xyes; then :
+ LFPCP="-lpcp -lpcp_import"
+else
+ HAVE_PCP="n"
+fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCP libraries" >&5
+$as_echo_n "checking for PCP libraries... " >&6; }
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <pcp/pmapi.h>
+ #include <pcp/import.h>
+
+int
+main ()
+{
+pmiEnd();
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_compile "$LINENO"; then :
+ PCP=yes; DFPCP="-DHAVE_PCP"
+else
+ HAVE_PCP="n"; PCP=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PCP" >&5
+$as_echo "$PCP" >&6; }
+fi
esac
rm -rf conftest*
fi
+
+
fi
# --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
# --disable-largefile omit support for large files
# --disable-nls disable National Language Support
-# --enable-yesterday tell sa2 to use "yesterday" data files
-# --disable-man-group ignore man_group variable value
+# --disable-file-attr don't set attributes on files being installed
# --enable-install-cron tell sysstat to install cron scripts
# --collect-all tell sadc to collect all possible data
# --enable-clean-sa-dir clean system activity directory
# --enable-compress-manpg compress manual pages
-# --enable-install-isag install isag script
# --enable-debuginfo enable debug output (--debuginfo option)
# --disable-documentation do not install documentation (man pages...)
-# --disable-sensors do not link against libsensors even if available
+# --disable-sensors do not link against libsensors even if available
+# --disable-pcp do not link against PCP libraries even if available
# --disable-stripping do not strip object files
+# --enable-copy-only only copy files when installing sysstat
#
# Some influential environment variables:
-# rcdir directory where startup scripts are installed
+# rcdir directory where startup scripts are installed
# sa_lib_dir sadc, sa1 and sa2 directory
# sa_dir system activity daily datafiles directory
-# conf_dir sysstat configuration directory (default is /etc/sysconfig)
+# conf_dir sysstat configuration directory (default is /etc/sysconfig)
# history number of daily datafiles to keep (default value is 7)
# compressafter number of days after which datafiles are compressed
# man_group group for man pages
# cron_owner crontab owner
# cron_interval crontab sampling interval
+# sadc_options options to be passed to sadc
#
# Fine tuning the installation directories:
# --mandir=DIR man documentation directory [PREFIX/man]
-# --docdir=DIR other documentation directory [PREFIX/share/doc]
+# --docdir=DIR other documentation directory [PREFIX/share/doc]
#
# Installation directories:
# --prefix=PREFIX install architecture-independent files in PREFIX
+if test $HAVE_SYS_SYSMACROS_H; then
+ SYSMACROS="y"
+else
+ SYSMACROS="n"
+fi
+
+
+if test $HAVE_SYS_PARAM_H; then
+ SYSPARAM="y"
+else
+ SYSPARAM="n"
+fi
+
+
# Set sadc directory
if test $prefix != "NONE"; then
AuxPrefix=$prefix
AuxPrefix=/usr/local
fi
-if test -d $AuxPrefix/lib; then
- SADC_DIR=$AuxPrefix/lib
-elif test -d $AuxPrefix/lib64; then
- SADC_DIR=$AuxPrefix/lib64
-else
- SADC_DIR=$AuxPrefix/lib
+SADC_DIR=$AuxPrefix/lib
+if test -d $AuxPrefix/lib64; then
+ # Verify that this OS is really 64 bit
+ BITS=$(getconf LONG_BIT 2>/dev/null)
+ if test $? = 0; then
+ if test $BITS = 64; then
+ SADC_DIR=$AuxPrefix/lib64
+ fi
+ else
+ # Fallback: look for lm (long mode) flag to know if CPU is 64 bit
+ grep " lm " /proc/cpuinfo >/dev/null 2>&1
+ if test $? = 0; then
+ SADC_DIR=$AuxPrefix/lib64
+ fi
+ fi
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking sadc directory" >&5
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_NLS" >&5
$as_echo "$AUX_NLS" >&6; }
-
+LACKING_GETTEXT="n"
if test $AUX_NLS = "yes" && test x$MSGFMT != x"msgfmt"; then
echo "WARNING: msgfmt command not found!"
+ LACKING_GETTEXT="y"
fi
if test $AUX_NLS = "yes" && test x$XGETTEXT != x"xgettext"; then
echo "WARNING: xgettext command not found!"
+ LACKING_GETTEXT="y"
fi
if test $AUX_NLS = "yes" && test x$MSGMERGE != x"msgmerge"; then
echo "WARNING: msgmerge command not found!"
+ LACKING_GETTEXT="y"
fi
-
-# Check whether sa2 should process data file of the day before
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sa2 should process data file of the day before" >&5
-$as_echo_n "checking whether sa2 should process data file of the day before... " >&6; }
-# Check whether --enable-yesterday was given.
-if test "${enable_yesterday+set}" = set; then :
- enableval=$enable_yesterday; AUX_YESTERDAY=$enableval
-else
- AUX_YESTERDAY=no
-fi
-
-if test $AUX_YESTERDAY = "yes"; then
- YESTERDAY="--date=yesterday"
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-else
- YESTERDAY=""
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
+if test $NLS = "y" && test $LACKING_GETTEXT = "y"; then
+ echo "WARNING: Disabling NLS"
+ NLS="n"
fi
# Manual page group
-if `grep ^man: /etc/group >/dev/null 2>&1`; then
+grep ^man: /etc/group >/dev/null 2>&1
+if test $? = 0; then
GRP=man
else
GRP=root
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
$as_echo "$MAN_GROUP" >&6; }
else
- if !(`grep ^$man_group: /etc/group >/dev/null 2>&1`); then
+ grep ^$man_group: /etc/group >/dev/null 2>&1
+ if test $? = 1; then
MAN_GROUP=$GRP
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAN_GROUP" >&5
$as_echo "$MAN_GROUP" >&6; }
fi
-# Ignore manual pages group?
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether man_group variable should be ignored" >&5
-$as_echo_n "checking whether man_group variable should be ignored... " >&6; }
-# Check whether --enable-man-group was given.
-if test "${enable_man_group+set}" = set; then :
- enableval=$enable_man_group; AUX_IMG=$enableval
+# Don't set attributes on files being installed?
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether attributes should not be set on files being installed" >&5
+$as_echo_n "checking whether attributes should not be set on files being installed... " >&6; }
+# Check whether --enable-file-attr was given.
+if test "${enable_file_attr+set}" = set; then :
+ enableval=$enable_file_attr; AUX_IMG=$enableval
else
AUX_IMG=yes
fi
if test $AUX_IMG != "no"; then
- IGNORE_MAN_GROUP=n
+ IGNORE_FILE_ATTRIBUTES=n
AUX_IMG=no
else
- IGNORE_MAN_GROUP=y
+ IGNORE_FILE_ATTRIBUTES=y
AUX_IMG=yes
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_IMG" >&5
$as_echo "$AUX_MPG" >&6; }
-# Check whether isag should be installed
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether isag script should be installed" >&5
-$as_echo_n "checking whether isag script should be installed... " >&6; }
-# Check whether --enable-install-isag was given.
-if test "${enable_install_isag+set}" = set; then :
- enableval=$enable_install_isag; AUX_IIS=$enableval
-else
- AUX_IIS=no
-fi
-
-if test $AUX_IIS != "yes"; then
- INSTALL_ISAG=n
- AUX_IIS=no
-else
- INSTALL_ISAG=y
-fi
-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_IIS" >&5
-$as_echo "$AUX_IIS" >&6; }
-
-
# Check whether sa directory should be cleaned
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system activity directory should be cleaned" >&5
$as_echo_n "checking whether system activity directory should be cleaned... " >&6; }
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
$as_echo "$CRON_OWNER" >&6; }
else
- if !(`grep ^$cron_owner: /etc/passwd >/dev/null 2>&1`); then
+ grep ^$cron_owner: /etc/passwd >/dev/null 2>&1
+ if test $? = 1; then
CRON_OWNER=$CUSR;
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CRON_OWNER" >&5
$as_echo "$CRON_OWNER" >&6; }
REM_CHOWN=$CHOWN
fi
-# Crontab interval
+# Crontab interval
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking crontab interval" >&5
$as_echo_n "checking crontab interval... " >&6; }
CRON_INTERVAL_SEC=`expr ${CRON_INTERVAL} \* 60`
CRON_COUNT=`expr 60 / ${CRON_INTERVAL}`
-# Check whether sadc should collect all possible activities
+# Check whether sadc should collect all possible activities
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether sadc should collect all possible activities" >&5
$as_echo_n "checking whether sadc should collect all possible activities... " >&6; }
# Check whether --enable-collect-all was given.
if test "${enable_collect_all+set}" = set; then :
enableval=$enable_collect_all; COLLECT_ALL=$enableval
else
- COLLECT_ALL=n=n
+ COLLECT_ALL=n
fi
if test $COLLECT_ALL != "yes"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_COLL" >&5
$as_echo "$AUX_COLL" >&6; }
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking options to be passed to sadc" >&5
+$as_echo_n "checking options to be passed to sadc... " >&6; }
+
+ if test x"$sadc_options" != x""; then
+ SADC_OPT="$sadc_options"
+ else
+ SADC_OPT=
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SADC_OPT" >&5
+$as_echo "$SADC_OPT" >&6; }
+
+
+# Check whether files should only be copied
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether files should only be copied" >&5
+$as_echo_n "checking whether files should only be copied... " >&6; }
+ # Check whether --enable-copy-only was given.
+if test "${enable_copy_only+set}" = set; then :
+ enableval=$enable_copy_only; OCOPY=$enableval
+else
+ OCOPY=no
+fi
+
+ if test $OCOPY != "yes"; then
+ COPY_ONLY=n
+ OCOPY=no
+ else
+ COPY_ONLY=y
+ fi
+ { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OCOPY" >&5
+$as_echo "$OCOPY" >&6; }
+
+
else
CRON_OWNER="root"
SU_C_OWNER=""
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_STRIP" >&5
$as_echo "$AUX_STRIP" >&6; }
-# National Language Support
-#AC_MSG_CHECKING(National Language Support)
-#AC_ARG_ENABLE(nls,
-# AC_HELP_STRING([--disable-nls],
-# [disable National Language Support]),
-# AUX_NLS=$enableval,AUX_NLS=yes)
-#if test $AUX_NLS != "no" && test $HAVE_LIBINTL_H && test $HAVE_LOCALE_H; then
-# AUX_NLS="yes"
-# NLS="y"
-#else
-# AUX_NLS="no"
-# NLS="n"
-#fi
-#AC_MSG_RESULT($AUX_NLS)
-#AC_SUBST(NLS)
# Create files
echo .
ac_config_files="$ac_config_files sysstat"
# Permissions must be changed
+ac_config_files="$ac_config_files sysstat.service"
+
+ac_config_files="$ac_config_files cron/sysstat-collect.service"
+
+ac_config_files="$ac_config_files cron/sysstat-collect.timer"
+
+ac_config_files="$ac_config_files cron/sysstat-summary.service"
+
+ac_config_files="$ac_config_files cron/sysstat-summary.timer"
+
ac_config_files="$ac_config_files man/sa1.8:man/sa1.in"
# File must be renamed
ac_config_files="$ac_config_files man/sa2.8:man/sa2.in"
# File must be renamed
ac_config_files="$ac_config_files man/cifsiostat.1:man/cifsiostat.in"
# File must be renamed
-ac_config_files="$ac_config_files man/nfsiostat.1:man/nfsiostat.in"
- # File must be renamed
-ac_config_files="$ac_config_files contrib/isag/isag"
- # Permissions must be changed
+ac_config_files="$ac_config_files tests/variables"
+
ac_config_files="$ac_config_files Makefile"
# ... but there are two gotchas:
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
- # In both cases, we have to default to `cp -p'.
+ # In both cases, we have to default to `cp -pR'.
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
- as_ln_s='cp -p'
+ as_ln_s='cp -pR'
elif ln conf$$.file conf$$ 2>/dev/null; then
as_ln_s=ln
else
- as_ln_s='cp -p'
+ as_ln_s='cp -pR'
fi
else
- as_ln_s='cp -p'
+ as_ln_s='cp -pR'
fi
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
rmdir conf$$.dir 2>/dev/null
as_mkdir_p=false
fi
-if test -x / >/dev/null 2>&1; then
- as_test_x='test -x'
-else
- if ls -dL / >/dev/null 2>&1; then
- as_ls_L_option=L
- else
- as_ls_L_option=
- fi
- as_test_x='
- eval sh -c '\''
- if test -d "$1"; then
- test -d "$1/.";
- else
- case $1 in #(
- -*)set "./$1";;
- esac;
- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
- ???[sx]*):;;*)false;;esac;fi
- '\'' sh
- '
-fi
-as_executable_p=$as_test_x
+
+# as_fn_executable_p FILE
+# -----------------------
+# Test if FILE is an executable regular file.
+as_fn_executable_p ()
+{
+ test -f "$1" && test -x "$1"
+} # as_fn_executable_p
+as_test_x='test -x'
+as_executable_p=as_fn_executable_p
# Sed expression to map a string onto a valid CPP name.
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by sysstat $as_me 10.1.2, which was
-generated by GNU Autoconf 2.68. Invocation command line was
+This file was extended by sysstat $as_me 12.1.7, which was
+generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
CONFIG_HEADERS = $CONFIG_HEADERS
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-sysstat config.status 10.1.2
-configured by $0, generated by GNU Autoconf 2.68,
+sysstat config.status 12.1.7
+configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
-Copyright (C) 2010 Free Software Foundation, Inc.
+Copyright (C) 2012 Free Software Foundation, Inc.
This config.status script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
if \$ac_cs_recheck; then
- set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
+ set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
shift
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
CONFIG_SHELL='$SHELL'
"cron/sysstat.crond") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond" ;;
"cron/sysstat.crond.sample.in") CONFIG_FILES="$CONFIG_FILES cron/sysstat.crond.sample.in:cron/sysstat.crond.in" ;;
"sysstat") CONFIG_FILES="$CONFIG_FILES sysstat" ;;
+ "sysstat.service") CONFIG_FILES="$CONFIG_FILES sysstat.service" ;;
+ "cron/sysstat-collect.service") CONFIG_FILES="$CONFIG_FILES cron/sysstat-collect.service" ;;
+ "cron/sysstat-collect.timer") CONFIG_FILES="$CONFIG_FILES cron/sysstat-collect.timer" ;;
+ "cron/sysstat-summary.service") CONFIG_FILES="$CONFIG_FILES cron/sysstat-summary.service" ;;
+ "cron/sysstat-summary.timer") CONFIG_FILES="$CONFIG_FILES cron/sysstat-summary.timer" ;;
"man/sa1.8") CONFIG_FILES="$CONFIG_FILES man/sa1.8:man/sa1.in" ;;
"man/sa2.8") CONFIG_FILES="$CONFIG_FILES man/sa2.8:man/sa2.in" ;;
"man/sadc.8") CONFIG_FILES="$CONFIG_FILES man/sadc.8:man/sadc.in" ;;
"man/sysstat.5") CONFIG_FILES="$CONFIG_FILES man/sysstat.5:man/sysstat.in" ;;
"man/iostat.1") CONFIG_FILES="$CONFIG_FILES man/iostat.1:man/iostat.in" ;;
"man/cifsiostat.1") CONFIG_FILES="$CONFIG_FILES man/cifsiostat.1:man/cifsiostat.in" ;;
- "man/nfsiostat.1") CONFIG_FILES="$CONFIG_FILES man/nfsiostat.1:man/nfsiostat.in" ;;
- "contrib/isag/isag") CONFIG_FILES="$CONFIG_FILES contrib/isag/isag" ;;
+ "tests/variables") CONFIG_FILES="$CONFIG_FILES tests/variables" ;;
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
"sa2":F) chmod +x sa2 ;;
"cron/sysstat.crond.sample.in":F) sed s/^/#/ cron/sysstat.crond.sample.in > cron/sysstat.crond.sample ;;
"sysstat":F) chmod +x sysstat ;;
- "contrib/isag/isag":F) chmod +x contrib/isag/isag ;;
esac
done # for ac_tag
Installation prefix: $prefix
rc directory: ${RC_DIR}
Init directory: ${INIT_DIR}
+ Systemd unit dir: ${with_systemdsystemunitdir}
Configuration directory: ${SYSCONFIG_DIR}
Man pages directory: $mandir
Compiler: $CC