X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=meson.build;h=a8650c12c47da53a2a0ce860258bfb0a488bd8d5;hb=7654799e4bca986361dcd93fe9e275e046966a68;hp=7317317e1fc1a62267387bc8b4407370475cb1e4;hpb=81db8c9a7280c4af7d1d567ae8a058c2a8f310d0;p=platform%2Fupstream%2Flibxkbcommon.git diff --git a/meson.build b/meson.build index 7317317..a8650c1 100644 --- a/meson.build +++ b/meson.build @@ -246,12 +246,6 @@ elif cc.get_argument_syntax() == 'msvc' libxkbcommon_link_args += '/DEF:' + libxkbcommon_def.full_path() endif -## For tizen profile ## -tizen_profile = get_option('tizen-profile') -if tizen_profile == 'common' - libxkbcommon_link_args += '-D_F_TIZEN_COMMON_PROFILE_' -endif - libxkbcommon = library( 'xkbcommon', 'include/xkbcommon/xkbcommon.h', @@ -422,7 +416,12 @@ endif man_pages = [] # Tools +if get_option('enable-tools') build_tools = get_option('enable-tools') and cc.has_header_symbol('getopt.h', 'getopt_long', prefix: '#define _GNU_SOURCE') +else +build_tools = false +endif + if build_tools # Common resources libxkbcommon_tools_internal_sources = [