X-Git-Url: http://git.chise.org/gitweb/?p=m17n%2Fm17n-docs.git;a=blobdiff_plain;f=configure.ac;h=d641bd666bf86e6ef60f1e19ea49d9970778635b;hp=3d8fbeb653637fdce090b4ba37f8980ff7272d6a;hb=ebba62079a63cde91ab515f7ccbbb039531c4ebf;hpb=b1b5a9144228309821c441952005fa5602536330 diff --git a/configure.ac b/configure.ac index 3d8fbeb..d641bd6 100644 --- a/configure.ac +++ b/configure.ac @@ -1,10 +1,11 @@ - # Process this file with autoconf to produce a configure script. -AC_INIT(m17n-docs, 1.0, bugs-m17n-lib@m17n.org) -AM_INIT_AUTOMAKE(m17n-docs, 1.0) +# Process this file with autoconf to produce a configure script. +AC_INIT(m17n-docs, 1.5.2, bugs-m17n-lib@m17n.org) +AM_INIT_AUTOMAKE(m17n-docs, 1.5.2) AM_MAINTAINER_MODE # Checks for programs. +AC_PROG_CC AC_PROG_INSTALL AC_PROG_AWK @@ -12,7 +13,7 @@ if test $USE_MAINTAINER_MODE = yes; then # 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 @@ -29,7 +30,7 @@ AC_SUBST(M17NLIB) # 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 @@ -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.