=================================================================== RCS file: /home/cvs/OpenXM/src/asir-contrib/packages/doc/configure.in,v retrieving revision 1.3 retrieving revision 1.6 diff -u -p -r1.3 -r1.6 --- OpenXM/src/asir-contrib/packages/doc/configure.in 2009/02/21 22:09:11 1.3 +++ OpenXM/src/asir-contrib/packages/doc/configure.in 2009/02/23 04:26:54 1.6 @@ -1,4 +1,4 @@ -dnl $OpenXM: OpenXM/src/asir-contrib/packages/doc/configure.in,v 1.2 2005/04/14 05:17:56 takayama Exp $ +dnl $OpenXM: OpenXM/src/asir-contrib/packages/doc/configure.in,v 1.5 2009/02/23 03:17:33 ohara Exp $ dnl If you change this file, do not forget to run autoconf and rm .configure_done AC_INIT @@ -10,17 +10,13 @@ AC_SUBST([MAKEINFO]) AC_PATH_PROGS([DVIPDF],[dvipdfmx dvipdfm divpdf]) AC_SUBST([DVIPDF]) AC_PATH_PROG([PTEX],[ptex]) +if ${PTEX} -kanji=euc -version; then + PTEX="${PTEX} -kanji=euc" +fi AC_SUBST([PTEX]) -dnl AC_RUN_IFELSE(AC_LANG_SOURCE([[#include "stdlib.h" -dnl int main(){exit(system("ptex -kanji=euc -version"));}]]), -dnl AC_SUBST([PTEX_OPTS],["-kanji=euc"]), -dnl AC_SUBST([PTEX_OPTS],[""]), -dnl AC_SUBST([PTEX_OPTS],[""]) -dnl ) -dnl rm -f test-ja.dvi test-ja.log OpenXM_ROOT=`cd ../../../..; pwd` -AC_SUBST(OpenXM_ROOT) +AC_SUBST([OpenXM_ROOT]) AC_CONFIG_FILES([Makefile M/Makefile]) AC_OUTPUT