From 9383d024bd42713a077496bde4859b9787b29497 Mon Sep 17 00:00:00 2001 From: caro 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 git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@71244 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- configure.ac | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 61ea782..3466179 100644 --- a/configure.ac +++ b/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], [ -- 2.7.4