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(HAVEDOXYGEN, doxygen, yes, no)
29 AC_CHECK_PROG(RUBY, ruby, yes, no)
30 AC_CHECK_PROG(LATEX, platex, yes, no)
31 AC_CHECK_PROG(PLATEX, platex, yes, no)
34 if test "$HAVEDOXYGEN" = "no"; then
35 echo "Can't find a program \"doxygen\"!"
38 if test "$RUBY" = "no"; then
39 echo "Can't find a program \"ruby\"!"
42 if test "$LATEX" = "no"; then
43 echo "Can't find a program \"latex\"!"
46 if test "$PLATEX" = "no"; then
47 echo "Can't find a program \"platex\"!"
50 if test "$OK" = "no"; then
54 AC_CONFIG_FILES([Makefile doxyfile])
57 # Print configuration message.
58 echo "-------------------------------------------------------------"
59 echo "Configure to make documentations from the source files under:"
61 echo "-------------------------------------------------------------"