1dnl Process this file with autoconf to produce a configure script. 2AC_INIT([anthy], [0.4]) 3AC_CONFIG_AUX_DIR([build-aux]) 4AC_CONFIG_SRCDIR([src-main/main.c]) 5AM_INIT_AUTOMAKE 6AM_CONFIG_HEADER(config.h) 7AC_CONFIG_MACRO_DIR([m4]) 8 9AM_MAINTAINER_MODE 10 11dnl Checks for programs. 12AC_PROG_CC 13AC_PROG_CPP 14AM_PROG_LIBTOOL 15AM_PATH_LISPDIR 16 17AM_CONDITIONAL(ELISP, test x$lispdir != x) 18 19dnl without emacs. install-lispLISP does mkdir /anthy 20dnl dirty hack to avoid it. 21test -n "$lispdir" || lispdir="/tmp/" 22 23lispdir="$lispdir/anthy" 24 25test -z "$GCC" || CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long" 26 27AC_OUTPUT(Makefile 28 src-diclib/Makefile src-worddic/Makefile 29 src-splitter/Makefile src-ordering/Makefile 30 src-main/Makefile src-util/Makefile 31 anthy/Makefile 32 depgraph/Makefile mkanthydic/Makefile mkworddic/Makefile 33 mkworddic/dict.args test/Makefile 34 alt-cannadic/Makefile 35 doc/Makefile calctrans/Makefile 36 anthy-conf anthy-test-conf anthy.spec anthy.pc) 37