]>
Commit | Line | Data |
---|---|---|
7c4399ed | 1 | dnl Process this file with autoconf to produce a configure script. |
8c44d3ec | 2 | AC_PREREQ(2.13) |
3114db31 | 3 | AC_INIT(src/reduce.c) |
8c44d3ec | 4 | AM_INIT_AUTOMAKE(bison, 1.28a) |
ab137502 | 5 | AM_CONFIG_HEADER(config.h:config.hin) |
8c44d3ec AD |
6 | AC_DEFINE_UNQUOTED(VERSION_STRING, "GNU Bison version ${VERSION}", |
7 | [The version string.]) | |
f2939cd6 | 8 | |
bb99b87e | 9 | ALL_LINGUAS="de es fr nl ru" |
bbcb769c | 10 | |
f2939cd6 | 11 | dnl Checks for programs. |
7c4399ed | 12 | AC_PROG_CC |
d2729d44 JT |
13 | AC_MINIX |
14 | AC_ISC_POSIX | |
15 | AM_PROG_CC_STDC | |
7c4399ed | 16 | AC_PROG_INSTALL |
ab137502 | 17 | AC_PROG_RANLIB |
f2939cd6 | 18 | |
d2729d44 | 19 | dnl Checks for libraries. |
f2939cd6 DM |
20 | |
21 | dnl Checks for header files. | |
22 | AC_HEADER_STDC | |
d2729d44 JT |
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. | |
f2939cd6 | 28 | |
d2729d44 | 29 | dnl Checks for compiler characteristics. |
f2939cd6 | 30 | AC_C_CONST |
d2729d44 | 31 | AM_C_PROTOTYPES |
f2939cd6 DM |
32 | |
33 | dnl Checks for library functions. | |
34 | AC_FUNC_ALLOCA | |
8d57fff0 | 35 | AC_CHECK_FUNCS(mkstemp setlocale) |
f9b730cd | 36 | BISON_NEED_DECLARATIONS(calloc realloc) |
f2939cd6 | 37 | |
bbcb769c JT |
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 | ||
8c44d3ec AD |
44 | AC_OUTPUT([Makefile |
45 | intl/Makefile po/Makefile.in | |
46 | src/Makefile doc/Makefile m4/Makefile]) |