X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=configure.ac;h=0e33a7f2d3648af7bed049e5ea17979f277eeca0;hb=6809d252625db157971fb78c567f15732801d323;hp=c4e74f3401f3493ff376ee537fa980e0bd54880a;hpb=5e693730bd994ce3c9a038dfe8472a734065287c;p=m17n%2Fm17n-db.git diff --git a/configure.ac b/configure.ac index c4e74f3..0e33a7f 100644 --- a/configure.ac +++ b/configure.ac @@ -1,4 +1,4 @@ -# Copyright (C) 2003, 2004, 2005 +# Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 # National Institute of Advanced Industrial Science and Technology (AIST) # Registration Number H15PRO112 @@ -17,17 +17,26 @@ # 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.3.0, bugs-m17n-db@m17n.org) -AM_INIT_AUTOMAKE(m17n-db, 1.3.0) +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.], @@ -61,11 +70,16 @@ if test "x$CHARMAPS" != "x"; then else : fi - ICONS=`cd icons; echo *.png` AC_SUBST(ICONS) -AC_CONFIG_FILES([Makefile mapconv m17n-db icons/Makefile]) +LANGNAME_TABLES=`cd LANGDATA; echo *.lnm` +AC_SUBST(LANGNAME_TABLES) + +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.