Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7183:6c868e7fe7b2 HEAD
posix_fallocate() needs to be tested with linking, not compiling
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 20 Jan 2008 20:00:41 +0200 |
parents | efc78f6db374 |
children | 7416737df8b8 |
files | configure.in |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Sun Jan 20 14:55:38 2008 +0200 +++ b/configure.in Sun Jan 20 20:00:41 2008 +0200 @@ -597,7 +597,7 @@ ]) dnl * Old glibcs have broken posix_fallocate(). Make sure not to use it. -AC_TRY_COMPILE([ +AC_TRY_LINK([ #define _XOPEN_SOURCE 600 #include <stdlib.h> #if defined(__GLIBC__) && (__GLIBC__ < 2 || __GLIBC_MINOR__ < 7)