added PREDICTPERC function
there is one still open question: should we interpolate to get the final value?
Say: if we have 8 values, and we want thd 95th percventile, then
we should actually take the 6.65th 0-based index value (=95/100*(8-1)).
with the current implementation we round, so we return actually the 100th percentile.
what we could also do is:
value=val[floor(idx)]+(idx-floor(idx))*(val[floor(idx)+1]-val[floor(idx)])
(besides some boundry checking for the explicit percentile 100)

this should get decided prior to final merging
added interpolation for percentile
Merge pull request #465 from msperl/master-predictperc

added PREDICTPERC(entil) CDEF function
that file should be called bootstrap it seems
make file locking compiletime configurable
make file locking compiletime configurable
autogen.sh is now bootstrap!
Merge branch 'master' into flock-option
Merge pull request #467 from oetiker/flock-option

Flock option
try to make coveralls work
rrdcreate: support scale suffix for heartbeat/steps/rows

This feature allows this opaque create specification:

  rrdtool create power1.rrd \
    --start 0 --step 1 \
    DS:watts:GAUGE:300:0:24000 \
    RRA:AVERAGE:0.5:1:864000 \
    RRA:AVERAGE:0.5:60:129600 \
    RRA:AVERAGE:0.5:3600:13392 \
    RRA:AVERAGE:0.5:86400:3660

to be expressed with more understandable durations:

  rrdtool create power2.rrd \
    --start 0 --step 1s \
    DS:watts:GAUGE:5m:0:24000 \
    RRA:AVERAGE:0.5:1s:10d \
    RRA:AVERAGE:0.5:1m:90d \
    RRA:AVERAGE:0.5:1h:18M \
    RRA:AVERAGE:0.5:1d:10y

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
rrdcreate: improve scale support

- Fix missed diagnostic for negative values accepted by strtoul.
- Add detailed diagnostics for parsing failures.
- Add diagnostic when duration-based RRA steps (rows) are not multiples of
  PDP interval (RRA span).
- Fix row count when PDP interval not one second.
- Extend documentation to special-function RRA example.
Merge pull request #468 from pabigot/enh-create-with-dur

rrdcreate: support scale suffix for heartbeat/steps/rows
gitignore: ignore files generated by running configure

These can be removed with: git clean -fdx

Doing so will also remove the autotools support files generated by
bootstrap.
gitignore: ignore files generated by running make
cleanup: remove compiler warnings

Eliminate the cause of several diagnostics emitted by gcc 4.6.3 and
4.9.0:

- index, time, tmpfile, optind, and remove are all globally-visible
  symbols that were shadowed by local declarations
- time_t may be a signed type, resulting in a signed/unsigned comparison
  warning from an operation in rrd_xport
- bypass declarations of variables not referenced due to DISABLE_FLOCK
cleanup: fix link target
Merge pull request #471 from pabigot/cleanup-gitignore

Cleanup gitignore
cleanup: fix make distclean in doc

RRD*.pod were in the repository, but were always generated and were
removed by "make distclean", resulting in an unexpected response from
"git status".  Resolve this by removing them from the repository.

Also eliminate the wildcards from CLEANFILES, instead explicitly listing
all derived files.

Also add a couple files to EXTRADIST (PDF documentation and the RRD*.pod
files).

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Merge pull request #472 from pabigot/cleanup-nowarnings

Cleanup nowarnings