]> git.saurik.com Git - bison.git/blob - configure.in
Added i18n support.
[bison.git] / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(reduce.c)
3 AM_INIT_AUTOMAKE(bison,1.27)
4 AM_CONFIG_HEADER(config.h:config.hin)
5 AC_PREREQ(2.13)
6
7 ALL_LINGUAS="de es fr nl"
8
9 dnl Checks for programs.
10 AC_PROG_CC
11 AC_MINIX
12 AC_ISC_POSIX
13 AM_PROG_CC_STDC
14 AC_PROG_INSTALL
15 AC_PROG_RANLIB
16
17 dnl Checks for libraries.
18
19 dnl Checks for header files.
20 AC_HEADER_STDC
21 AC_CHECK_HEADERS(ctype.h locale.h memory.h stdlib.h string.h unistd.h)
22
23 dnl Checks for typedefs.
24
25 dnl Checks for structures.
26
27 dnl Checks for compiler characteristics.
28 AC_C_CONST
29 AM_C_PROTOTYPES
30
31 dnl Checks for library functions.
32 AC_FUNC_ALLOCA
33 AC_CHECK_FUNCS(mkstemp setlocale)
34
35 AM_GNU_GETTEXT
36
37 # This is necessary so that .o files in LIBOBJS are also built via
38 # the ANSI2KNR-filtering rules.
39 LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
40
41 PFILE="${datadir}/bison.simple"
42 BISON_DEFINE_FILE(XPFILE, PFILE)
43 PFILE1="${datadir}/bison.hairy"
44 BISON_DEFINE_FILE(XPFILE1, PFILE1)
45
46 AC_OUTPUT(Makefile intl/Makefile po/Makefile.in)