*** empty log message ***
[m17n/m17n-docs.git] / configure.ac
index fb37ae6..6c68e62 100644 (file)
@@ -1,10 +1,11 @@
 # Process this file with autoconf to produce a configure script.
-AC_INIT(m17n-docs, 0.9, bugs-m17n-lib@m17n.org)
-AM_INIT_AUTOMAKE(m17n-docs, 0.9)
+AC_INIT(m17n-docs, 1.3.4, bugs-m17n-lib@m17n.org)
+AM_INIT_AUTOMAKE(m17n-docs, 1.3.4)
 
 AM_MAINTAINER_MODE
 
 # Checks for programs.
+AC_PROG_CC
 AC_PROG_INSTALL
 AC_PROG_AWK
 
@@ -44,6 +45,10 @@ else :
 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)
@@ -72,7 +77,7 @@ fi
 
 fi
 
-AC_CONFIG_FILES(Makefile)
+AC_CONFIG_FILES([Makefile utils/Makefile])
 AC_OUTPUT
 
 # Print configuration message.
@@ -85,8 +90,8 @@ eval dir=${datadir}
 AC_MSG_NOTICE([-------------------------------------------])
 AC_MSG_NOTICE([Install documentations in these directories])
 AC_MSG_NOTICE([-------------------------------------------])
-AC_MSG_NOTICE([  m17n-lib.dvi:  ${dir}/m17n-lib])
-AC_MSG_NOTICE([  m17n-lib.ps:   ${dir}/m17n-lib])
-AC_MSG_NOTICE([  html files:    ${dir}/m17n-lib/html])
+AC_MSG_NOTICE([  m17n-lib.dvi:  ${dir}/m17n/docs])
+AC_MSG_NOTICE([  m17n-lib.ps:   ${dir}/m17n/docs])
+AC_MSG_NOTICE([  html files:    ${dir}/m17n/docs/html])
 eval dir=${mandir}
 AC_MSG_NOTICE([  man files:     ${dir}])