1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-15 23:35:34 +00:00

[meson] More header checks

This commit is contained in:
Witold Filipczyk 2024-04-19 16:47:55 +02:00
parent 7ab0764209
commit 4be6057d95

View File

@ -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