-# Copyright (C) 2003, 2004
+# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009
# National Institute of Advanced Industrial Science and Technology (AIST)
# Registration Number H15PRO112
# You should have received a copy of the GNU Lesser General Public
# License along with the m17n library; if not, write to the Free
-# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
-# 02111-1307, USA.
+# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+# Boston, MA 02110-1301, USA.
# Process this file with autoconf to produce a configure script.
-AC_INIT(m17n-db, 1.1.0, bugs-m17n-db@m17n.org)
-AM_INIT_AUTOMAKE(m17n-db, 1.1.0)
+AC_INIT(m17n-db, 1.5.5, bugs-m17n-lib@m17n.org)
+AM_INIT_AUTOMAKE(m17n-db, 1.5.5)
+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.],
else :
fi
+ICONS=`cd icons; echo *.png`
+AC_SUBST(ICONS)
+
+LANGNAME_TABLES=`cd LANGDATA; echo *.lnm`
+AC_SUBST(LANGNAME_TABLES)
-AC_CONFIG_FILES([Makefile mapconv m17n-db])
+AC_CONFIG_FILES([Makefile mapconv m17n-db m17n-db.pc
+ icons/Makefile po/Makefile.in
+ FLT/Makefile MIM/Makefile LANGDATA/Makefile
+ ])
AC_OUTPUT
# Print configuration message.