Code

use posix_fallocate when initialiying rrd files ... instead of filling them with...
[rrdtool-all.git] / program / configure.ac
index b789a52f48ccf29d8acc5d2112cbbf39433fa88d..7fe70bcdca18331bc5c2b11102c9823ebac5365d 100644 (file)
@@ -281,6 +281,9 @@ AC_CHECK_DECLS(posix_fadvise, [], [], [#define _XOPEN_SOURCE 600
 #include <fcntl.h>])
 AC_CHECK_FUNCS(posix_fadvise)
 
+dnl can we use posix_fallocate
+AC_CHECK_FUNCS(posix_fallocate)
+
 CONFIGURE_PART(Libintl Processing)
 
 AM_GNU_GETTEXT_VERSION(0.17)