Display message if GNU xgettext is not found.

CVS patchset: 3434
CVS date: 1999/11/24 16:55:42
This commit is contained in:
jbj 1999-11-24 16:55:42 +00:00
parent 5144525bbc
commit 2a423cf939
1 changed files with 6 additions and 0 deletions

View File

@ -59,6 +59,12 @@ else
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
fi fi
AC_MSG_CHECKING(for GNU xgettext)
xgettext --version 2>&1 | grep 'GNU gettext' >/dev/null 2>&1 || AC_MSG_ERROR([
*** GNU gettext is required. The latest version
*** is always available from ftp://ftp.gnu.org/gnu/gettext/.])
AC_MSG_RESULT(yes)
AC_CHECK_FUNCS(strerror mtrace) AC_CHECK_FUNCS(strerror mtrace)
dnl AC_CHECK_FUNCS(gettext) dnl AC_CHECK_FUNCS(gettext)
dnl AC_CHECK_FUNCS(dgettext) dnl AC_CHECK_FUNCS(dgettext)