mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[meson] ncursesw dependency when built --with-terminfo
This commit is contained in:
parent
8f73247158
commit
4e6d3a0037
@ -204,6 +204,8 @@ conf_data.set10('HAVE_ALLOCA_H', compiler.has_header('alloca.h'))
|
||||
|
||||
conf_data.set('HAVE_STDALIGN_H', compiler.has_header('stdalign.h'))
|
||||
|
||||
conf_data.set('HAVE_TERM_H', compiler.has_header('term.h'))
|
||||
|
||||
deps = []
|
||||
if conf_data.get('CONFIG_GZIP')
|
||||
zdeps = dependency('zlib')
|
||||
@ -331,6 +333,11 @@ else
|
||||
conf_data.set('CONFIG_INTERLINK', false)
|
||||
endif
|
||||
|
||||
if conf_data.get('CONFIG_TERMINFO')
|
||||
terminfodeps = dependency('ncursesw')
|
||||
deps += terminfodeps
|
||||
endif
|
||||
|
||||
#AC_STRUCT_TM
|
||||
#AC_C_CONST
|
||||
#AC_C_INLINE
|
||||
@ -695,7 +702,6 @@ conf_data.set('SIZEOF_OFF_T', compiler.sizeof('off_t'))
|
||||
#CONFIG_GSSAPI', false)
|
||||
#CONFIG_DATA', true)
|
||||
#CONFIG_MOUSE', true)
|
||||
#CONFIG_TERMINFO', false)
|
||||
#CONFIG_SMALL', false)
|
||||
#CONFIG_DEBUG', false)
|
||||
#CONFIG_OWN_LIBC', false)
|
||||
|
@ -18,6 +18,7 @@
|
||||
#endif
|
||||
|
||||
#include "elinks.h"
|
||||
#include "terminfo.h"
|
||||
|
||||
int
|
||||
terminfo_setupterm(char *term, int fildes)
|
||||
|
Loading…
x
Reference in New Issue
Block a user