Commit b3dd0223 authored by Dave Reisner's avatar Dave Reisner Committed by Allan McRae
Browse files

meson: drop checks for things we don't use



This was ported over from the AC_CHECK_{FUNCS,HEADERS} lists in
configure.ac, but I never actually checked if the resulting CPP defines
are used. Turns out, lots of symbols, not a lot of define usage.

Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
parent 4e5254db
......@@ -136,38 +136,13 @@ foreach header : [
endforeach
foreach sym : [
'dup2',
'fork',
'getcwd',
'getmntent',
'getmntinfo',
'gettimeofday',
'memmove',
'memset',
'mkdir',
'realpath',
'regcomp',
'rmdir',
'setenv',
'setlocale',
'strcasecmp',
'strchr',
'strcspn',
'strdup',
'strerror',
'strndup',
'strnlen',
'strnlen',
'strrchr',
'strsep',
'strsep',
'strstr',
'strtol',
'swprintf',
'tcflush',
'tcflush',
'uname',
'wcwidth',
]
have = cc.has_function(sym, args : '-D_GNU_SOURCE')
conf.set10('HAVE_' + sym.to_upper(), have)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment