===================================================================
RCS file: /home/cvs/OpenXM/src/asir-contrib/packages/doc/configure.in,v
retrieving revision 1.2
retrieving revision 1.7
diff -u -p -r1.2 -r1.7
--- OpenXM/src/asir-contrib/packages/doc/configure.in	2005/04/14 05:17:56	1.2
+++ OpenXM/src/asir-contrib/packages/doc/configure.in	2017/03/30 06:16:36	1.7
@@ -1,9 +1,22 @@
-dnl  $OpenXM: OpenXM/src/asir-contrib/packages/doc/configure.in,v 1.1 2004/07/02 07:48:47 takayama Exp $
+dnl  $OpenXM: OpenXM/src/asir-contrib/packages/doc/configure.in,v 1.6 2009/02/23 04:26:54 ohara Exp $
 dnl  If you change this file, do not forget to run autoconf and rm .configure_done
 
+AC_INIT
+AC_PREREQ(2.61)
+AC_PROG_INSTALL
 
-AC_INIT(README)
-AC_PROG_CC
-AC_PROG_RANLIB
+AC_PATH_PROGS([MAKEINFO],[jmakeinfo makeinfo])
+AC_SUBST([MAKEINFO])
+AC_PATH_PROGS([DVIPDF],[dvipdfmx dvipdfm divpdf])
+AC_SUBST([DVIPDF])
+AC_PATH_PROG([PTEX],[ptex])
+if ${PTEX} -kanji=utf8 -version; then
+   PTEX="${PTEX} -kanji=utf8"
+fi
+AC_SUBST([PTEX])
 
-AC_OUTPUT(Makefile)
+OpenXM_ROOT=`cd ../../../..; pwd`
+AC_SUBST([OpenXM_ROOT])
+
+AC_CONFIG_FILES([Makefile M/Makefile])
+AC_OUTPUT