From 50631a1bb8c3bda18e01786283a74ecc81d75ee9 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 30 Jan 2008 11:21:35 +0000 Subject: [PATCH] Check the program msgfmt. --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.ac b/configure.ac index 5438287..c57b5d5 100644 --- a/configure.ac +++ b/configure.ac @@ -29,6 +29,14 @@ AM_GNU_GETTEXT([external]) AC_PROG_INSTALL AC_PROG_AWK +AC_CHECK_PROG(HAVE_MSGFMT, msgfmt, yes) +if test "x$HAVE_MSGFMT" != "xyes"; then + echo " Please install the program \"msgfmt\" in advance." + echo " It is usually included in the package \"gettext\"." + exit 1; +else : +fi + # Checks for source data files. AC_ARG_WITH(charmaps, [ --with-charmaps=DIR Directory of source files for charset maps.], -- 1.7.10.4