From b745fbbaa4944d11e6408e60f917d3648f447a7a Mon Sep 17 00:00:00 2001 From: caro Date: Tue, 8 Jun 2010 18:06:56 +0000 Subject: [PATCH] allows ecore to setup and compile even if gettext is not installed git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@49578 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- configure.ac | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index e3ccdda..80ae7d2 100644 --- a/configure.ac +++ b/configure.ac @@ -53,8 +53,13 @@ AC_SUBST(release_info) ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--## -AM_GNU_GETTEXT_VERSION([0.12.1]) -AM_GNU_GETTEXT([external]) +m4_ifdef([AM_GNU_GETTEXT_VERSION], [AM_GNU_GETTEXT_VERSION([0.12.1])]) +m4_ifdef([AM_GNU_GETTEXT], + [ + AM_GNU_GETTEXT([external]) + po_makefile_in=po/Makefile.in + ]) +AC_SUBST(LTLIBINTL) EFL_CHECK_PATH_MAX @@ -1355,7 +1360,7 @@ src/lib/ecore_x/xcb/Makefile src/tests/Makefile README ecore.spec -po/Makefile.in +$po_makefile_in ]) echo -- 2.7.4