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

[meson] Check for header event.h of libev. Refs #287

This commit is contained in:
Witold Filipczyk 2024-03-06 16:52:18 +01:00
parent 0acfd90225
commit b71faa2d07
2 changed files with 7 additions and 0 deletions

View File

@ -373,6 +373,9 @@
/* Define to 1 if you have the `event_get_version' function. */
#mesondefine HAVE_EVENT_GET_VERSION
/* Define to 1 if you have the <event.h> header file. */
#mesondefine HAVE_EVENT_H
/* Define to 1 if you have the <event2/event.h> header file. */
#mesondefine HAVE_EVENT2_EVENT_H

View File

@ -331,6 +331,10 @@ if compiler.has_header('event2/event.h')
conf_data.set('HAVE_EVENT2_EVENT_H', 1)
endif
if compiler.has_header('event.h')
conf_data.set('HAVE_EVENT_H', 1)
endif
if compiler.has_header('alloca.h')
conf_data.set('HAVE_ALLOCA_H', 1)
endif