Applied fPIE, pie compier option
[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 AM_PROG_CC_C_O
13
14 AM_CONDITIONAL(ELISP, test x$lispdir != x)
15
16 dnl without emacs. install-lispLISP does mkdir /anthy
17 dnl dirty hack to avoid it.
18 test -n "$lispdir" || lispdir="/tmp/"
19
20 lispdir="$lispdir/anthy"
21
22 test -z "$GCC" || CFLAGS="$CFLAGS -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long"
23
24 AC_OUTPUT(Makefile
25  src-diclib/Makefile src-worddic/Makefile 
26  src-splitter/Makefile src-ordering/Makefile
27  src-main/Makefile src-util/Makefile
28  anthy/Makefile
29  depgraph/Makefile mkanthydic/Makefile mkworddic/Makefile
30  mkworddic/dict.args test/Makefile
31  alt-cannadic/Makefile
32  doc/Makefile calctrans/Makefile
33  anthy-conf anthy-test-conf anthy.spec anthy.pc)