*** empty log message ***
[m17n/m17n-contrib.git] / configure.ac
index 4c95934..051f42c 100644 (file)
@@ -1,7 +1,7 @@
 dnl Autoconf script for the m17n-contrib.
 dnl Process this file with autoconf to produce a configure script.
 dnl
-dnl Copyright (C) 2006
+dnl Copyright (C) 2006, 2007, 2008, 2009
 dnl   National Institute of Advanced Industrial Science and Technology (AIST)
 dnl   Registration Number H15PRO112
 dnl
@@ -18,30 +18,35 @@ dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 dnl Lesser General Public License for more details.
 dnl
-dnl  You should have received a copy of the GNU General Public License
-dnl  along with GNU Emacs; see the file COPYING.  If not, write to the
-dnl  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
-dnl  Boston, MA 02110-1301, USA.
+dnl You should have received a copy of the GNU Lesser General Public
+dnl License along with the m17n library; if not, write to the Free
+dnl Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+dnl Boston, MA 02110-1301, USA.
 
-AC_INIT(m17n-contrib, 1.0.0, bugs-m17n-lib@m17n.org)
+AC_INIT(m17n-contrib, 1.1.10, bugs-m17n-lib@m17n.org)
 AM_INIT_AUTOMAKE
+AM_GNU_GETTEXT([external])
 
 # Checks for programs.
 AC_PROG_AWK
 
 AC_CHECK_PROG(HAVE_M17N_DB, m17n-db, yes)
 if test "x$HAVE_M17N_DB" != "xyes"; then
-  AC_MSG_ERROR([Please install the m17n-db at first.
+  AC_MSG_ERROR([Please install m17n-db at first.
 It is available at <http://www.m17n.org/m17n-lib>.])
 fi
 
-M17NDIR=`m17n-db`
+if test "x$prefix" = "xNONE"; then
+  M17NDIR=`m17n-db`
+else
+  M17NDIR='${datadir}/m17n'
+fi
 AC_SUBST(M17NDIR)
 
-INPUT_METHOD=`echo im-indic/*.mim`
+INPUT_METHOD=`echo im/*.mim`
 AC_SUBST(INPUT_METHOD)
-ICONS=`echo im-indic/*.png`
+ICONS=`echo im/*.png`
 AC_SUBST(ICONS)
 
-AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([Makefile po/Makefile.in])
 AC_OUTPUT