do not hard code gettext version
authorcaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 20 May 2012 07:32:06 +0000 (07:32 +0000)
committercaro <caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 20 May 2012 07:32:06 +0000 (07:32 +0000)
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

index 61ea782..3466179 100644 (file)
@@ -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], [