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