]>
Commit | Line | Data |
---|---|---|
7c4399ed NF |
1 | dnl Process this file with autoconf to produce a configure script. |
2 | AC_INIT(reduce.c) | |
e7ae9cfb | 3 | AM_INIT_AUTOMAKE(bison,1.27) |
ab137502 | 4 | AM_CONFIG_HEADER(config.h:config.hin) |
8d57fff0 | 5 | AC_PREREQ(2.13) |
f2939cd6 DM |
6 | |
7 | dnl Checks for programs. | |
7c4399ed | 8 | AC_PROG_CC |
d2729d44 JT |
9 | AC_MINIX |
10 | AC_ISC_POSIX | |
11 | AM_PROG_CC_STDC | |
7c4399ed | 12 | AC_PROG_INSTALL |
ab137502 | 13 | AC_PROG_RANLIB |
f2939cd6 | 14 | |
d2729d44 | 15 | dnl Checks for libraries. |
f2939cd6 DM |
16 | |
17 | dnl Checks for header files. | |
18 | AC_HEADER_STDC | |
d2729d44 JT |
19 | AC_CHECK_HEADERS(ctype.h locale.h memory.h stdlib.h string.h unistd.h) |
20 | ||
21 | dnl Checks for typedefs. | |
22 | ||
23 | dnl Checks for structures. | |
f2939cd6 | 24 | |
d2729d44 | 25 | dnl Checks for compiler characteristics. |
f2939cd6 | 26 | AC_C_CONST |
d2729d44 | 27 | AM_C_PROTOTYPES |
f2939cd6 DM |
28 | |
29 | dnl Checks for library functions. | |
30 | AC_FUNC_ALLOCA | |
8d57fff0 | 31 | AC_CHECK_FUNCS(mkstemp setlocale) |
f2939cd6 | 32 | |
9eceb6c6 JT |
33 | PFILE="${datadir}/bison.simple" |
34 | BISON_DEFINE_FILE(XPFILE, PFILE) | |
35 | PFILE1="${datadir}/bison.hairy" | |
36 | BISON_DEFINE_FILE(XPFILE1, PFILE1) | |
37 | ||
bd2a2393 | 38 | AC_OUTPUT(Makefile) |