From 600cc3d509a83488772f21ce499ce577782e6801 Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Tue, 8 Jun 2010 18:06:56 +0000 Subject: [PATCH] allows ecore to setup and compile even if gettext is not installed SVN revision: 49578 --- legacy/ecore/configure.ac | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/legacy/ecore/configure.ac b/legacy/ecore/configure.ac index e3ccdda1e9..80ae7d265b 100644 --- a/legacy/ecore/configure.ac +++ b/legacy/ecore/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