From: handa Date: Wed, 30 Jan 2008 11:21:35 +0000 (+0000) Subject: Check the program msgfmt. X-Git-Tag: REL-1-5-1~3 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50631a1bb8c3bda18e01786283a74ecc81d75ee9;p=m17n%2Fm17n-db.git Check the program msgfmt. --- 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.],