~ubuntu-branches/ubuntu/utopic/sysstat/utopic-proposed

« back to all changes in this revision

Viewing changes to configure.in

  • Committer: Package Import Robot
  • Author(s): Robert Luberda
  • Date: 2014-03-16 23:29:52 UTC
  • mfrom: (22.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20140316232952-yyimnj765vm8tjqw
Tags: 10.2.1-1
* New upstream version.
* Add Keywords for isag.desktop (lintian).
* debian/rules:
  + pass new --enable-copy-only config option;
  + built binaries with LFS support (lintian);
  + minor cleanup.
* Add build-dependency on pkg-config used by the configure script.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
# Modified by Sebastien Godard (sysstat <at> orange.fr)
5
5
 
6
6
# Initialization of $PACKAGE_VERSION and $PACKAGE_NAME variables
7
 
AC_INIT(sysstat, 10.2.0)
 
7
AC_INIT(sysstat, 10.2.1)
8
8
 
9
9
# Ensure that a recent enough version of Autoconf is being used
10
10
AC_PREREQ(2.53)
139
139
#  --disable-documentation do not install documentation (man pages...)
140
140
#  --disable-sensors       do not link against libsensors even if available
141
141
#  --disable-stripping     do not strip object files
 
142
#  --enablle-copy-only     only copy files when installing sysstat
142
143
#
143
144
# Some influential environment variables:
144
145
#  rcdir         directory where startup scripts are installed
480
481
   AC_ARG_ENABLE(collect-all, 
481
482
                 AC_HELP_STRING([--enable-collect-all],
482
483
                                [collect all possible activities]),
483
 
                                COLLECT_ALL=$enableval,COLLECT_ALL=n=n)
 
484
                                COLLECT_ALL=$enableval,COLLECT_ALL=n)
484
485
   if test $COLLECT_ALL != "yes"; then
485
486
      COLLECT_ALL=""
486
487
      AUX_COLL=no
490
491
   fi
491
492
   AC_MSG_RESULT($AUX_COLL)
492
493
 
 
494
# Check whether files should only be copied
 
495
   AC_MSG_CHECKING(whether files should only be copied)
 
496
   AC_ARG_ENABLE(copy-only,
 
497
                 AC_HELP_STRING([--enable-copy-only],
 
498
                                [only copy files when installing]),
 
499
                                OCOPY=$enableval,OCOPY=no)
 
500
   if test $OCOPY != "yes"; then
 
501
      COPY_ONLY=n
 
502
      OCOPY=no
 
503
   else
 
504
      COPY_ONLY=y
 
505
   fi
 
506
   AC_MSG_RESULT($OCOPY)
 
507
   AC_SUBST(COPY_ONLY)
 
508
 
493
509
else
494
510
   CRON_OWNER="root"
495
511
   SU_C_OWNER=""