Display message if GNU xgettext is not found.
authorjbj <devnull@localhost>
Wed, 24 Nov 1999 16:55:42 +0000 (16:55 +0000)
committerjbj <devnull@localhost>
Wed, 24 Nov 1999 16:55:42 +0000 (16:55 +0000)
CVS patchset: 3434
CVS date: 1999/11/24 16:55:42

popt/configure.in

index 665a277..d0e04ce 100755 (executable)
@@ -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)