]> granicus.if.org Git - sysstat/blobdiff - configure
A_IRQ: sadf: Update PCP interface for interrupts statistics
[sysstat] / configure
index cae28b4a339b4befb333dbb57b66dfe88983ac65..745b66ac0f0e1123325f065f11ca021f01e406f7 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for sysstat 12.5.2.
+# Generated by GNU Autoconf 2.69 for sysstat 12.5.6.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -577,8 +577,8 @@ MAKEFLAGS=
 # Identity of this package.
 PACKAGE_NAME='sysstat'
 PACKAGE_TARNAME='sysstat'
-PACKAGE_VERSION='12.5.2'
-PACKAGE_STRING='sysstat 12.5.2'
+PACKAGE_VERSION='12.5.6'
+PACKAGE_STRING='sysstat 12.5.6'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -651,6 +651,8 @@ COMPRESSAFTER
 compressafter
 HISTORY
 history
+LTO
+GCC_AR
 NLS
 LFINTL
 SYSCONFIG_FILE
@@ -757,6 +759,7 @@ enable_pcp
 enable_sensors
 enable_largefile
 enable_nls
+enable_lto
 enable_file_attr
 enable_compress_manpg
 enable_clean_sa_dir
@@ -1330,7 +1333,7 @@ if test "$ac_init_help" = "long"; then
   # 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 12.5.2 to adapt to many kinds of systems.
+\`configure' configures sysstat 12.5.6 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1391,7 +1394,7 @@ fi
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of sysstat 12.5.2:";;
+     short | recursive ) echo "Configuration of sysstat 12.5.6:";;
    esac
   cat <<\_ACEOF
 
@@ -1403,6 +1406,7 @@ Optional Features:
   --disable-sensors       disable sensors support
   --disable-largefile     omit support for large files
   --disable-nls           disable National Language Support
+  --enable-lto            enable Link Time Optimization
   --disable-file-attr     do not set attributes on files being installed
   --disable-compress-manpg
                           do not compress sysstat manual pages
@@ -1517,7 +1521,7 @@ fi
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-sysstat configure 12.5.2
+sysstat configure 12.5.6
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1936,7 +1940,7 @@ cat >config.log <<_ACEOF
 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 12.5.2, which was
+It was created by sysstat $as_me 12.5.6, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -5107,6 +5111,7 @@ echo .
 #  --disable-stripping      do not strip object files
 #  --enable-copy-only       only copy files when installing sysstat
 #  --enable-use-crond       use standard cron daemon
+#  --enable-lto                    compile with Link Time Optimizations
 #
 # Some influential environment variables:
 #  rcdir         directory where startup scripts are installed
@@ -5370,6 +5375,66 @@ if test $NLS = "y" && test $LACKING_GETTEXT = "y"; then
 fi
 
 
+# Link Time Optimization
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking Link Time Optimization support" >&5
+$as_echo_n "checking Link Time Optimization support... " >&6; }
+# Check whether --enable-lto was given.
+if test "${enable_lto+set}" = set; then :
+  enableval=$enable_lto; AUX_LTO=$enableval
+else
+  AUX_LTO=no
+fi
+
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AUX_LTO" >&5
+$as_echo "$AUX_LTO" >&6; }
+LTO="n"
+if test $AUX_LTO = "yes"; then
+       # Extract the first word of "gcc-ar", so it can be a program name with args.
+set dummy gcc-ar; 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_GCC_AR+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$GCC_AR"; then
+  ac_cv_prog_GCC_AR="$GCC_AR" # 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_GCC_AR="gcc-ar"
+    $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
+GCC_AR=$ac_cv_prog_GCC_AR
+if test -n "$GCC_AR"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GCC_AR" >&5
+$as_echo "$GCC_AR" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+       if test x$GCC_AR != x"gcc-ar"; then
+               echo "WARNING: gcc-ar command not found! Disabling LTO support"
+               AUX_LTO="no"
+       else
+               LTO="y"
+       fi
+fi
+
+
 # Data history to keep by sa2
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking number of daily data files to keep" >&5
 $as_echo_n "checking number of daily data files to keep... " >&6; }
@@ -6321,7 +6386,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 # 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 12.5.2, which was
+This file was extended by sysstat $as_me 12.5.6, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -6374,7 +6439,7 @@ _ACEOF
 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 12.5.2
+sysstat config.status 12.5.6
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"