From e7b19fa0c3ff57b14508e3b89c585706e08adfff Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Wed, 31 Jul 2019 16:29:07 +0900 Subject: [PATCH] Revert "Revert "meson: Enable dlog logging system only if dlog library available"" This reverts commit 4b134a0d878fe54953bc73253bfef3c22113a1b3. Change-Id: Ia56df95a7a5d2c89c4ecd23ab5e4c739d6882409 --- src/lib/eina/meson.build | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build index 6f77c16..a1b4383 100644 --- a/src/lib/eina/meson.build +++ b/src/lib/eina/meson.build @@ -316,9 +316,6 @@ if cc.has_header('dirent.h') endif eina_config.set('EINA_ENABLE_LOG', '1') -#TIZEN_ONLY(20190702): support tizen dlog logging system -config_h.set('HAVE_DLOG', 1) -# if cc.has_header_symbol('alloca.h', 'alloca') eina_config.set('EINA_HAVE_ALLOCA_H', '1') @@ -366,7 +363,11 @@ endif execinfo = cc.find_library('execinfo', required: false) -dlog = dependency('dlog') +#TIZEN_ONLY(20190724): support tizen dlog logging system +dlog = dependency('dlog', required:false) +if (dlog.found()) + config_h.set('HAVE_DLOG', 1) +endif eina_lib = library('eina', sources, include_directories : config_dir, -- 2.7.4