Detect posix_fallocate at configure time
authorFatih Aşıcı <fatih.asici@gmail.com>
Mon, 11 Nov 2013 15:04:46 +0000 (17:04 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sun, 1 Dec 2013 13:46:48 +0000 (14:46 +0100)
commit1b07e4e31537f4814523f2788cb99c131651e06f
treee7488785e943b27f64878756023e36b0d6676f6a
parent2e7a90bac15ab486475884600bd55d8a04da35a0
Detect posix_fallocate at configure time

Testing feature macros is not enough for uclibc. Fixes build of the built-in
sqlite3 with uclibc <= 0.9.33.2. Later versions will have posix_fallocate().

Change-Id: I918a52777ac63624635802221effc6b86fa2269c
Reviewed-by: Konstantin Ritt <ritt.ks@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Mark Brand <mabrand@mabrand.nl>
config.tests/unix/posix_fallocate/posix_fallocate.cpp [new file with mode: 0644]
config.tests/unix/posix_fallocate/posix_fallocate.pro [new file with mode: 0644]
configure
src/3rdparty/sqlite.pri