mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[meson] More header checks
This commit is contained in:
parent
7ab0764209
commit
4be6057d95
28
meson.build
28
meson.build
@ -200,6 +200,10 @@ if conf_data.get('CONFIG_ECMASCRIPT')
|
||||
extracppflags += ['-fpermissive', '-Wno-sign-compare']
|
||||
endif
|
||||
|
||||
if compiler.has_header('argz.h')
|
||||
conf_data.set('HAVE_ARGZ_H', 1)
|
||||
endif
|
||||
|
||||
if compiler.has_header('sys/wait.h')
|
||||
conf_data.set('HAVE_SYS_WAIT_H', 1)
|
||||
endif
|
||||
@ -340,14 +344,38 @@ if compiler.has_header('event.h')
|
||||
conf_data.set('HAVE_EVENT_H', 1)
|
||||
endif
|
||||
|
||||
if compiler.has_header('ev-event.h')
|
||||
conf_data.set('HAVE_EV_EVENT_H', 1)
|
||||
endif
|
||||
|
||||
if compiler.has_header('alloca.h')
|
||||
conf_data.set('HAVE_ALLOCA_H', 1)
|
||||
endif
|
||||
|
||||
if compiler.has_header('lauxlib.h')
|
||||
conf_data.set('HAVE_LAUXLIB_H', 1)
|
||||
endif
|
||||
|
||||
if compiler.has_header('machine/console.h')
|
||||
conf_data.set('HAVE_MACHINE_CONSOLE_H', 1)
|
||||
endif
|
||||
|
||||
if compiler.has_header('malloc.h')
|
||||
conf_data.set('HAVE_MALLOC_H', 1)
|
||||
endif
|
||||
|
||||
if compiler.has_header('stdalign.h')
|
||||
conf_data.set('HAVE_STDALIGN_H', 1)
|
||||
endif
|
||||
|
||||
if compiler.has_header('sys/consio.h')
|
||||
conf_data.set('HAVE_SYS_CONSIO_H', 1)
|
||||
endif
|
||||
|
||||
if compiler.has_header('sys/param.h')
|
||||
conf_data.set('HAVE_SYS_PARAM_H', 1)
|
||||
endif
|
||||
|
||||
if compiler.has_header('term.h')
|
||||
conf_data.set('HAVE_TERM_H', 1)
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user