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
9c48b8b
..
e1cac72
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-24,9
+24,25
@@
if test "x$M17NLIB" = "x"; then
fi
else :
fi
fi
else :
fi
-
AC_SUBST(M17NLIB)
AC_SUBST(M17NLIB)
+# Checks for the m17n database files.
+AC_ARG_WITH(m17ndb,
+ [ --with-m17n-db=DIR directory of m17n-db source files],
+ M17NDB="$withval")
+
+if test "x$M17NDB" = "x"; then
+ if test -d ../m17n-db; then
+ M17NDB=../m17n-db
+ elif test -d /usr/local/src/m17n-db; then
+ M17NDB=/usr/local/src/m17n-db
+ else
+ M17NDB=.
+ fi
+else :
+fi
+AC_SUBST(M17NDB)
+
AC_CHECK_PROG(HAVEDOXYGEN, doxygen, yes, no)
AC_CHECK_PROG(RUBY, ruby, yes, no)
AC_CHECK_PROG(LATEX, latex, yes, no)
AC_CHECK_PROG(HAVEDOXYGEN, doxygen, yes, no)
AC_CHECK_PROG(RUBY, ruby, yes, no)
AC_CHECK_PROG(LATEX, latex, yes, no)
@@
-61,6
+77,7
@@
AC_OUTPUT
# Print configuration message.
if test $USE_MAINTAINER_MODE = yes; then
AC_MSG_NOTICE([Find documentation source in "$M17NLIB"])
# Print configuration message.
if test $USE_MAINTAINER_MODE = yes; then
AC_MSG_NOTICE([Find documentation source in "$M17NLIB"])
+ AC_MSG_NOTICE([Find m17n database source in "$M17NDB"])
fi
eval dir=${datadir}
fi
eval dir=${datadir}