version 1.1, 2004/07/02 07:48:47 |
version 1.5, 2009/02/23 03:17:33 |
|
|
dnl $OpenXM$ |
dnl $OpenXM: OpenXM/src/asir-contrib/packages/doc/configure.in,v 1.4 2009/02/22 06:51:12 ohara Exp $ |
dnl If you change this file, do not forget to run autoconf and rm .configure_done |
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(intro.oxweave) |
AC_PATH_PROGS([MAKEINFO],[jmakeinfo makeinfo]) |
AC_PROG_CC |
AC_SUBST([MAKEINFO]) |
AC_PROG_RANLIB |
AC_PATH_PROGS([DVIPDF],[dvipdfmx dvipdfm divpdf]) |
|
AC_SUBST([DVIPDF]) |
|
AC_PATH_PROG([PTEX],[ptex]) |
|
AC_SUBST([PTEX]) |
|
AC_RUN_IFELSE(AC_LANG_SOURCE([[#include "stdlib.h" |
|
int main(){exit(system("ptex -kanji=euc M/test-ja.tex"));}]]), |
|
[PTEXFLAGS="-kanji=euc"],[],[]) |
|
AC_SUBST([PTEXFLAGS]) |
|
rm -f test-ja.dvi test-ja.log |
|
|
AC_OUTPUT(Makefile) |
OpenXM_ROOT=`cd ../../../..; pwd` |
|
AC_SUBST([OpenXM_ROOT]) |
|
|
|
AC_CONFIG_FILES([Makefile M/Makefile]) |
|
AC_OUTPUT |