diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-07-22 21:56:25 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2013-07-22 21:56:25 +0300 |
commit | 88126134cd43e8da9ade49d18c757c6a41b777bc (patch) | |
tree | aa4e755c7997c61fcf5ceb69204074e53826b219 /configure.ac | |
parent | 7ca01d78447f87d7b61c26b0e3dba6b91296e471 (diff) | |
download | vmod-tbf-88126134cd43e8da9ade49d18c757c6a41b777bc.tar.gz vmod-tbf-88126134cd43e8da9ade49d18c757c6a41b777bc.tar.bz2 |
Add new functions.
* configure.ac: Check for sys/sysinfo.h, sysinfo and
getloadavg
* src/Makefile.am: Add new sources
* src/getla.c: New file
* src/time.c: New file
* src/vmod_tbf.vcc (getla, systime)
(strftime): New functions.
* tests/Makefile.am: Add new testcase.
* tests/time00.vtc: New testcase.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 6c3d58b..661adc8 100644 --- a/configure.ac +++ b/configure.ac @@ -42,6 +42,10 @@ PKG_PROG_PKG_CONFIG # Checks for header files. AC_HEADER_STDC +AC_CHECK_HEADERS(sys/sysinfo.h) + +# Check for functions +AC_CHECK_FUNCS(sysinfo getloadavg) # Check for python AC_CHECK_PROGS(PYTHON, [python], [ |