]> git.saurik.com Git - bison.git/blob - configure.in
Defined locations of parser files in config.h instead of Makefile.
[bison.git] / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(reduce.c)
3 AM_INIT_AUTOMAKE(bison,1.26)
4 AM_CONFIG_HEADER(config.h:config.hin)
5 AC_PREREQ(2.13)
6
7 dnl Checks for programs.
8 AC_PROG_CC
9 AC_MINIX
10 AC_ISC_POSIX
11 AM_PROG_CC_STDC
12 AC_PROG_INSTALL
13 AC_PROG_RANLIB
14
15 dnl Checks for libraries.
16
17 dnl Checks for header files.
18 AC_HEADER_STDC
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.
24
25 dnl Checks for compiler characteristics.
26 AC_C_CONST
27 AM_C_PROTOTYPES
28
29 dnl Checks for library functions.
30 AC_FUNC_ALLOCA
31 AC_CHECK_FUNCS(mkstemp setlocale)
32
33 PFILE="${datadir}/bison.simple"
34 BISON_DEFINE_FILE(XPFILE, PFILE)
35 PFILE1="${datadir}/bison.hairy"
36 BISON_DEFINE_FILE(XPFILE1, PFILE1)
37
38 AC_OUTPUT(Makefile)