Move .so file to devel package
[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 AC_ARG_ENABLE(zipcode,
8  [  --disable-zipcode       do not install zipcode dictionary],
9  disable_zipcode_dict=yes,
10  disable_zipcode_dict=no)
11
12 dnl Checks for programs.
13 AC_PROG_CC
14 AC_PROG_CPP
15 AM_PROG_LIBTOOL
16 AM_PATH_LISPDIR
17 AM_PROG_CC_C_O
18
19 AM_CONDITIONAL(ELISP, test x$lispdir != x)
20 AM_CONDITIONAL(ANTHY_INSTALL_ZIPCODE_DICT, test "$disable_zipcode_dict" = "no")
21
22 dnl without emacs. install-lispLISP does mkdir /anthy
23 dnl dirty hack to avoid it.
24 test -n "$lispdir" || lispdir="/tmp/"
25
26 lispdir="$lispdir/anthy"
27
28 test -z "$GCC" || CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long"
29
30 AC_OUTPUT(Makefile
31  src-diclib/Makefile src-worddic/Makefile 
32  src-splitter/Makefile src-ordering/Makefile
33  src-main/Makefile src-util/Makefile
34  anthy/Makefile
35  depgraph/Makefile mkanthydic/Makefile mkworddic/Makefile
36  mkworddic/dict.args test/Makefile
37  alt-cannadic/Makefile
38  doc/Makefile calctrans/Makefile
39  anthy-conf anthy-test-conf anthy.spec anthy.pc)