summaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authorCarlos Garnacho <carlosg@gnome.org>2022-08-28 17:07:06 +0200
committerCarlos Garnacho <carlosg@gnome.org>2022-08-30 16:56:47 +0000
commit5cef28c795d02b78311720f8bb8b32b23cd831eb (patch)
tree038e7ba225180912dca42108aeb546eaf4d2e973 /meson.build
parent5904dbba635dc85d989ef36191bd54465034d2b4 (diff)
downloadtracker-5cef28c795d02b78311720f8bb8b32b23cd831eb.tar.gz
build: Don't look for posix_fadvise
For some reason this fails, but also is unused in this project tree. We can stop asking for its existence.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build1
1 files changed, 0 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 7bac74192..7d74c4079 100644
--- a/meson.build
+++ b/meson.build
@@ -289,7 +289,6 @@ conf.set('HAVE_LIBICU', unicode_library_name == 'icu')
conf.set('HAVE_LIBSTEMMER', have_libstemmer)
conf.set('HAVE_LIBUNISTRING', unicode_library_name == 'unistring')
-conf.set('HAVE_POSIX_FADVISE', cc.has_function('posix_fadvise', prefix : '#include <fcntl.h>'))
conf.set('HAVE_STATVFS64', cc.has_header_symbol('sys/statvfs.h', 'statvfs64', args: '-D_LARGEFILE64_SOURCE'))
conf.set('LOCALEDIR', '"@0@/@1@"'.format(get_option('prefix'), get_option('localedir')))