[tracker/wip/carlosg/compiler-warnings: 2517/2517] build: Don't look for posix_fadvise
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/wip/carlosg/compiler-warnings: 2517/2517] build: Don't look for posix_fadvise
- Date: Sun, 28 Aug 2022 21:27:55 +0000 (UTC)
commit 7c922713793d39a87e287cfd77f2b855520b9fbd
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Aug 28 17:07:06 2022 +0200
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.
config.h.meson.in | 3 ---
meson.build | 1 -
2 files changed, 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 ee34eefe2..ee52072d4 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')))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]