do not hard code gettext version

Let's see if someone complains. If not, i'll commit that in e too


SVN revision: 71244
This commit is contained in:
Vincent Torri 2012-05-20 07:32:06 +00:00
parent d83b283941
commit 3dd4654cc7
1 changed files with 3 additions and 1 deletions

View 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], [