1 # Process this file with autoconf to produce a configure script.
2 AC_INIT(m17n-docs, 0.9, bugs-m17n-lib@m17n.org)
3 AM_INIT_AUTOMAKE(m17n-docs, 0.9)
10 # Checks for source program files.
12 [ --with-m17n-lib=DIR directory of m17n-lib source files],
15 if test "x$M17NLIB" = "x"; then
16 if test -d ../m17n-lib; then
18 elif test -d /usr/local/src/m17n-lib; then
19 CHARMAPS=/usr/local/src/m17n-lib
28 AC_CHECK_PROG(DOXYGEN, doxygen, yes, no)
29 AC_CHECK_PROG(RUBY, ruby, yes, no)
30 AC_CHECK_PROG(PLATEX, platex, yes, no)
32 AC_CONFIG_FILES([Makefile doxyfile])
35 # Print configuration message.
36 if test "$DOXYGEN" = "no"; then
37 echo "Can't find a program \"doxygen\"!"
40 if test "$RUBY" = "no"; then
41 echo "Can't find a program \"ruby\"!"
44 if test "$PLATEX" = "no"; then
45 echo "Can't find a program \"platex\"!"
49 echo "-------------------------------------------------------------"
50 echo "Configure to make documentations from the source files under:"
52 echo "-------------------------------------------------------------"