ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=432b05b5755c23e4bcc51ac601dbc4bc62de6cb5

commit 432b05b5755c23e4bcc51ac601dbc4bc62de6cb5
Author: Andy Williams <[email protected]>
Date:   Sun Jan 4 14:07:35 2015 +0000

    Disable NLS by default when cross compiling, remove broken need for libintl
---
 configure.ac             | 6 ++++++
 elm_code/bin/Makefile.am | 2 +-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 7bd54a2..84308dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -71,6 +71,12 @@ fi
 
 AC_SUBST(HAVE_LIBCLANG)
 
+# if cross compiling, disable NLS support.
+# It's not worth the trouble, at least for now.
+if test "${build}" != "${host}" -o "${build}" != "${target}" -o "${host}" != 
"${target}"; then
+  enable_nls=no
+fi
+
 EFL_TESTS([${build_tests}])
 
 # doxygen program for documentation building
diff --git a/elm_code/bin/Makefile.am b/elm_code/bin/Makefile.am
index b204d98..b081d5f 100644
--- a/elm_code/bin/Makefile.am
+++ b/elm_code/bin/Makefile.am
@@ -12,7 +12,7 @@ elm_code_test_SOURCES = \
 elm_code_test_main.c \
 elm_code_test_private.h
 
-elm_code_test_LDADD = @EFL_LIBS@ $(top_builddir)/elm_code/lib/libelm_code.la 
-lintl
+elm_code_test_LDADD = @EFL_LIBS@ $(top_builddir)/elm_code/lib/libelm_code.la
 
 elm_code_test_LDFLAGS = @EFL_LTLIBRARY_FLAGS@
 

-- 


Reply via email to