projects
/
m17n
/
m17n-docs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[m17n/m17n-docs.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
88e5a85
..
8a2a129
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-25,27
+25,36
@@
fi
AC_SUBST(M17NLIB)
AC_SUBST(M17NLIB)
-AC_CHECK_PROG(DOXYGEN, doxygen, yes, no)
+AC_CHECK_PROG(HAVEDOXYGEN, doxygen, yes, no)
AC_CHECK_PROG(RUBY, ruby, yes, no)
AC_CHECK_PROG(RUBY, ruby, yes, no)
+AC_CHECK_PROG(LATEX, latex, yes, no)
AC_CHECK_PROG(PLATEX, platex, yes, no)
AC_CHECK_PROG(PLATEX, platex, yes, no)
-AC_CONFIG_FILES([Makefile doxyfile])
-AC_OUTPUT
-
-# Print configuration message.
-if test "$DOXYGEN" = "no"; then
+OK=yes
+if test "$HAVEDOXYGEN" = "no"; then
echo "Can't find a program \"doxygen\"!"
echo "Can't find a program \"doxygen\"!"
- exit 1
+ OK=no
fi
if test "$RUBY" = "no"; then
echo "Can't find a program \"ruby\"!"
fi
if test "$RUBY" = "no"; then
echo "Can't find a program \"ruby\"!"
- exit 1
+ OK=no
+fi
+if test "$LATEX" = "no"; then
+ echo "Can't find a program \"latex\"!"
+ OK=no
fi
if test "$PLATEX" = "no"; then
echo "Can't find a program \"platex\"!"
fi
if test "$PLATEX" = "no"; then
echo "Can't find a program \"platex\"!"
+ OK=no
+fi
+if test "$OK" = "no"; then
exit 1
fi
exit 1
fi
+AC_CONFIG_FILES([Makefile doxyfile])
+AC_OUTPUT
+
+# Print configuration message.
echo "-------------------------------------------------------------"
echo "Configure to make documentations from the source files under:"
echo " $M17NLIB/src/"
echo "-------------------------------------------------------------"
echo "Configure to make documentations from the source files under:"
echo " $M17NLIB/src/"