]> git.saurik.com Git - bison.git/blame - configure.in
# Added `ChangeLog'.
[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 6
bbcb769c
JT
7ALL_LINGUAS="de es fr nl"
8
f2939cd6 9dnl Checks for programs.
7c4399ed 10AC_PROG_CC
d2729d44
JT
11AC_MINIX
12AC_ISC_POSIX
13AM_PROG_CC_STDC
7c4399ed 14AC_PROG_INSTALL
ab137502 15AC_PROG_RANLIB
f2939cd6 16
d2729d44 17dnl Checks for libraries.
f2939cd6
DM
18
19dnl Checks for header files.
20AC_HEADER_STDC
d2729d44
JT
21AC_CHECK_HEADERS(ctype.h locale.h memory.h stdlib.h string.h unistd.h)
22
23dnl Checks for typedefs.
24
25dnl Checks for structures.
f2939cd6 26
d2729d44 27dnl Checks for compiler characteristics.
f2939cd6 28AC_C_CONST
d2729d44 29AM_C_PROTOTYPES
f2939cd6
DM
30
31dnl Checks for library functions.
32AC_FUNC_ALLOCA
8d57fff0 33AC_CHECK_FUNCS(mkstemp setlocale)
f9b730cd 34BISON_NEED_DECLARATIONS(calloc realloc)
f2939cd6 35
bbcb769c
JT
36AM_GNU_GETTEXT
37
38# This is necessary so that .o files in LIBOBJS are also built via
39# the ANSI2KNR-filtering rules.
40LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
41
9eceb6c6
JT
42PFILE="${datadir}/bison.simple"
43BISON_DEFINE_FILE(XPFILE, PFILE)
44PFILE1="${datadir}/bison.hairy"
45BISON_DEFINE_FILE(XPFILE1, PFILE1)
46
bbcb769c 47AC_OUTPUT(Makefile intl/Makefile po/Makefile.in)