]> git.saurik.com Git - bison.git/blame - configure.in
Use prototypes if the compiler understands them.
[bison.git] / configure.in
CommitLineData
7c4399ed
NF
1dnl Process this file with autoconf to produce a configure script.
2AC_INIT(reduce.c)
d2729d44 3AM_INIT_AUTOMAKE(bison,1.26)
ab137502 4AM_CONFIG_HEADER(config.h:config.hin)
f2939cd6
DM
5
6dnl Checks for programs.
7c4399ed 7AC_PROG_CC
d2729d44
JT
8AC_MINIX
9AC_ISC_POSIX
10AM_PROG_CC_STDC
7c4399ed 11AC_PROG_INSTALL
ab137502 12AC_PROG_RANLIB
f2939cd6 13
d2729d44 14dnl Checks for libraries.
f2939cd6
DM
15
16dnl Checks for header files.
17AC_HEADER_STDC
d2729d44
JT
18AC_CHECK_HEADERS(ctype.h locale.h memory.h stdlib.h string.h unistd.h)
19
20dnl Checks for typedefs.
21
22dnl Checks for structures.
f2939cd6 23
d2729d44 24dnl Checks for compiler characteristics.
f2939cd6 25AC_C_CONST
d2729d44 26AM_C_PROTOTYPES
f2939cd6
DM
27
28dnl Checks for library functions.
29AC_FUNC_ALLOCA
d2729d44 30AC_CHECK_FUNCS(setlocale)
f2939cd6 31
bd2a2393 32AC_OUTPUT(Makefile)