# Process this file with autoconf to produce a configure script.
-AC_INIT(m17n-docs, 1.1, bugs-m17n-lib@m17n.org)
-AM_INIT_AUTOMAKE(m17n-docs, 1.1)
+AC_INIT(m17n-docs, 1.6.2, bugs-m17n-lib@m17n.org)
+AM_INIT_AUTOMAKE([-Wno-portability])
AM_MAINTAINER_MODE
# Checks for programs.
+AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_AWK
# Checks for source program files.
AC_ARG_WITH(m17nlib,
- [ --with-m17n-lib=DIR directory of m17n-lib source files],
+ [ --with-m17nlib=DIR directory of m17n-lib source files],
M17NLIB="$withval")
if test "x$M17NLIB" = "x"; then
# Checks for the m17n database files.
AC_ARG_WITH(m17ndb,
- [ --with-m17n-db=DIR directory of m17n-db source files],
+ [ --with-m17ndb=DIR directory of m17n-db source files],
M17NDB="$withval")
if test "x$M17NDB" = "x"; then
fi
AC_SUBST(M17NDB)
+PKG_CHECK_MODULES(M17N, m17n-shell)
+AC_SUBST(M17N_CFLAGS)
+AC_SUBST(M17N_LIBS)
+
AC_CHECK_PROG(HAVEDOXYGEN, doxygen, yes, no)
AC_CHECK_PROG(RUBY, ruby, yes, no)
AC_CHECK_PROG(LATEX, latex, yes, no)
fi
-AC_CONFIG_FILES(Makefile)
+AC_CONFIG_FILES([Makefile utils/Makefile])
AC_OUTPUT
# Print configuration message.
AC_MSG_NOTICE([-------------------------------------------])
AC_MSG_NOTICE([Install documentations in these directories])
AC_MSG_NOTICE([-------------------------------------------])
-AC_MSG_NOTICE([ m17n-lib.dvi: ${dir}/m17n/docs])
-AC_MSG_NOTICE([ m17n-lib.ps: ${dir}/m17n/docs])
+AC_MSG_NOTICE([ m17n-lib.pdf: ${dir}/m17n/docs])
AC_MSG_NOTICE([ html files: ${dir}/m17n/docs/html])
eval dir=${mandir}
AC_MSG_NOTICE([ man files: ${dir}])