dnl Process this file with autoconf to produce a configure script.
-AC_INIT(reduce.c)
-AM_INIT_AUTOMAKE(bison,1.27)
-AM_CONFIG_HEADER(config.h:config.hin)
AC_PREREQ(2.13)
+AC_INIT(src/reduce.c)
+AM_INIT_AUTOMAKE(bison, 1.28a)
+AM_CONFIG_HEADER(config.h:config.hin)
+AC_DEFINE_UNQUOTED(VERSION_STRING, "GNU Bison version ${VERSION}",
+ [The version string.])
-ALL_LINGUAS="de es fr nl"
+ALL_LINGUAS="de es fr nl ru"
dnl Checks for programs.
AC_PROG_CC
dnl Checks for library functions.
AC_FUNC_ALLOCA
AC_CHECK_FUNCS(mkstemp setlocale)
+BISON_NEED_DECLARATIONS(calloc realloc)
AM_GNU_GETTEXT
# the ANSI2KNR-filtering rules.
LIBOBJS=`echo $LIBOBJS|sed 's/\.o /\$U.o /g;s/\.o$/\$U.o/'`
-PFILE="${datadir}/bison.simple"
-BISON_DEFINE_FILE(XPFILE, PFILE)
-PFILE1="${datadir}/bison.hairy"
-BISON_DEFINE_FILE(XPFILE1, PFILE1)
-
-AC_OUTPUT(Makefile intl/Makefile po/Makefile.in)
+AC_OUTPUT([Makefile
+ intl/Makefile po/Makefile.in
+ src/Makefile doc/Makefile m4/Makefile])