From 6a6676ae6237a5e41d2a7ca982e64718c57326fd Mon Sep 17 00:00:00 2001 From: Wonki Kim Date: Thu, 10 Jan 2019 12:13:21 +0000 Subject: [PATCH] meson: define HAVE_TSLIB once tslib option is set Nowhere refers to the tslib option This patch provides a way to set HAVE_TSLIB Differential Revision: https://phab.enlightenment.org/D7582 Change-Id: I947370a024781891d1359c10177d48e922f0b68c Signed-off-by: Wonki Kim --- meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 5299ad2..0e2a50c 100644 --- a/meson.build +++ b/meson.build @@ -228,6 +228,10 @@ config_h.set_quoted('MOD_SUFFIX', '.'+sys_mod_extension) config_h.set_quoted('EXE_SUFFIX', '.'+sys_exe_extension) config_h.set('EFL_BUILD', '1') +if get_option('tslib') == true + config_h.set('HAVE_TSLIB', '1') +endif + subdir('header_checks') subdir('po') -- 2.7.4