meson: define HAVE_TSLIB once tslib option is set 14/197414/1
authorWonki Kim <wonki_.kim@samsung.com>
Thu, 10 Jan 2019 12:13:21 +0000 (12:13 +0000)
committerWonki Kim <wonki_.kim@samsung.com>
Fri, 11 Jan 2019 05:18:42 +0000 (14:18 +0900)
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 <wonki_.kim@samsung.com>
meson.build

index 5299ad2..0e2a50c 100644 (file)
@@ -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')