terminology: Fix compile error if gettext & nls are not enabled
Summary: If we do not enable gettext & nls support, then LOCALEDIR is
undefined and thus terminology would not compile. Fix that by only
using LOCALEDIR if they are defined.
Break introduced with ad86a427e7
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
ad86a427e7
commit
9879be313b
|
@ -2972,7 +2972,9 @@ elm_main(int argc, char **argv)
|
|||
elm_app_compile_bin_dir_set(PACKAGE_BIN_DIR);
|
||||
elm_app_compile_lib_dir_set(PACKAGE_LIB_DIR);
|
||||
elm_app_compile_data_dir_set(PACKAGE_DATA_DIR);
|
||||
#if HAVE_GETTEXT && ENABLE_NLS
|
||||
elm_app_compile_locale_set(LOCALEDIR);
|
||||
#endif
|
||||
elm_app_info_set(elm_main, "terminology", "themes/default.edj");
|
||||
|
||||
#if HAVE_GETTEXT && ENABLE_NLS
|
||||
|
|
Loading…
Reference in New Issue