summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjbj <devnull@localhost>1999-11-24 16:55:42 +0000
committerjbj <devnull@localhost>1999-11-24 16:55:42 +0000
commit2a423cf9398d597b1320e95e864909e292f9c82f (patch)
treee82e6635f3f3a908ed18cecc0034bd0701c9b793
parent5144525bbc1936f7e0288718a7614ffa1c6ca63b (diff)
downloadrpm-2a423cf9398d597b1320e95e864909e292f9c82f.tar.gz
rpm-2a423cf9398d597b1320e95e864909e292f9c82f.tar.bz2
rpm-2a423cf9398d597b1320e95e864909e292f9c82f.zip
Display message if GNU xgettext is not found.
CVS patchset: 3434 CVS date: 1999/11/24 16:55:42
-rwxr-xr-xpopt/configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/popt/configure.in b/popt/configure.in
index 665a277fd..d0e04ce11 100755
--- a/popt/configure.in
+++ b/popt/configure.in
@@ -59,6 +59,12 @@ else
AC_MSG_RESULT(no)
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)
dnl AC_CHECK_FUNCS(gettext)
dnl AC_CHECK_FUNCS(dgettext)