dnl Process this file with autoconf to produce a configure script. AC_INIT(src-main/main.c) AM_INIT_AUTOMAKE(anthy, 9100h) AM_CONFIG_HEADER(config.h) AC_ARG_ENABLE(zipcode, [ --disable-zipcode do not install zipcode dictionary], disable_zipcode_dict=yes, disable_zipcode_dict=no) dnl Checks for programs. AC_PROG_CC AC_PROG_CPP AM_PROG_LIBTOOL AM_PATH_LISPDIR AM_PROG_CC_C_O AM_CONDITIONAL(ELISP, test x$lispdir != x) AM_CONDITIONAL(ANTHY_INSTALL_ZIPCODE_DICT, test "$disable_zipcode_dict" = "no") dnl without emacs. install-lispLISP does mkdir /anthy dnl dirty hack to avoid it. test -n "$lispdir" || lispdir="/tmp/" lispdir="$lispdir/anthy" test -z "$GCC" || CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long" AC_OUTPUT(Makefile src-diclib/Makefile src-worddic/Makefile src-splitter/Makefile src-ordering/Makefile src-main/Makefile src-util/Makefile anthy/Makefile depgraph/Makefile mkanthydic/Makefile mkworddic/Makefile mkworddic/dict.args test/Makefile alt-cannadic/Makefile doc/Makefile calctrans/Makefile anthy-conf anthy-test-conf anthy.spec anthy.pc)