[pango/matthiasc/for-main: 54/54] meson: Drop some unused checks




commit 5786e83a13da81559a7b80b482715e7b9ecceb64
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Oct 16 22:42:50 2022 -0400

    meson: Drop some unused checks
    
    We are not using these HAVE_FOO defines anymore.
    So no need to produce them.

 meson.build | 27 ---------------------------
 1 file changed, 27 deletions(-)
---
diff --git a/meson.build b/meson.build
index f63ce6cd2..d2a201f60 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 = []


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]