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