mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[meson] Check for header event.h of libev. Refs #287
(cherry picked from commit b71faa2d075a1a4a8b32c573c75edcb6da3d0018)
This commit is contained in:
parent
40c7f69167
commit
da83dedb22
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user