AM_INIT_AUTOMAKE([gnu check-news readme-alpha dist-bzip2 dist-zip -Wall])
+AC_SUBST(DISTDOCDIR,$PACKAGE-$VERSION-doc)
+AC_SUBST(DISTDOCJADIR,$PACKAGE-$VERSION-docja)
+
AC_LANG(C)
# Checks for programs.
AC_ARG_ENABLE(japanese-doc,
AC_HELP_STRING([--enable-japanese-doc],[output japanese documents]),
[ case "${enableval}" in
- yes) jpn_doc=yes;;
- no) jpn_doc=no;;
- *) jpn_doc=no;;
- esac ], [jpn_doc=no])
-AM_CONDITIONAL(JPNDOC, test x$jpn_doc = xyes)
+ yes) enable_jadoc=yes;;
+ no) enable_jadoc=no;;
+ *) enable_jadoc=no;;
+ esac ], [enable_jadoc=no])
+AM_CONDITIONAL(ENABLE_JADOC, test x$enable_jadoc = xyes)
AC_LIBTOOL_WIN32_DLL
AC_LIBTOOL_DLOPEN
AC_REPLACE_FUNCS([strdup])
# Initialize the test suite and build position independent wrappers.
-
AC_CONFIG_FILES([Makefile
src/Makefile
src/ccunit/Makefile