diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..eb87297 --- /dev/null +++ b/configure.ac @@ -0,0 +1,32 @@ +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) + +dnl Checks for programs. +AC_PROG_CC +AC_PROG_CPP +AM_PROG_LIBTOOL +AM_PATH_LISPDIR + +AM_CONDITIONAL(ELISP, test x$lispdir != x) + +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) |