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