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