[BACK]Return to configure.in CVS log [TXT][DIR] Up to [local] / OpenXM / src / asir-contrib / packages / doc / M

Annotation of OpenXM/src/asir-contrib/packages/doc/M/configure.in, Revision 1.1

1.1     ! takayama    1: dnl  $OpenXM$
        !             2: dnl  If you change this file, do not forget to run autoconf and rm .configure_done
        !             3:
        !             4:
        !             5: AC_INIT(Makefile.in)
        !             6: AC_PROG_CC
        !             7:
        !             8: AC_TRY_RUN([#include "stdlib.h"
        !             9:             main() {
        !            10:               int r;
        !            11:               r=system("ptex -kanji=euc -version");
        !            12:               printf("ptex status=%d\n",r);
        !            13:               if (r == 0) exit(0); else exit(-1);
        !            14:            }],
        !            15:  AC_SUBST(PTEX,["ptex -kanji=euc"]),
        !            16:  AC_SUBST(PTEX,["ptex"]),
        !            17:  AC_SUBST(PTEX,["ptex"])
        !            18: )
        !            19:
        !            20: AC_TRY_RUN([#include "stdlib.h"
        !            21:             main() {
        !            22:               int r;
        !            23:               r=system("ptex test-ja");
        !            24:               r=system("dvipdfm test-ja");
        !            25:               printf("dvipdfm status=%d\n",r);
        !            26:               if (r == 0) exit(0); else exit(-1);
        !            27:            }],
        !            28:  AC_SUBST(DVIPDF,["dvipdfm"]),
        !            29:  AC_SUBST(DVIPDF,["dvipdfmx"]),
        !            30:  AC_SUBST(DVIPDF,["dvipdfm"])
        !            31: )
        !            32:
        !            33: AC_OUTPUT(Makefile)
        !            34:
        !            35: make configure

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>