Enhance preferred fonts for han.
[m17n/m17n-db.git] / configure.ac
index 5438287..0e33a7f 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008
+# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
 #   National Institute of Advanced Industrial Science and Technology (AIST)
 #   Registration Number H15PRO112
 
 # Boston, MA 02110-1301, USA.
 
 # Process this file with autoconf to produce a configure script.
-AC_INIT(m17n-db, 1.5.1, bugs-m17n-lib@m17n.org)
-AM_INIT_AUTOMAKE(m17n-db, 1.5.1)
+AC_INIT(m17n-db, 1.6.1, bugs-m17n-lib@m17n.org)
+AM_INIT_AUTOMAKE(m17n-db, 1.6.1)
 AM_GNU_GETTEXT([external])
 
 # Checks for programs.
 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.],