summaryrefslogtreecommitdiff
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
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.
-rw-r--r--config.h.meson.in3
-rw-r--r--meson.build1
2 files changed, 0 insertions, 4 deletions
diff --git a/config.h.meson.in b/config.h.meson.in
index 4aff15f72..befa786a5 100644
--- a/config.h.meson.in
+++ b/config.h.meson.in
@@ -19,9 +19,6 @@
/* libunistring Unicode support library */
#mesondefine HAVE_LIBUNISTRING
-/* Define to 1 if you have the `posix_fadvise' function. */
-#mesondefine HAVE_POSIX_FADVISE
-
/* Define to 1 if you have the `statvfs64' function. */
#mesondefine HAVE_STATVFS64
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')))