mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[meson] Check for header event.h of libev. Refs #287
This commit is contained in:
parent
0acfd90225
commit
b71faa2d07
@ -373,6 +373,9 @@
|
|||||||
/* Define to 1 if you have the `event_get_version' function. */
|
/* Define to 1 if you have the `event_get_version' function. */
|
||||||
#mesondefine HAVE_EVENT_GET_VERSION
|
#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. */
|
/* Define to 1 if you have the <event2/event.h> header file. */
|
||||||
#mesondefine HAVE_EVENT2_EVENT_H
|
#mesondefine HAVE_EVENT2_EVENT_H
|
||||||
|
|
||||||
|
@ -331,6 +331,10 @@ if compiler.has_header('event2/event.h')
|
|||||||
conf_data.set('HAVE_EVENT2_EVENT_H', 1)
|
conf_data.set('HAVE_EVENT2_EVENT_H', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if compiler.has_header('event.h')
|
||||||
|
conf_data.set('HAVE_EVENT_H', 1)
|
||||||
|
endif
|
||||||
|
|
||||||
if compiler.has_header('alloca.h')
|
if compiler.has_header('alloca.h')
|
||||||
conf_data.set('HAVE_ALLOCA_H', 1)
|
conf_data.set('HAVE_ALLOCA_H', 1)
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user