From 3dd4654cc7c69d863ae611993f604c46a05beffd Mon Sep 17 00:00:00 2001 From: Vincent Torri Date: Sun, 20 May 2012 07:32:06 +0000 Subject: [PATCH] do not hard code gettext version Let's see if someone complains. If not, i'll commit that in e too SVN revision: 71244 --- legacy/ecore/configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/legacy/ecore/configure.ac b/legacy/ecore/configure.ac index 61ea782d53..3466179d94 100644 --- a/legacy/ecore/configure.ac +++ b/legacy/ecore/configure.ac @@ -58,8 +58,10 @@ AC_SUBST(release_info) VMAJ=v_maj AC_SUBST(VMAJ) +m4_define([gettext_version], [m4_esyscmd([gettext --version | grep -Eo '[0-9]*\.[0-9]*\.[0-9]*'])]) + m4_ifdef([AM_GNU_GETTEXT_VERSION], [ -AM_GNU_GETTEXT_VERSION([0.17]) +AM_GNU_GETTEXT_VERSION([gettext_version]) ]) m4_ifdef([AM_GNU_GETTEXT], [