From 1b07e4e31537f4814523f2788cb99c131651e06f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= Date: Mon, 11 Nov 2013 17:04:46 +0200 Subject: 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 Reviewed-by: Oswald Buddenhagen Reviewed-by: Mark Brand --- config.tests/unix/posix_fallocate/posix_fallocate.pro | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 config.tests/unix/posix_fallocate/posix_fallocate.pro (limited to 'config.tests/unix/posix_fallocate/posix_fallocate.pro') diff --git a/config.tests/unix/posix_fallocate/posix_fallocate.pro b/config.tests/unix/posix_fallocate/posix_fallocate.pro new file mode 100644 index 0000000000..f01b15f3d7 --- /dev/null +++ b/config.tests/unix/posix_fallocate/posix_fallocate.pro @@ -0,0 +1,2 @@ +SOURCES = posix_fallocate.cpp +CONFIG -= qt dylib -- cgit v1.2.3