summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2022-10-16 22:42:50 -0400
committerMatthias Clasen <mclasen@redhat.com>2022-10-16 23:09:19 -0400
commit5786e83a13da81559a7b80b482715e7b9ecceb64 (patch)
treefce4267a66efa4ca2202174b36f265484930ff45
parentfb6c24a7c0f2891a27d15c1da37e275475560ab6 (diff)
downloadpango-5786e83a13da81559a7b80b482715e7b9ecceb64.tar.gz
meson: Drop some unused checks
We are not using these HAVE_FOO defines anymore. So no need to produce them.
-rw-r--r--meson.build27
1 files changed, 0 insertions, 27 deletions
diff --git a/meson.build b/meson.build
index f63ce6cd..d2a201f6 100644
--- a/meson.build
+++ b/meson.build
@@ -181,33 +181,6 @@ if host_machine.system() == 'linux'
common_ldflags += cc.get_supported_link_arguments([ '-Wl,-Bsymbolic', '-Wl,-z,relro', '-Wl,-z,now', ])
endif
-# Functions
-checked_funcs = [
- 'sysconf',
- 'getpagesize',
- 'flockfile',
- 'strtok_r',
-]
-
-foreach f: checked_funcs
- if cc.has_function(f)
- pango_conf.set('HAVE_' + f.underscorify().to_upper(), 1)
- endif
-endforeach
-
-# Headers
-checked_headers = [
- 'unistd.h',
- 'sys/mman.h',
- 'dirent.h',
-]
-
-foreach h: checked_headers
- if cc.has_header(h)
- pango_conf.set('HAVE_' + h.underscorify().to_upper(), 1)
- endif
-endforeach
-
# Use debug/optimization flags to determine whether to enable debug or disable
# cast checks
pango_debug_cflags = []