ifndef COMPRESS_MANPG
COMPRESS_MANPG = @COMPRESS_MANPG@
endif
-ifndef INSTALL_ISAG
-INSTALL_ISAG = @INSTALL_ISAG@
-endif
ifndef INSTALL_DOC
INSTALL_DOC = @INSTALL_DOC@
endif
$(INSTALL_DATA) $(MANGRPARG) man/pidstat.1 $(DESTDIR)$(MAN1_DIR)
rm -f $(DESTDIR)$(MAN1_DIR)/cifsiostat.1*
$(INSTALL_DATA) $(MANGRPARG) man/cifsiostat.1 $(DESTDIR)$(MAN1_DIR)
-ifeq ($(INSTALL_ISAG),y)
- $(INSTALL_DATA) $(MANGRPARG) contrib/isag/isag.1 $(DESTDIR)$(MAN1_DIR)
-endif
ifeq ($(COMPRESS_MANPG),y)
$(ZIP) $(DESTDIR)$(MAN8_DIR)/sa1.8
$(ZIP) $(DESTDIR)$(MAN8_DIR)/sa2.8
$(ZIP) $(DESTDIR)$(MAN1_DIR)/mpstat.1
$(ZIP) $(DESTDIR)$(MAN1_DIR)/pidstat.1
$(ZIP) $(DESTDIR)$(MAN1_DIR)/cifsiostat.1
-ifeq ($(INSTALL_ISAG),y)
- $(ZIP) $(DESTDIR)$(MAN1_DIR)/isag.1
-endif
endif
endif
done
endif
-install_base: all sa1 sa2 sysstat.sysconfig install_man install_nls \
- contrib/isag/isag
+install_base: all sa1 sa2 sysstat.sysconfig install_man install_nls
mkdir -p $(DESTDIR)$(SA_LIB_DIR)
mkdir -p $(DESTDIR)$(SA_DIR)
ifeq ($(CLEAN_SA_DIR),y)
$(INSTALL_BIN) mpstat $(DESTDIR)$(BIN_DIR)
$(INSTALL_BIN) pidstat $(DESTDIR)$(BIN_DIR)
$(INSTALL_BIN) cifsiostat $(DESTDIR)$(BIN_DIR)
-ifeq ($(INSTALL_ISAG),y)
- $(INSTALL_BIN) contrib/isag/isag $(DESTDIR)$(BIN_DIR)
-endif
$(INSTALL_DATA) sysstat.ioconf $(DESTDIR)$(SYSCONFIG_DIR)
$(INSTALL_DATA) sysstat.sysconfig $(DESTDIR)$(SYSCONFIG_DIR)/sysstat
ifeq ($(INSTALL_DOC),y)
rm -f $(DESTDIR)$(MAN1_DIR)/mpstat.1*
rm -f $(DESTDIR)$(MAN1_DIR)/pidstat.1*
rm -f $(DESTDIR)$(MAN1_DIR)/cifsiostat.1*
-ifeq ($(INSTALL_ISAG),y)
- rm -f $(DESTDIR)$(MAN1_DIR)/isag.1
-endif
endif
uninstall_nls:
rm -f $(DESTDIR)$(BIN_DIR)/mpstat
rm -f $(DESTDIR)$(BIN_DIR)/pidstat
rm -f $(DESTDIR)$(BIN_DIR)/cifsiostat
-ifeq ($(INSTALL_ISAG),y)
- rm -f $(DESTDIR)$(BIN_DIR)/isag
-endif
-rmdir --ignore-fail-on-non-empty $(DESTDIR)$(SA_LIB_DIR)
-rmdir --ignore-fail-on-non-empty $(DESTDIR)$(SA_DIR)/[0-9]?????
-rmdir --ignore-fail-on-non-empty $(DESTDIR)$(SA_DIR)
rm -f sysstat.sysconfig cron/sysstat.crond cron/sysstat.cron.daily sysstat.service
rm -f cron/sysstat-collect.service cron/sysstat-collect.timer cron/sysstat-summary.service cron/sysstat-summary.timer
rm -f cron/sysstat.cron.hourly cron/sysstat.crond.sample cron/sysstat.crond.sample.in
- rm -f contrib/isag/isag
rm -f man/sa1.8 man/sa2.8 man/sadc.8 man/sadf.1 man/sar.1 man/iostat.1 man/sysstat.5
rm -f man/cifsiostat.1
rm -f *.log config.status
+++ /dev/null
-
-Answer y if you want to install the isag command.
-isag, the Interactive System Activity Grapher, is a graphical frontend
-to sar. It graphically displays the system activity data stored
-in a binary data file by a previous sar run.
-Although included in the sysstat package (in the contrib directory), isag is
-not necessarily kept in sync with sar. That's why it is not installed by default.
-
cron_owner
INSTALL_CRON
CLEAN_SA_DIR
-INSTALL_ISAG
COMPRESS_MANPG
IGNORE_FILE_ATTRIBUTES
MAN_GROUP
enable_nls
enable_file_attr
enable_compress_manpg
-enable_install_isag
enable_clean_sa_dir
enable_install_cron
enable_collect_all
--disable-nls disable National Language Support
--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
# --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
$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; }
# 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 contrib/isag/isag"
- # Permissions must be changed
ac_config_files="$ac_config_files Makefile"
"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" ;;
- "contrib/isag/isag") CONFIG_FILES="$CONFIG_FILES contrib/isag/isag" ;;
"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
# --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
AC_MSG_RESULT($AUX_MPG)
AC_SUBST(COMPRESS_MANPG)
-# Check whether isag should be installed
-AC_MSG_CHECKING(whether isag script should be installed)
-AC_ARG_ENABLE(install-isag,
- AC_HELP_STRING([--enable-install-isag],
- [install isag script]),
- AUX_IIS=$enableval,AUX_IIS=no)
-if test $AUX_IIS != "yes"; then
- INSTALL_ISAG=n
- AUX_IIS=no
-else
- INSTALL_ISAG=y
-fi
-AC_MSG_RESULT($AUX_IIS)
-AC_SUBST(INSTALL_ISAG)
-
# Check whether sa directory should be cleaned
AC_MSG_CHECKING(whether system activity directory should be cleaned)
AC_ARG_ENABLE(clean-sa-dir,
AC_CONFIG_FILES([man/sysstat.5:man/sysstat.in]) # File must be renamed
AC_CONFIG_FILES([man/iostat.1:man/iostat.in]) # File must be renamed
AC_CONFIG_FILES([man/cifsiostat.1:man/cifsiostat.in]) # File must be renamed
-AC_CONFIG_FILES([contrib/isag/isag], [chmod +x contrib/isag/isag]) # Permissions must be changed
AC_OUTPUT(Makefile)
echo "Parameter --enable-debuginfo is NOT set"
fi
-# Install isag script
-INSTALL_ISAG=`${ASK} 'Install isag script? (y/n)' "--enable-install-isag" "install-isag"`
-if [ "${INSTALL_ISAG}" = "y" ]; then
- INSTALL_ISAG="--enable-install-isag "
-else
- INSTALL_ISAG=""
- echo "Parameter --enable-install-isag is NOT set"
-fi
-
# Strip object files
STRIP=`${ASK} 'Do not strip object files? (y/n)' "--disable-stripping" "stripping"`
if [ "${STRIP}" = "y" ]; then
then
echo -n "sadc_options=\"${SADC_OPT}\""
fi
-echo "${COMPRESSMANPG}${INSTALL_DOC}${DEBUGINFO}${INSTALL_ISAG}${SENSORS}${STRIP}${COPY_ONLY}"
+echo "${COMPRESSMANPG}${INSTALL_DOC}${DEBUGINFO}${SENSORS}${STRIP}${COPY_ONLY}"
echo
./configure ${PREFIX}${SA_LIB_DIR}${SA_DIR}${SYSCONFIG_DIR}${CLEAN_SA_DIR}${NLS} \
${HISTORY}${COMPRESSAFTER}${PREALLOC_ANSWER}${MAN}${IGNORE_FILE_ATTR}${CRON}${RCDIR} \
-sadc_options="${SADC_OPT}" ${COMPRESSMANPG}${INSTALL_DOC}${DEBUGINFO}${INSTALL_ISAG}${SENSORS} \
+sadc_options="${SADC_OPT}" ${COMPRESSMANPG}${INSTALL_DOC}${DEBUGINFO}${SENSORS} \
${STRIP}${COPY_ONLY}