1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(src-main/main.c)
4 AM_INIT_AUTOMAKE(anthy, 9100h)
5 AM_CONFIG_HEADER(config.h)
8 [ --disable-zipcode do not install zipcode dictionary],
9 disable_zipcode_dict=yes,
10 disable_zipcode_dict=no)
12 dnl Checks for programs.
19 AM_CONDITIONAL(ELISP, test x$lispdir != x)
20 AM_CONDITIONAL(ANTHY_INSTALL_ZIPCODE_DICT, test "$disable_zipcode_dict" = "no")
22 dnl without emacs. install-lispLISP does mkdir /anthy
23 dnl dirty hack to avoid it.
24 test -n "$lispdir" || lispdir="/tmp/"
26 lispdir="$lispdir/anthy"
28 test -z "$GCC" || CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long"
31 src-diclib/Makefile src-worddic/Makefile
32 src-splitter/Makefile src-ordering/Makefile
33 src-main/Makefile src-util/Makefile
35 depgraph/Makefile mkanthydic/Makefile mkworddic/Makefile
36 mkworddic/dict.args test/Makefile
38 doc/Makefile calctrans/Makefile
39 anthy-conf anthy-test-conf anthy.spec anthy.pc)