]> git.saurik.com Git - bison.git/blame - configure.in
* src/bison.s1 [!YYDEBUG]: Define yydebug to 0. This allows to
[bison.git] / configure.in
CommitLineData
7c4399ed 1dnl Process this file with autoconf to produce a configure script.
8c44d3ec 2AC_PREREQ(2.13)
3114db31 3AC_INIT(src/reduce.c)
8c44d3ec 4AM_INIT_AUTOMAKE(bison, 1.28a)
ab137502 5AM_CONFIG_HEADER(config.h:config.hin)
8c44d3ec
AD
6AC_DEFINE_UNQUOTED(VERSION_STRING, "GNU Bison version ${VERSION}",
7 [The version string.])
f2939cd6 8
bb99b87e 9ALL_LINGUAS="de es fr nl ru"
bbcb769c 10
f2939cd6 11dnl Checks for programs.
7c4399ed 12AC_PROG_CC
d2729d44
JT
13AC_MINIX
14AC_ISC_POSIX
15AM_PROG_CC_STDC
7c4399ed 16AC_PROG_INSTALL
ab137502 17AC_PROG_RANLIB
f2939cd6 18
d2729d44 19dnl Checks for libraries.
f2939cd6
DM
20
21dnl Checks for header files.
22AC_HEADER_STDC
d2729d44
JT
23AC_CHECK_HEADERS(ctype.h locale.h memory.h stdlib.h string.h unistd.h)
24
25dnl Checks for typedefs.
26
27dnl Checks for structures.
f2939cd6 28
d2729d44 29dnl Checks for compiler characteristics.
f2939cd6 30AC_C_CONST
d2729d44 31AM_C_PROTOTYPES
f2939cd6
DM
32
33dnl Checks for library functions.
34AC_FUNC_ALLOCA
8d57fff0 35AC_CHECK_FUNCS(mkstemp setlocale)
f9b730cd 36BISON_NEED_DECLARATIONS(calloc realloc)
f2939cd6 37
bbcb769c
JT
38AM_GNU_GETTEXT
39
40# This is necessary so that .o files in LIBOBJS are also built via
41# the ANSI2KNR-filtering rules.
42LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
43
8c44d3ec
AD
44AC_OUTPUT([Makefile
45 intl/Makefile po/Makefile.in
46 src/Makefile doc/Makefile m4/Makefile])